AUTOSAR TPS DiagnosticExtractTemplate
AUTOSAR TPS DiagnosticExtractTemplate
Disclaimer
This work (specification and/or software implementation) and the material contained in
it, as released by AUTOSAR, is for the purpose of information only. AUTOSAR and the
companies that have contributed to it shall not be liable for any use of the work.
The material contained in this work is protected by copyright and other types of intel-
lectual property rights. The commercial exploitation of the material contained in this
work requires a license to such intellectual property rights.
This work may be utilized or reproduced without any modification, in any form or by
any means, for informational purposes only. For any other purpose, no part of the work
may be utilized or reproduced, in any form or by any means, without permission in
writing from the publisher.
The work has been developed for automotive applications only. It has neither been
developed, nor tested for non-automotive applications.
The word AUTOSAR and the AUTOSAR logo are registered trademarks.
Table of Contents
1 Introduction 9
1.1 Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
1.1.1 OEM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
1.1.2 Application Developer . . . . . . . . . . . . . . . . . . . . . . 11
1.1.3 ECU-Supplier . . . . . . . . . . . . . . . . . . . . . . . . . . 11
1.1.4 Exchanging of Files . . . . . . . . . . . . . . . . . . . . . . . 12
1.1.5 Relationship to software-component Service Needs . . . . . 13
1.1.6 Recommendation and Hints . . . . . . . . . . . . . . . . . . 14
1.1.7 Limitations . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
1.2 Scope . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
1.3 Abbreviations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
1.4 Document Conventions . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
1.5 Requirements Tracing . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
2 Use Cases 25
2.1 Use cases for diagnostic data exchange . . . . . . . . . . . . . . . . . 25
2.2 Configuration of DCM . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
2.3 Configuration of DEM . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
2.4 Configuration of the Fim . . . . . . . . . . . . . . . . . . . . . . . . . . 28
2.4.1 Model Function Inhibition . . . . . . . . . . . . . . . . . . . . 28
2.4.2 Model Fim configuration before Dem exists . . . . . . . . . . 29
2.5 Configuration of J1939 Diagnostics . . . . . . . . . . . . . . . . . . . . 30
2.5.1 Modeling of J1939 Diagnostic Aspects independent of the
Deployment . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
2.5.2 J1939 Diagnostic Content modeled in the Diagnostic Extract 30
3 Conceptual Background 31
3.1 Definition of relevant Diagnostic Elements . . . . . . . . . . . . . . . . 31
3.2 Abstraction from EcuC Level . . . . . . . . . . . . . . . . . . . . . . . . 31
3.3 Independence of Definition . . . . . . . . . . . . . . . . . . . . . . . . . 32
3.3.1 Use of atpSplitable enabling separation of elements
over several physical files . . . . . . . . . . . . . . . . . . . . 32
3.3.2 Use of self-contained mapping elements . . . . . . . . . . . 32
4 Common Meta Model Elements 33
4.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
4.2 Data Identifier vs. Routine vs. Data Element . . . . . . . . . . . . . . . 33
4.2.1 Usage of SwDataDefProps . . . . . . . . . . . . . . . . . . . 40
4.2.2 Definition of Arrays . . . . . . . . . . . . . . . . . . . . . . . . 46
4.2.3 Definition of textual Strings . . . . . . . . . . . . . . . . . . . 47
4.3 Textual Documentation . . . . . . . . . . . . . . . . . . . . . . . . . . . 47
4.4 Diagnostic Contribution . . . . . . . . . . . . . . . . . . . . . . . . . . . 51
4.5 Diagnostic Protocol . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55
4.6 Diagnostic Common Properties . . . . . . . . . . . . . . . . . . . . . . 61
5 Diagnostic Services 67
5.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67
5.2 Service Instance vs. Service Class . . . . . . . . . . . . . . . . . . . . 67
5.3 Access Permission, Session, Security Level . . . . . . . . . . . . . . . 70
5.3.1 Introduction to Access Permission . . . . . . . . . . . . . . . 70
5.3.2 Prioritization of Access Permission . . . . . . . . . . . . . . . 76
5.4 Environmental Conditions for the Execution of Diagnostic Services . . 78
5.4.1 Environmental Condition Formula . . . . . . . . . . . . . . . 80
5.4.2 Atomic Conditions . . . . . . . . . . . . . . . . . . . . . . . . 82
5.4.2.1 Data Condition . . . . . . . . . . . . . . . . . . . . . 83
5.4.2.2 Mode Condition . . . . . . . . . . . . . . . . . . . . . 83
5.5 Diagnostic Services supported by AUTOSAR . . . . . . . . . . . . . . 87
5.5.1 DataByIdentifier . . . . . . . . . . . . . . . . . . . . . . . . . 88
5.5.2 IOControl . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 93
5.5.3 EcuReset . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 95
5.5.4 ClearDiagnosticInformation . . . . . . . . . . . . . . . . . . . 98
5.5.5 Memory Services . . . . . . . . . . . . . . . . . . . . . . . . 100
5.5.6 CommunicationControl . . . . . . . . . . . . . . . . . . . . . 112
5.5.7 DynamicallyDefineDataIdentifier . . . . . . . . . . . . . . . . 117
5.5.8 ReadDataByPeriodicIdentifier . . . . . . . . . . . . . . . . . . 120
5.5.9 ControlDTCSetting . . . . . . . . . . . . . . . . . . . . . . . . 123
5.5.10 ResponseOnEvent . . . . . . . . . . . . . . . . . . . . . . . . 125
5.5.11 ReadDTCInformation . . . . . . . . . . . . . . . . . . . . . . 129
5.5.12 RoutineControl . . . . . . . . . . . . . . . . . . . . . . . . . . 132
5.5.13 SecurityAccess . . . . . . . . . . . . . . . . . . . . . . . . . . 138
5.5.14 SessionControl . . . . . . . . . . . . . . . . . . . . . . . . . . 140
5.5.15 RequestFileTransfer . . . . . . . . . . . . . . . . . . . . . . . 142
5.6 OBD Diagnostic Services supported by AUTOSAR . . . . . . . . . . . 143
5.6.1 OBD Mode 0x01 (RequestCurrentPowertrainDiagnosticData) 146
5.6.2 OBD Mode 0x02 (RequestPowertrainFreezeFrameData) . . 148
5.6.3 OBD Mode 0x03 / 0x07 (RequestEmissionRelatedDiagnos-
ticTroubleCodes) . . . . . . . . . . . . . . . . . . . . . . . . . 150
5.6.4 OBD Mode 0x04 (ClearResetEmissionRelatedDiagnosticIn-
formation) . . . . . . . . . . . . . . . . . . . . . . . . . . . . 152
5.6.5 OBD Mode 0x06 (RequestOnBoardMonitoringTestResults) . 153
5.6.6 OBD Mode 0x08 (RequestControlOfOnBoardDevice) . . . . 155
5.6.7 OBD Mode 0x09 (RequestVehicleInformation) . . . . . . . . 157
5.6.8 OBD Mode 0x0A (RequestEmissionRelatedDiagnosticTrou-
bleCodesPermanentStatus) . . . . . . . . . . . . . . . . . . . 160
5.7 UDS Diagnostic Services for supporting WWH-OBD . . . . . . . . . . 162
5.8 Diagnostic Service Mapping . . . . . . . . . . . . . . . . . . . . . . . . 164
5.8.1 Diagnostic Service Data Mapping . . . . . . . . . . . . . . . 168
5.8.2 Diagnostic Service Software Mapping . . . . . . . . . . . . . 172
6 Diagnostic Event Handling 176
6.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 176
Bibliography
[1] Specification of RTE Software
AUTOSAR_SWS_RTE
[2] Layered Software Architecture
AUTOSAR_EXP_LayeredSoftwareArchitecture
[3] Specification of ECU Configuration
AUTOSAR_TPS_ECUConfiguration
[4] ASAM MCD 2D ODX
http://www.asam.net
ASAM MCD-2D ODX v2.2.0.pdf
[5] XML Schema Production Rules
AUTOSAR_TPS_XMLSchemaProductionRules
[6] System Template
AUTOSAR_TPS_SystemTemplate
[7] Specification of ECU Configuration Parameters (XML)
AUTOSAR_MOD_ECUConfigurationParameters
[8] Software Component Template
AUTOSAR_TPS_SoftwareComponentTemplate
[9] Basic Software Module Description Template
AUTOSAR_TPS_BSWModuleDescriptionTemplate
[10] Specification of Diagnostic Communication Manager
AUTOSAR_SWS_DiagnosticCommunicationManager
[11] Specification of Diagnostic Event Manager
AUTOSAR_SWS_DiagnosticEventManager
[12] Standardization Template
AUTOSAR_TPS_StandardizationTemplate
[13] Requirements on Diagnostic Extract Template
AUTOSAR_RS_DiagnosticExtractTemplate
[14] Specification of Function Inhibition Manager
AUTOSAR_SWS_FunctionInhibitionManager
[15] SAE J1939 Top Level Document
[16] Unified diagnostic services (UDS) – Part 1: Specification and requirements (Re-
lease 2006-12)
http://www.iso.org
[17] Road vehicles – End-of-life activation of on-board pyrotechnic devices – Part 2:
Communication requirements
http://www.iso.org
[18] Road vehicles – Communication between vehicle and external equipment for
emission-related diagnostic – Part 5: Emission-related diagnostic services.
http://www.iso.org
[19] Road vehicles – Implementation of World-Wide Harmonized On-Board Diagnos-
tics (WWH-OBD) communication requirements – Part 3: Common message dic-
tionary
http://www.iso.org
[20] SAE J1939-73 Application Layer – Diagnostics
[21] Software Process Engineering Meta-Model Specification
http://www.omg.org/spec/SPEM/2.0/
[22] Generic Structure Template
AUTOSAR_TPS_GenericStructureTemplate
1 Introduction
1.1 Overview
The distributed nature of an AUTOSAR ECU development requires an optimized cap-
turing of information. In particular, diagnostic information (i.e. DEM and DCM configu-
ration) shall be captured only once by the person with the best knowledge and therefore
being able to take responsibility better than one centralized individual.
In the configuration approach before the advent of the DiagnosticExtract, the
Basic Software Modules DCM and DEM are entirely configured centrally. During in-
tegration, all SW-Cs above the RTE [1] (Application Software) introduce ports to be
connected to the BSW modules [2]. Additionally, SW-Cs express needs which shall be
fulfilled by the BSW.
The market shows a high demand for transferring diagnostic demands of the OEM-
specific configuration process to their tier-1 suppliers.
In the past, due to the absence of integral options, many different file formats like ODX
or EcuC [3] are often used. But neither ODX nor EcuC is well suited to transfer this
information.
For example, ODX [4] lacks in fault memory details and EcuC (which was never de-
signed for becoming the vehicle for data exchange between different organizations)
has a very generic nature that renders the enforcement of a strict model formalization
very difficult.
On top of that, the integration of EcuC definitions into an existing configuration (espe-
cially the PDUs) cannot be fully automated.
Therefore, the obvious solution approach has been to define a new standardized
AUTOSAR exchange format on diagnostic functionality that can be used similar to a
System Description, formalized as an ARXML [5] file.
In this spirit, the configuration of diagnostic functionality becomes similar to the config-
uration of the communication part within the System Description [6].
ECU-Implementation
Collecting
and merging
Use Case 2: Supplier as collector for diagnostic requirements by
Supplier
OEM
SW-Cs specific
Diagnostic
SW-Cs Extract process
Diagnostic (partially filled)
Diagnostic
Contribution (.arxml)
Contribution
(.arxml)
(.arxml)
Please note:
Figure 1.1: Scope of this document in the ECU Development work-flow
The feedback paths (e.g. from OEM to Application Developer) are not depicted here because they are usually realized company or project specific.
- AUTOSAR Confidential -
Figure
1 1.12013-1107
shows the configuration Decentralized
process of diagnostics for two generalized use
Configuration
1.1.1 OEM
The OEM or requester of diagnostic data uses the DiagnosticExtract to define the
diagnostic interfaces of one or multiple ECUs. It may also define some InternalBe-
haviors as requirements for the ECU-Supplier or Application Developer
• Defines the values of the DTCs
• Defines the UDS services and sub-services supported by the ECUs
• Defines the required events needed by a specific composition implemented by an
Application Developer
NOTE: This list represents an example; this document does not define a specific own-
ership of each element.
In the first use case, the DiagnosticExtract is used to exchange information which
is transformed into the EcuC configuration (M2 to M1 mapping, see also [3] and [7]).
Second, the OEM uses the DiagnosticExtract to document requirements to be
implemented by a supplier. These requirements are expressed in textual language
and can not be mapped directly to any EcuC configuration parameters (no M2 to M1
mapping possible).
1.1.3 ECU-Supplier
During an ECU development project, the three main roles (OEM, Application Devel-
oper, ECU Integrator) exchange DiagnosticExtract files. The timing and fre-
quency of exchanges and the content in each of these exchanged files is highly de-
pendent on the individual project setup and situation.
Therefore, the DiagnosticExtract format has been designed to allow for gradual
enrichment of definitions contributed at largely arbitrary points in time by the different
roles in order to meet the needs of “Decentralized Configuration”.
For any exchange path between any two roles, the same file format based on the
DiagnosticExtract template is used. It is then up to a company specific process
and tooling to merge the collected DiagnosticExtract files while resolving conflicts
(contradictions, redundancies etc.).
Figure 1.2: Exchange of diagnostic configuration between OEM, Tier-1, and Tier-2
Even after the DiagnosticExtract has been fully integrated and is ready to go for
deriving the configuration of the diagnostic stack on EcuC level it is still foreseen to
feed it back to e.g. an OEM.
In this case the OEM has the ability to review the configuration of the diagnostic stack
on the level of the diagnostic extract.
At some point, this information may also be taken to (directly or via indirection of other
formats) create a configuration of a diagnostic client.
Before the introduction of the Diagnostic Extract, Service Needs were used to describe
diagnostic requirements on software-component level. These configuration require-
ments are referenced to the related BSW module DCM or DEM in order to provide the
corresponding configuration on BSW level.
The usage of Service Needs is only possible on Atomic software-component level
whereas the assignment of diagnostic demands must be possible on Composition level.
The software-component Service Needs within the software-component
Description are still to be used along with the DiagnosticExtract in order to
annotate the software-component ports which are relevant for further mapping and
handling as defined by the DiagnosticExtract.
From software-component Developer’s perspective, the DiagnosticExtract is
therefore used partially as substitution and partially as extension of the software-
Multiple parties may have different understanding of which parts shall be provided by
each one. There is no defined rule to indicate who is responsible for each part. At the
end, it is the ECU-Supplier in his role as integrator who has to ensure that all mappings
are done and that the ECU runs as expected by the OEM.
In case the OEM does not have his own diagnostic requirements, the ECU-Supplier
has to provide the complete DiagnosticExtract. In this case, the OEM may only
receive the DiagnosticExtract as part of the delivery. The process itself how the
parties work with this format is not defined within this specification.
Figure 1.1 shows a recommended way how to handle the DiagnosticExtract be-
tween the different parties. In use case 1, some software-components are imple-
mented by the OEM (or by a Supplier of the OEM) and the first merging of Diag-
nosticExtract data occurs at the OEM.
In use case 2, the OEM provides the diagnostic requirements via DiagnosticEx-
tract and multiple Application Developerprovide information related to their imple-
mentation, the merging is performed completely by the ECU-Supplier.
Also a combination of use cases 1 and 2 is allowed. Also the ECU-Supplier may
implement some part of the SW inclusive their corresponding DiagnosticExtract.
1.1.7 Limitations
1.2 Scope
This document describes the formal description of contributions to the diagnostic con-
figuration.
On the level of meta-modeling, the content described in this document conceptually re-
lates to the definition of SwcServiceDependency resp. BswServiceDependency,
as defined by the Software Component Template [8] resp. Basic Software
ModuleDescription Template [9].
Further relations exist to the specification of communication in AUTOSAR systems as
described by the System Template [6].
Further relations exist to the specification of the Diagnostic Communication
Manager [10] as well as to the Diagnostic Event Manager [11].
The relation of the DiagnosticExtract to the rest of the AUTOSAR meta-model is
sketched in Figure 1.3.
SWComponentTemplate EcuResourceTemplate
AdaptivePlatform
SystemTemplate
DiagnosticExtract
ECUCDescriptionTemplate
ECUCParameterDefTemplate
BswModuleTemplate
Figure 1.3: The relation of the DiagnosticExtract to the rest of the AUTOSAR meta-
model
1.3 Abbreviations
The following table contains a list of abbreviations used in the scope of this document
along with the spelled-out meaning of each of the abbreviations.
Abbreviation meaning
API Application Programming Interface
BSW Basic Software
BswM Basic Software Manager
CAN Controller Area Network
CSE Codes for Scaling Units
DEM Diagnostics Communication Manager
DCY Driving Cycle
DEM Diagnostics Event Manager
Abbreviation meaning
DID Diagnostic Identifier
DTC Diagnostic Trouble Code
DTR Diagnostic Test Result
DoIP Diagnostics over IP
ECU Electrical Control Unit
ECUC ECU Configuration
FID Function Identifier
FIM Function Inhibition Manager
GID Group Identifier
ID Identifier
IO Input/Output
IP Internet Protocol
IUMPR In-Use Monitor Performance Ratio
ISO International Organization for Standardization
LIN Local Interconnect Network
NRC Negative Response Code
OBD On-Board Diagnostic
ODX Open Diagnostic Data Exchange
OEM Original Equipment Manufacturer
PDU Protocol Data Unit
PID Parameter Identifier
PTO Power Take Off
RA Routing Activation
RAM Random Access Memory
RID Routine Identifier
ROE Response on Event
ROM Read-Only Memory
RTE Run-TIme Environment
RS Requirements Specification
RX Receive
SPN Suspect Parameter Number
SW Software
SWC Software Component
SWCD Software Component Description
TID Test Identifier
TPS Template Specification
TX Transmit
SWS Software Specification
UDS Unified Diagnostic Services
UML Unified Modeling Language
VFB Virtual Functional Bus
VIN Vehicle Identification Number
WWH-OBD World-Wide Harmonized On-Board Diagnostics
Abbreviation meaning
XML Extensible Markup Language
XSD XML Schema Definition
Table 1.1: Abbreviations used in the scope of this Document
Class AUTOSAR
Package M2::AUTOSARTemplates::AutosarTopLevelStructure
Note Root element of an AUTOSAR description, also the root element in corresponding
XML documents.
Tags: xml.globalElement=true
Base ARObject
Attribute Type Mul. Kind Note
adminData AdminData 0..1 aggr This represents the administrative data of an
Autosar file.
Tags: xml.sequenceOffset=10
arPackage ARPackage * aggr This is the top level package in an AUTOSAR
model.
Tags: xml.sequenceOffset=20
2 Use Cases
Composition Composition
1 2
RTE
DCM
Composition Composition
1 2
RTE
DTC 1
DTC 2
DEM
The configuration of the DEM includes fault memory data (DTCs and environmental
data) and the assignment of corresponding data by one or more SwComponentTypes
(e.g. Composition 1, Composition 2).
As already explained, the diagnostic development process is distributed among differ-
ent parties. On the one hand side, the OEM needs to describe the general require-
ments for a diagnostic system that have to be implemented by an ECU:
1. Depending on the diagnostic system, the OEM can provide a completely or partly-
filled DiagnosticExtract including the description of PortInterfaces:
• Integrator/SWC developer (OEM or Tier 1) is responsible for the completion
(detailing of predefined diagnostic content).
• Integrator/SWC developer (OEM or Tier 1) is responsible for the specific
configuration of diagnostic content defined by himself).
• New integration of updated Diagnostic descriptions by integrator.
2. Return of completely or partly-filled DiagnosticExtract to OEM for:
• Documentation
• ECU testing
• Integration reviews
• Failure correction
Use case examples:
• Configuration of UDS service 0x22 (ReadDataByIdentifier)
• Configuration of UDS service 0x2E (WriteDataByIdentifier)
• Configuration of UDS service 0x31 (RoutineControl)
• Configuration of UDS service 0x2F (I/O-Control)
• Configuration of DEM DTCs
• Configuration of Combined Events
• Mapping of events to DTCs
• Configuration of DTC-related environmental data
• Mapping of DEM Events to their corresponding Enable Conditions and Storage
Conditions
• Configure general DCM parameters
• Description of diagnostic demands that are not relevant for code generation but
have to be exchanged between OEM and Tier1 (e.g. set and reset condition for
a DTC)
Refinement of use cases:
The OEM already provides a System Template for an ECU which describes the ECU
Supplier SW parts as a CompositionSwComponentType where only inputs and out-
puts are known.
1. The OEM creates a DiagnosticExtract which describes the diagnostic in-
terfaces of an ECU. Supported services are described (e.g. RDBI/WDBI/Routine
Control) as well as their corresponding input/output parameters and return values
(those which are optional in UDS standard).
2. SWC Developer at OEM or OEM SW Supplier develops SWC and also describes
the Diagnostic information using ServiceNeeds as diagnostic contribution.
3. The OEM Diagnose Responsible for a Project creates the mappings between the
DiagnosticExtract and the SWC available on OEM side (from 2.).
4. The OEM Diagnostic Responsible for a Project creates the mappings between
the DiagnosticExtract and the CompositionSwComponentTypes which
will be implemented by the ECU Supplier or SW Developer.
5. The ECU Suppliers receives the ECU Extract including DiagnosticExtract
from the OEM and imports it to the project.
6. In the same way is in point 2., the SWC Developer on supplier or Tier 2 side
describes the Diagnostic information using ServiceNeeds as diagnostic contri-
bution.
In the same way as in point 3: The ECU Supplier Diagnostic Responsible creates the
mapping between the PortInterfaces of the DiagnosticExtract (from 5.) and
the SwComponentTypes as provided in 6.
For the usage of indicators, it might happen that indicators defined on BSW level in
DEM might not be automatically mapped to the implementation on SWC level. This
would then require a manual mapping step by the integrator to resolve the mismatch.
«flow» «flow»
«flow» «flow»
Software-component Software-component
developer by OEM or any developer by Tier-1 or
other software supplier Tier-2 supplier
A typical use case for the Fim is the definition of “control mechanisms for software
components and the functionality therein” [14]. By this means, the Fim can significantly
modify the behavior of the application software at run-time, e.g. in response to a sensor
failure.
The conditions for deciding about inhibitions are derived from diagnostic events. If a
diagnostic event that relates to a hardware sensor is reported as “failed” then the Fim
can degrade the behavior of the application software to no longer rely on the sensor
information that has become unreliable.
Consequently, the DiagnosticExtract needs to provide the basic mechanisms to
create the definition of such inhibition rules that relate pieces of the application soft-
ware (which are visible to the DiagnosticExtract as formally defined SwCompo-
nentTypes) to the definition of diagnostic events.
The configuration of the Fim module and the Dem module are closely intertwined be-
cause the Fim uses the diagnostic events defined in the context of the Dem. This
means that the Fim can only be configured if the Dem exists as a basis for creating this
configuration.
Clearly, this is contradicting the approach of a “decentralized configuration” of the di-
agnostics stack’s behavior. It may happen that the configuration of the Fim and the
configuration of the Dem by means of the DiagnosticExtract are distributed over
different organizations within a concrete vehicle project.
However, the organizations would not be able to make progress independently from
each other because the work product of one is the immediate prerequisite that the
other organization can start working.
Therefore one important use case for the DiagnosticExtract is the ability to con-
figure the Fim module in the scope of the DiagnosticExtract without the immedi-
ate need to already have access to the corresponding configuration of the Dem
module.
In other words, a typical work-flow could look like this:
1. Create the Fim configuration on the basis of a collection of alias objects that
represent the diagnostic events that are defined in the context of the Dem module
within the configuration of the Fim and in parallel create the Dem configuration
and thereby add definitions of the actual diagnostic events.
2. Ship the configuration of the Dem to the organization that is responsible for the
creation of the configuration of the Fim.
3. Let this organization take care of resolving the alias diagnostic events by way of
referring from the Fim configuration to the the diagnostic events contained in the
actual Dem configuration.
The main use case for modeling the J1939 in the DiagnosticExtract is the pos-
sibility to create the diagnostic configuration relevant for a J1939 function, even if the
underlying communication architecture is not (fully) defined and if no vehicle model
(represented by a System) exists.
The J1939 diagnostics modeling is done during functional development before the
System exists where the functions are deployed. This approach represents a case
of decentralized configuration of the diagnostic stack.
3 Conceptual Background
Chapter 1 has already given an overview on the intended way of using the Diagnos-
ticExtract template and files. This chapter gives further background information on
the overall concept behind the new format to create a better basis for understanding of
the meta-model described in Chapter 4.
This means that parameter values in the Ecuc are created that could be subject to
constraints, e.g. a valid interval. c()
Therefore, model elements in the DiagnosticExtract shall be carefully checked
against the constraints formulated in EcuC. However, this document does not contain
specific constraints on a detailed basis.
Most elements of the DiagnosticExtract template can be split over several phys-
ical files. Therefore, parts of these elements (e.g. certain attributes) can be defined
by, for example, an OEM and other parts of these elements by, for example, an ECU
supplier.
4.1 Introduction
This chapter contains a description of the meta-model for the specification of the
DiagnosticExtract in AUTOSAR. The goal of the specification of the Diagnos-
ticExtract is to contribute to the description of the configuration of the Diagnostic
Communication Manager [10] (Dcm) and the Diagnostic Event Manager [11]
(Dem)
The meta-model can be roughly divided into five sections
• A common section that contains meta-classes shared between the description of
the diagnostic services (that roughly corresponds to the Dcm) and the diagnostic
event handling (that roughly corresponds to the Dem), see section 4.2.
• A section dedicated to the configuration of the diagnostic services, see section 5.
• A section dedicated to the configuration of the diagnostic event handling, see
section 6.
• A section dedicated to the configuration of the functional inhibition from the diag-
nostics point of view, see section 7.
• A section dedicated to the configuration of the diagnostics on J1939, see sec-
tion 8.
«atpVariation»
SwDataDefProps
DiagnosticCommonElement
DiagnosticSupportInfoByte
DiagnosticAbstractDataIdentifier «atpVariation,atpSplitable»
+ position :PositiveInteger
+ id :PositiveInteger + size :PositiveInteger
DiagnosticCommonElement
DiagnosticDynamicDataIdentifier DiagnosticDataIdentifier DiagnosticParameterSupportInfo
DiagnosticParameterIdentifier
+ didSize :PositiveInteger [0..1] + supportInfoBit :PositiveInteger
+ representsVin :Boolean [0..1] + id :PositiveInteger
+ pidSize :PositiveInteger
+supportInfo 0..1
«atpVariation» Tags: «atpVariation,atpSplitable» «atpSplitable,atpVariation»
vh.latestBindingTime =
postBuild
+dataElement 1..* +dataElement 0..*
DiagnosticParameter
+ bitOffset :PositiveInteger
+response
0..* +request 0..* +response 0..* +response 0..* +request 0..*
DiagnosticCommonElement
DiagnosticRoutine
Class DiagnosticParameter
Package M2::AUTOSARTemplates::DiagnosticExtract::CommonDiagnostics
Note This meta-class represents the ability to describe information relevant for the
execution of a specific diagnostic service, i.e. it can be taken to parameterize the
service.
Base ARObject
Attribute Type Mul. Kind Note
bitOffset PositiveInteger 1 attr This represents the bitOffset of the
DiagnosticParameter
dataEleme DiagnosticData 1 aggr This represents the related dataElement of the
nt Element DiagnosticParameter
Class DiagnosticDataIdentifier
Package M2::AUTOSARTemplates::DiagnosticExtract::CommonDiagnostics
Note This meta-class represents the ability to model a diagnostic data identifier (DID) that
is fully specified regarding the payload at configuration-time.
Tags: atp.recommendedPackage=DiagnosticDataIdentifiers
Base ARElement, ARObject, CollectableElement, DiagnosticAbstractDataIdentifier,
DiagnosticCommonElement, Identifiable, MultilanguageReferrable, Packageable
Element, Referrable
Attribute Type Mul. Kind Note
dataEleme DiagnosticPara 1..* aggr This is the dataElement associated with the
nt meter DiagnosticDataIdentifier.
Class DiagnosticDynamicDataIdentifier
Package M2::AUTOSARTemplates::DiagnosticExtract::CommonDiagnostics
Note This meta-class represents the ability to define a diagnostic data identifier (DID) at
run-time.
Tags: atp.recommendedPackage=DiagnosticDataIdentifiers
Base ARElement, ARObject, CollectableElement, DiagnosticAbstractDataIdentifier,
DiagnosticCommonElement, Identifiable, MultilanguageReferrable, Packageable
Element, Referrable
Attribute Type Mul. Kind Note
– – – – –
Class DiagnosticDataElement
Package M2::AUTOSARTemplates::DiagnosticExtract::CommonDiagnostics
Note This meta-class represents the ability to describe a concrete piece of data to be taken
into account for diagnostic purposes.
Base ARObject, Identifiable, MultilanguageReferrable, Referrable
Attribute Type Mul. Kind Note
arraySizeS ArraySizeSema 0..1 attr This attribute controls the meaning of the value of
emantics nticsEnum the array size.
1
which represents the payload in “regular” bus communication
Variable-Size Array shall only be used for the last argument to the diagnostic routine. c
(RS_DEXT_00034)
[constr_1470] Value of DiagnosticParameter.bitOffset d The value of Diag-
nosticParameter.bitOffset shall only be set to a multiple of 8. c()
Enumeration ArraySizeSemanticsEnum
Package M2::AUTOSARTemplates::CommonStructure::ImplementationDataTypes
Note This type controls how the information about the number of elements in an
ApplicationArrayDataType is to be interpreted.
Literal Description
fixedSize This means that the ApplicationArrayDataType will always have a fixed number of
elements.
Tags: atp.EnumerationValue=0
variableSize This implies that the actual number of elements in the ApplicationArrayDataType
might vary at run-time. The value of arraySize represents the maximum number of
elements in the array.
Tags: atp.EnumerationValue=1
Please note that the definitions of properties like computation methods2 , limits3 , or
units4 of diagnostic data elements is based on shared resources of the AUTOSAR
meta-model, namely by aggregation of meta-class SwDataDefProps.
This meta-class contributes a wealth of possible properties related to the definition of
data in general and, in this case, diagnostics in particular.
However, it is important to understand that SwDataDefProps is so expressive and
versatile that its applicability needs to be constrained (in this specific case, see [con-
str_1325]) for specific deployments according to the requirements that originate from
the semantics of the piece of data that is decorated by SwDataDefProps.
[constr_1325] Allowed attributes of SwDataDefProps for DiagnosticDataEle-
ment.swDataDefProps d The allowed attributes of SwDataDefProps for the aggre-
gation in the role DiagnosticDataElement.swDataDefProps are defined in ta-
ble 4.8. c()
2
formalized as CompuMethod in AUTOSAR
3
formalized as DataConstr in AUTOSAR
4
formalized as Unit in AUTOSAR
Please note that, in comparison to similar tables appearing in other AUTOSAR docu-
ments (e.g. [8]), table 4.8 intentionally goes into more detail regarding the applicability
of the attributes of SwBaseType. This is in contrast to similar tables contained in, e.g.
the specification of the Software-Component Template [8]
The attributes of SwBaseType are considered of paramount importance for the def-
inition of the semantics of the enclosing DiagnosticDataElement and thus the
emphasis is justified.
Note that not all of the attributes or associated elements are useful all of the time.
Hence, the process definition (e.g. expressed with an OCL or a Document Control
Instance MSR-DCI) has the task of implementing limitations.
Tags: vh.latestBindingTime=codeGenerationTime
Base ARObject
Attribute Type Mul. Kind Note
additionalN NativeDeclarati 0..1 attr This attribute is used to declare native qualifiers of
ativeType onString the programming language which can neither be
Qualifier deduced from the baseType (e.g. because the
data object describes a pointer) nor from other
more abstract attributes. Examples are qualifiers
like "volatile", "strict" or "enum" of the C-language.
All such declarations have to be put into one
string.
Tags: xml.sequenceOffset=235
annotation Annotation * aggr This aggregation allows to add annotations (yellow
pads ...) related to the current data object.
Tags: xml.sequenceOffset=50
Tags: xml.sequenceOffset=180
dataConstr DataConstr 0..1 ref Data constraint for this data object.
Tags: xml.sequenceOffset=190
displayFor DisplayFormatS 0..1 attr This property describes how a number is to be
mat tring rendered e.g. in documents or in a measurement
and calibration system.
Tags: xml.sequenceOffset=210
implement Implementation 0..1 ref This association denotes the
ationDataT DataType ImplementationDataType of a data declaration via
ype its aggregated SwDataDefProps. It is used
whenever a data declaration is not directly
referring to a base type. Especially
• redefinition of an ImplementationDataType
via a "typedef" to another
ImplementationDatatype
• the target type of a pointer (see
SwPointerTargetProps), if it does not refer
to a base type directly
• the data type of an array or record element
within an ImplementationDataType, if it
does not refer to a base type directly
• the data type of an SwServiceArg, if it does
not refer to a base type directly
Tags: xml.sequenceOffset=215
invalidValu ValueSpecificati 0..1 aggr Optional value to express invalidity of the actual
e on data element.
Tags: xml.sequenceOffset=255
stepSize Float 0..1 attr This attribute can be used to define a value which
is added to or subtracted from the value of a
DataPrototype when using up/down keys while
calibrating.
swAddrMet SwAddrMethod 0..1 ref Addressing method related to this data object. Via
hod an association to the same SwAddrMethod it can
be specified that several DataPrototypes shall be
located in the same memory without already
specifying the memory section itself.
Tags: xml.sequenceOffset=30
Tags: xml.sequenceOffset=33
swBitRepr SwBitRepresent 0..1 aggr Description of the binary representation in case of
esentation ation a bit variable.
Tags: xml.sequenceOffset=60
swCalibrati SwCalibrationA 0..1 attr Specifies the read or write access by MCD tools
onAccess ccessEnum for this data object.
Tags: xml.sequenceOffset=70
swCalprm SwCalprmAxisS 0..1 aggr This specifies the properties of the axes in case of
AxisSet et a curve or map etc. This is mainly applicable to
calibration parameters.
Tags: xml.sequenceOffset=90
swCompari SwVariableRefP * aggr Variables used for comparison in an MCD
sonVariabl roxy process.
e
Tags: xml.sequenceOffset=170; xml.type
Element=false
swDataDe SwDataDepend 0..1 aggr Describes how the value of the data object has to
pendency ency be calculated from the value of another data
object (by the MCD system).
Tags: xml.sequenceOffset=200
swHostVar SwVariableRefP 0..1 aggr Contains a reference to a variable which serves as
iable roxy a host-variable for a bit variable. Only applicable
to bit objects.
Tags: xml.sequenceOffset=240
swInterpol Identifier 0..1 attr This is a keyword identifying the mathematical
ationMetho method to be applied for interpolation. The
d keyword needs to be related to the interpolation
routine which needs to be invoked.
Tags: xml.sequenceOffset=250
swIsVirtual Boolean 0..1 attr This element distinguishes virtual objects. Virtual
objects do not appear in the memory, their
derivation is much more dependent on other
objects and hence they shall have a
swDataDependency .
Tags: xml.sequenceOffset=260
swPointerT SwPointerTarge 0..1 aggr Specifies that the containing data object is a
argetProps tProps pointer to another data object.
Tags: xml.sequenceOffset=280
swRecordL SwRecordLayo 0..1 ref Record layout for this data object.
ayout ut
Tags: xml.sequenceOffset=290
swRefresh Multidimensiona 0..1 aggr This element specifies the frequency in which the
Timing lTime object involved shall be or is called or calculated.
This timing can be collected from the task in which
write access processes to the variable run. But
this cannot be done by the MCD system.
Tags: xml.sequenceOffset=300
Tags: xml.sequenceOffset=120
swValueBl Numerical 0..1 attr This represents the size of a Value Block
ockSize
Stereotypes: atpVariation
Tags: vh.latestBindingTime=preCompileTime
xml.sequenceOffset=80
unit Unit 0..1 ref Physical unit associated with the semantics of this
data object. This attribute applies if no
compuMethod is specified. If both units (this as
well as via compuMethod) are specified the units
shall be compatible.
Tags: xml.sequenceOffset=350
valueAxisD ApplicationPrimi 0..1 ref The referenced ApplicationPrimitiveDataType
ataType tiveDataType represents the primitive data type of the value axis
within a compound primitive (e.g. curve, map). It
supersedes CompuMethod, Unit, and BaseType.
Tags: xml.sequenceOffset=355
There are several use cases for a DiagnosticDataElement that actually represents
an array of information. In some cases the array size is static and will not change at
run-time, and in some cases the array size needs to change at run-time to fulfill the
intended purpose.
[TPS_DEXT_01001] Definition of a fixed-sized array d A DiagnosticDataEle-
ment shall be interpreted as a fixed-size array if all of the following conditions apply:
1. The attribute DiagnosticDataElement.maxNumberOfElements exists.
2. The value of the attribute DiagnosticDataElement.maxNumberOfElements
is set to a value > 0.
3. The value of DiagnosticDataElement.arraySizeSemantics either does
not exist or is set to ArraySizeSemanticsEnum.fixedSize.
c(RS_DEXT_00034, RS_DEXT_00038)
[TPS_DEXT_01002] Definition of a variable-sized array d A DiagnosticDataEle-
ment shall be interpreted as a variable-size array if all of the following conditions
apply:
1. The attribute DiagnosticDataElement.maxNumberOfElements exists.
Referrable
+ shortName :Identifier
MultilanguageReferrable MultilanguageLongName
+longName
0..1
xml.sequenceOffset:
desc: -60
category: -50
adminData: -40
introduction -30
annotation -25
Identifiable MultiLanguageOverviewParagraph
+desc
+ category :CategoryString [0..1]
+ uuid :String [0..1] 0..1
AdminData
+adminData
+ language :LEnum [0..1]
0..1
«atpMixed»
+introduction DocumentationBlock
0..1
GeneralAnnotation
+annotation Annotation
0..*
The details regarding the specification of textual content that goes along a given di-
agnostics element is detailed in Figure 4.3. In fact, DocumentationBlock provides
a very sophisticated ability to define structured text that may consist e.g. of multiple
paragraphs (formalized by meta-class MultiLanguageOverviewParagraph aggre-
gated in the role p).
In addition to the ability to attach structured text, it is also possible to use the anno-
tation (see Figure 4.2) to add short annotations (comparable to the usage of sticky
notes) to diagnostic elements.
vh.latestBindingtime=PostBuild
«atpMixed» +p Paginateable
DocumentationBlock «atpVariation» 0..1 MultiLanguageParagraph
Paginateable
+verbatim
MultiLanguageVerbatim
«atpVariation» 0..1
+item
+list Paginateable Paginateable
«atpVariation» 1..*
«atpVariation» List Item
0..1
+itemContents
1
+defList +defItem
Paginateable MultilanguageReferrable
«atpVariation» 0..1 «atpVariation» 1..* Paginateable
DefList
+def DefItem
1
+labeledList
Paginateable +labeledItem Paginateable
«atpVariation» 0..1 LabeledList LabeledItem
«atpVariation» 1..*
+itemContents
0..1
Paginateable
+formula
MlFormula
«atpVariation» 0..1
+itemLabel 1
+figure Paginateable
MultiLanguageOverviewParagraph
MlFigure
«atpVariation» 0..1
+note
Paginateable
«atpVariation» 0..1 Note
+noteText
+trace Identifiable
Paginateable
«atpVariation» 0..1 Traceable
+text TraceableText
1
+structuredReq Identifiable
Paginateable
«atpVariation» 0..1 Traceable
StructuredReq
+msrQueryResultP2 MsrQueryP2
0..1
+msrQueryP2
0..1
+entryContents
Entry note that Entry contains DocumentationBlock, but is
1 not part of the same.
Otherwise we would have nested Tables.
Stereotypes: atpVariation
Tags: vh.latestBindingTime=postBuild
xml.sequenceOffset=40
figure MlFigure 0..1 aggr This represents a figure in the documentation
block.
Stereotypes: atpVariation
Tags: vh.latestBindingTime=postBuild
xml.sequenceOffset=70
formula MlFormula 0..1 aggr This is a formula in the definition block.
Stereotypes: atpVariation
Tags: vh.latestBindingTime=postBuild
xml.sequenceOffset=60
labeledList LabeledList 0..1 aggr This represents a labeled list.
Stereotypes: atpVariation
Tags: vh.latestBindingTime=postBuild
xml.sequenceOffset=50
list List 0..1 aggr This represents numbered or unnumbered list.
Stereotypes: atpVariation
Tags: vh.latestBindingTime=postBuild
xml.sequenceOffset=30
msrQuery MsrQueryP2 0..1 aggr This represents automatically contributed contents
P2 provided by an msrquery in the context of
DocumentationBlock.
note Note 0..1 aggr This represents a note in the text flow.
Stereotypes: atpVariation
Tags: vh.latestBindingTime=postBuild
xml.sequenceOffset=80
p MultiLanguageP 0..1 aggr This is one particular paragraph.
aragraph
Stereotypes: atpVariation
Tags: vh.latestBindingTime=postBuild
xml.sequenceOffset=10
structured StructuredReq 0..1 aggr This aggregation supports structured
Req requirements embedded in a documentation block.
Stereotypes: atpVariation
Tags: vh.latestBindingTime=postBuild
xml.sequenceOffset=100
Stereotypes: atpVariation
Tags: vh.latestBindingTime=postBuild
xml.sequenceOffset=90
verbatim MultiLanguageV 0..1 aggr This represents one particular verbatim text.
erbatim
Stereotypes: atpVariation
Tags: vh.latestBindingTime=postBuild
xml.sequenceOffset=20
Class MultiLanguageOverviewParagraph
Package M2::MSR::Documentation::TextModel::MultilanguageData
Note This is the content of a multilingual paragraph in an overview item.
Base ARObject
Attribute Type Mul. Kind Note
l2 LOverviewPara 1..* aggr This represents the text in one particular
graph language.
+diagnosticConnection ARElement
DiagnosticServiceTable
DiagnosticConnection
+ protocolKind :NameToken «atpVariation,atpSplitable» 0..*
«atpVariation» Tags:
vh.latestBindingTime =
postBuild
FibexElement
EcuInstance
+ecuInstance 0..*
«atpSplitable»
ARElement
0..* DiagnosticEcuInstanceProps
«atpVariation,atpSplitable» DiagnosticContributionSet
+ dtcStatusAvailabilityMask :PositiveInteger
+serviceTable + obdSupport :DiagnosticObdSupportEnum
+ sendRespPendOnTransToBoot :Boolean
«atpVariation,atpSplitable»
«atpVariation» Tags:
vh.latestBindingTime = +element 0..*
postBuild ARElement «enumeration»
DiagnosticCommonElement DiagnosticObdSupportEnum
masterEcu
secondaryEcu
primaryEcu
noObdSupport
+serviceInstance 1..*
DiagnosticServiceInstance
Class ARPackage
Package M2::AUTOSARTemplates::GenericStructure::GeneralTemplateClasses::ARPackage
Note AUTOSAR package, allowing to create top level packages to structure the contained
ARElements.
ARPackages are open sets. This means that in a file based description system
multiple files can be used to partially describe the contents of a package.
Stereotypes: atpSplitable
Tags: atp.Splitkey=shortLabel
xml.sequenceOffset=10
Class DiagnosticContributionSet
Package M2::AUTOSARTemplates::DiagnosticExtract::DiagnosticContribution
Note This meta-class represents a root node of a diagnostic extract. It bundles a given set
of diagnostic model elements. The granularity of the DiagonsticContributionSet is
arbitrary in order to support the aspect of decentralized configuration, i.e. different
contributors can come up with an own DiagnosticContributionSet.
Tags: atp.recommendedPackage=DiagnosticContributionSets
Base ARElement, ARObject, CollectableElement, Identifiable, MultilanguageReferrable,
PackageableElement, Referrable
Attribute Type Mul. Kind Note
commonPr DiagnosticCom 0..1 aggr This attribute represents a collection of diagnostic
operties monProps properties that are shared among the entire
DiagnosticContributionSet.
Stereotypes: atpSplitable
Tags: atp.Splitkey=commonProperties
element DiagnosticCom * ref This represents a DiagnosticCommonElement
monElement considered in the context of the
DiagnosticContributionSet
Class DiagnosticProtocol
Package M2::AUTOSARTemplates::DiagnosticExtract::DiagnosticContribution
Note This meta-class represents the ability to define a diagnostic protocol.
Tags: atp.recommendedPackage=DiagnosticProtocols
Base ARElement, ARObject, CollectableElement, DiagnosticCommonElement, Identifiable,
MultilanguageReferrable, PackageableElement, Referrable
Attribute Type Mul. Kind Note
FibexElement
EcuInstance
+ecuInstance 1
DiagnosticCommonElement ARElement
DiagnosticServiceTable +diagnosticConnection DiagnosticConnection
+diagnosticConnection 0..*
«atpVariation» Tags:
vh.latestBindingTime =
postBuild «atpVariation,atpSplitable»
DiagnosticCommonElement
DiagnosticProtocol
+serviceTable
+ priority :PositiveInteger
0..1«atpVariation,atpSplitable» + protocolKind :NameToken
+ sendRespPendOnTransToBoot :Boolean [0..1]
+serviceInstance 1..*
DiagnosticCommonElement
DiagnosticServiceInstance
Class DiagnosticServiceTable
Package M2::AUTOSARTemplates::DiagnosticExtract::DiagnosticContribution
Note This meta-class represents a model of a diagnostic service table, i.e. the UDS
services applicable for a given ECU.
Tags: atp.recommendedPackage=DiagnosticServiceTables
Base ARElement, ARObject, CollectableElement, DiagnosticCommonElement, Identifiable,
MultilanguageReferrable, PackageableElement, Referrable
Attribute Type Mul. Kind Note
Class DiagnosticConnection
Package M2::AUTOSARTemplates::SystemTemplate::DiagnosticConnection
Note DiagnosticConncection that is used to describe the relationship between several TP
connections.
Tags: atp.recommendedPackage=DiagnosticConnections
Base ARElement, ARObject, CollectableElement, Identifiable, MultilanguageReferrable,
PackageableElement, Referrable
Attribute Type Mul. Kind Note
functionalR TpConnectionId * ref Reference to functional request messages.
equest ent
periodicRe PduTriggering * ref Reference to UUDT responses.
sponseUu
dt
physicalRe TpConnectionId 0..1 ref Reference to a physical request message.
quest ent
response TpConnectionId 0..1 ref In the vast majority of cases a response is
ent required. However, there are also cases where
providing the response is not possible and/or not
allowed.
responseO TpConnectionId 0..1 ref Reference to a ROE message.
nEvent ent
+ident +functionalRequest
Referrable ARElement
TpConnection
0..1 TpConnectionIdent 0..* DiagnosticConnection
+response
0..1
FlexrayArTpConnection
+responseOnEvent
+ connectionPrioPdus :Integer [0..1]
0..1
+physicalRequest
J1939TpConnection 0..1
+ broadcast :Boolean
+ bufferRatio :PositiveInteger [0..1]
+ cancellation :Boolean [0..1]
+ dynamicBs :Boolean [0..1]
+ maxBs :PositiveInteger [0..1]
+ maxExpBs :PositiveInteger [0..1]
+ retry :Boolean [0..1]
LinTpConnection
CanTpConnection
+ addressingFormat :CanTpAddressingFormatType
+ cancellation :Boolean [0..1]
+ maxBlockSize :Integer [0..1]
+ paddingActivation :Boolean
+ taType :NetworkTargetAddressType [0..1]
+ timeoutBr :TimeValue [0..1]
+ timeoutBs :TimeValue [0..1]
+ timeoutCr :TimeValue [0..1]
+ timeoutCs :TimeValue [0..1]
FlexrayTpConnection
+ bandwidthLimitation :Boolean
+periodicResponseUudt 0..*
DoIpTpConnection Identifiable
+tpSdu PduTriggering
+doIpSourceAddress 1 +doIpTargetAddress 1
Identifiable
DoIpLogicAddress
+ address :Integer
ARElement
DiagnosticContributionSet
«atpSplitable»
+commonProperties 0..1
«atpVariation»
DiagnosticCommonProps
+ agingRequiresTestedCycle :Boolean
+ clearDtcLimitation :DiagnosticClearDtcLimitationEnum
+ defaultEndianness :ByteOrderEnum
+ dtcStatusAvailabilityMask :PositiveInteger
+ environmentDataCapture :DiagnosticDataCaptureEnum [0..1]
+ eventDisplacementStrategy :DiagnosticEventDisplacementStrategyEnum
+ maxNumberOfEventEntries :PositiveInteger [0..1]
+ maxNumberOfRequestCorrectlyReceivedResponsePending :PositiveInteger
+ memoryEntryStorageTrigger :DiagnosticMemoryEntryStorageTriggerEnum
+ occurrenceCounterProcessing :DiagnosticOccurrenceCounterProcessingEnum
+ resetConfirmedBitOnOverflow :Boolean
+ responseOnAllRequestSids :Boolean
+ responseOnSecondDeclinedRequest :Boolean
+ securityDelayTimeOnBoot :TimeValue
+ statusBitHandlingTestFailedSinceLastClear :DiagnosticStatusBitHandlingTestFailedSinceLastClearEnum
+ statusBitStorageTestFailed :Boolean
+ typeOfDtcSupported :DiagnosticTypeOfDtcSupportedEnum
+ typeOfFreezeFrameRecordNumeration :DiagnosticTypeOfFreezeFrameRecordNumerationEnum
+debounceAlgorithmProps 0..*
Referrable
DiagnosticDebounceAlgorithmProps
+ debounceBehavior :DiagnosticDebounceBehaviorEnum
+ debounceCounterStorage :Boolean [0..1]
«enumeration» «enumeration»
DiagnosticMemoryEntryStorageTriggerEnum DiagnosticEventDisplacementStrategyEnum
confirmed full
fdcThreshold none
pending prioOcc
testFailed
«enumeration» «enumeration»
DiagnosticDataCaptureEnum DiagnosticTypeOfFreezeFrameRecordNumerationEnum
captureSynchronouslyToReporting calculated
captureAsynchronouslyToReporting configured
«enumeration» «enumeration»
DiagnosticTypeOfDtcSupportedEnum DiagnosticStatusBitHandlingTestFailedSinceLastClearEnum
iso11992_4 statusBitNormal
iso14229_1 statusBitAgingAndDisplacement
iso15031_6
saeJ1939_73
saeJ2012_da
«enumeration» «enumeration»
DiagnosticClearDtcLimitationEnum DiagnosticOccurrenceCounterProcessingEnum
allSupportedDtcs testFailedBit
clearAllDtcs confirmedDtcBit
Tags: vh.latestBindingTime=codeGenerationTime
Base ARObject
Attribute Type Mul. Kind Note
agingRequ Boolean 1 attr Defines whether the aging cycle counter is
iresTested processed every aging cycles or else only tested
Cycle aging cycle are considered.
Enumeration DiagnosticMemoryEntryStorageTriggerEnum
Package M2::AUTOSARTemplates::DiagnosticExtract::DiagnosticCommonProps
Note Trigger types to allocate an event memory entry.
Literal Description
Tags: atp.EnumerationValue=0
fdcThreshold Threshold to allocate an event memory entry and to capture the Freeze Frame.
Tags: atp.EnumerationValue=1
pending Status information of UDS DTC status bit 2.
Tags: atp.EnumerationValue=2
testFailed Status information of UDS DTC status bit 0.
Tags: atp.EnumerationValue=3
Enumeration DiagnosticDataCaptureEnum
Package M2::AUTOSARTemplates::DiagnosticExtract::DiagnosticCommonProps
Note Data triggering types
Literal Description
captureAsyn- This represents the intention to capture the environment data asynchronously after
chronouslyTo the actual capture API function terminated.
Reporting
Tags: atp.EnumerationValue=0
captureSyn- This represents the intention to capture the environment data synchronously within
chronouslyTo the capture API function.
Reporting
Tags: atp.EnumerationValue=1
Enumeration DiagnosticTypeOfFreezeFrameRecordNumerationEnum
Package M2::AUTOSARTemplates::DiagnosticExtract::DiagnosticCommonProps
Note FreezeFrame record numeration type
Literal Description
calculated Freeze frame records will be numbered consecutive starting by 1 in their
chronological order.
Tags: atp.EnumerationValue=0
configured Freeze frame records will be numbered based on the given configuration in their
chronological order.
Tags: atp.EnumerationValue=1
Enumeration DiagnosticClearDtcLimitationEnum
Package M2::AUTOSARTemplates::DiagnosticExtract::DiagnosticCommonProps
Note Scope of the DEM_ClearDTC Api.
Literal Description
allSupported DEM_ClearDtc API accepts all supported DTC values.
Dtcs
Tags: atp.EnumerationValue=0
clearAllDtcs DEM_ClearDtc API accepts ClearAllDTCs only.
Tags: atp.EnumerationValue=1
Enumeration DiagnosticEventDisplacementStrategyEnum
Package M2::AUTOSARTemplates::DiagnosticExtract::DiagnosticCommonProps
Note Defines the displacement strategy.
Literal Description
full Event memory entry displacement is enabled, by consideration of priority
active/passive status, and occurrence.
Tags: atp.EnumerationValue=0
none Event memory entry displacement is disabled.
Tags: atp.EnumerationValue=1
prioOcc Event memory entry displacement is enabled, by consideration of priority and
occurrence (but without active/passive status).
Tags: atp.EnumerationValue=2
Enumeration DiagnosticOccurrenceCounterProcessingEnum
Package M2::AUTOSARTemplates::DiagnosticExtract::DiagnosticCommonProps
Note The occurrence counter triggering types.
Literal Description
confirmedDtc The occurrence counter is triggered by the TestFailed bit if the fault confirmation
Bit was successful (ConfirmedDTC bit is set).
Tags: atp.EnumerationValue=0
testFailedBit The occurrence counter is only triggered by the TestFailed bit (and the fault
confirmation is not considered).
Tags: atp.EnumerationValue=1
Enumeration DiagnosticTypeOfDtcSupportedEnum
Package M2::AUTOSARTemplates::DiagnosticExtract::DiagnosticCommonProps
Note Supported Dtc Types
Literal Description
Tags: atp.EnumerationValue=0
iso14229_1 ISO14229-1 DTC format (3 byte format)
Tags: atp.EnumerationValue=1
iso15031_6 ISO15031-6 DTC format (2 byte format)
Tags: atp.EnumerationValue=2
saeJ1939_73 SAEJ1939-73 DTC format
Tags: atp.EnumerationValue=3
saeJ2012_da SAE_J2012-DA_DTCFormat_00 (3 byte format)
Tags: atp.EnumerationValue=4
5 Diagnostic Services
5.1 Introduction
The meta-model for the diagnostic services according to AUTOSAR, to a large degree,
takes over aspects of the description of diagnostic services according to the definition
of Unified Diagnostic Services (UDS) as of ISO 14229 [16].
DiagnosticCommonElement DiagnosticCommonElement
DiagnosticServiceInstance +accessPermission DiagnosticAccessPermission
0..1
+accessPermission 0..1
DiagnosticCommonElement
+serviceClass DiagnosticServiceClass
«enumeration»
DiagnosticAccessPermissionValidityEnum DiagnosticCommonElement
DiagnosticCustomServiceClass
accessPermissionServiceInstance
accessPermissionInstanceOverridesClass + customServiceId :PositiveInteger
accessPermissionServiceClass
Stereotypes: atpAbstract
does not extend beyond the ability to define that attribute DiagnosticCustomSer-
viceClass.customServiceId.
There is no corresponding formalization of a diagnostic service instance that supports
references to e.g. a DiagnosticDataIdentifier. c(RS_DEXT_00047)
Class DiagnosticCustomServiceClass
Package M2::AUTOSARTemplates::DiagnosticExtract::Dcm::DiagnosticService::Common
Service
Note This represents the ability to define a custom diagnostic service class and assign an
ID to it. Further configuration is not foreseen from the point of view of the diagnostic
extract and consequently needs to be done on the level of ECUC.
Tags: atp.recommendedPackage=DiagnosticCustomServiceClasses
Base ARElement, ARObject, CollectableElement, DiagnosticCommonElement, Diagnostic
ServiceClass, Identifiable, MultilanguageReferrable, PackageableElement, Referrable
Attribute Type Mul. Kind Note
customSer PositiveInteger 1 attr This attribute may only be used for the definition of
viceId custom services. The values shall not overlap with
existing standardized service IDs.
DiagnosticCommonElement
DiagnosticEnvironmentalCondition
+environmentalCondition 0..1
DiagnosticCommonElement DiagnosticCommonElement
DiagnosticAccessPermission DiagnosticSession
+diagnosticSession
+ id :PositiveInteger
0..* + jumpToBootLoader :DiagnosticJumpToBootLoaderEnum
+ p2ServerMax :TimeValue
+ p2StarServerMax :TimeValue
+securityLevel 0..*
DiagnosticCommonElement
DiagnosticSecurityLevel
«enumeration»
+ accessDataRecordSize :PositiveInteger [0..1] DiagnosticJumpToBootLoaderEnum
+ keySize :PositiveInteger
+ numFailedSecurityAccess :PositiveInteger noBoot
+ securityDelayTime :TimeValue oemBoot
+ seedSize :PositiveInteger systemSupplierBoot
oemBootRespApp
systemSupplierBootRespApp
Class DiagnosticSecurityLevel
Package M2::AUTOSARTemplates::DiagnosticExtract::Dcm
Note This meta-class represents the ability to define a security level considered for
diagnostic purposes.
Tags: atp.recommendedPackage=DiagnosticSecurityLevels
Base ARElement, ARObject, CollectableElement, DiagnosticCommonElement, Identifiable,
MultilanguageReferrable, PackageableElement, Referrable
Attribute Type Mul. Kind Note
accessDat PositiveInteger 0..1 attr This represents the size of the AccessDataRecord
aRecordSi used in GetSeed. Unit:byte.
ze
keySize PositiveInteger 1 attr This represents the size of the security key. Unit:
byte.
numFailed PositiveInteger 1 attr This represents the number of failed security
SecurityAc accesses after which the delay time is activated.
cess
securityDel TimeValue 1 attr This represents the delay time after a failed
ayTime security access. Unit: second.
seedSize PositiveInteger 1 attr This represents the size of the security seed. Unit:
byte.
To make this approach work it is important to standardize possible values of the at-
tribute category such that the semi-formal semantics of the definition of pre- and
run-conditions is protected by regulation of the AUTOSAR standard.
[TPS_DEXT_01071] Standardized values of DiagnosticAccessPermis-
sion.introduction.structuredReq d The following possible values of Diag-
nosticAccessPermission.introduction.structuredReq are standardized by
AUTOSAR:
• DIAG_ACCESS_PERM_PRE_COND: this value describes the pre-condition of
the corresponding DiagnosticAccessPermission.
• DIAG_ACCESS_PERM_RUN_COND: this value describes the run-condition of
the corresponding DiagnosticAccessPermission.
c(RS_DEXT_00041, RS_DEXT_00045)
Listing 5.1: Example for the definition of pre- and run-conditions for DiagnosticAc-
cessPermission
<DIAGNOSTIC-ACCESS-PERMISSION>
<SHORT-NAME>exampleAccessPermission</SHORT-NAME>
<INTRODUCTION>
<STRUCTURED-REQ>
<SHORT-NAME>precondition</SHORT-NAME>
<CATEGORY>DIAG_ACCESS_PERM_PRE_COND</CATEGORY>
<DESCRIPTION>
<P>
<L-1 L="EN">This is a textual description of a pre-
condition</L-1>
</P>
</DESCRIPTION>
</STRUCTURED-REQ>
<STRUCTURED-REQ>
<SHORT-NAME>runcondition</SHORT-NAME>
<CATEGORY>DIAG_ACCESS_PERM_RUN_COND</CATEGORY>
<DESCRIPTION>
<P>
<L-1 L="EN">This is a textual description of a run-
condition</L-1>
</P>
</DESCRIPTION>
</STRUCTURED-REQ>
</INTRODUCTION>
<DIAGNOSTIC-SESSION-REFS>
<DIAGNOSTIC-SESSION-REF DEST="DIAGNOSTIC-SESSION">/AUTOSAR/
UseCase_230/ExampleSession</DIAGNOSTIC-SESSION-REF>
</DIAGNOSTIC-SESSION-REFS>
<SECURITY-LEVEL-REFS>
<SECURITY-LEVEL-REF DEST="DIAGNOSTIC-SECURITY-LEVEL">/AUTOSAR/
UseCase_230/ExampleSecurityLevel</SECURITY-LEVEL-REF>
</SECURITY-LEVEL-REFS>
</DIAGNOSTIC-ACCESS-PERMISSION>
Class DiagnosticAccessPermission
Package M2::AUTOSARTemplates::DiagnosticExtract::Dcm
Note This represents the specification of whether a given service can be accessed
according to the existence of meta-classes referenced by a particular
DiagnosticAccessPermission.
Tags: atp.recommendedPackage=DiagnosticAccessPermissions
Base ARElement, ARObject, CollectableElement, DiagnosticCommonElement, Identifiable,
MultilanguageReferrable, PackageableElement, Referrable
Attribute Type Mul. Kind Note
diagnostic DiagnosticSessi * ref This represents the associated
Session on DiagnosticSessions
environme DiagnosticEnvir 0..1 ref This represents the environmental conditions
ntalConditi onmentalConditi associated with the access permission.
on on
securityLe DiagnosticSecur * ref This represents the associated
vel ityLevel DiagnosticSecurityLevels
Class DiagnosticSession
Package M2::AUTOSARTemplates::DiagnosticExtract::Dcm
Note This meta-class represents the ability to define a diagnostic session.
Tags: atp.recommendedPackage=DiagnosticSessions
Base ARElement, ARObject, CollectableElement, DiagnosticCommonElement, Identifiable,
MultilanguageReferrable, PackageableElement, Referrable
Attribute Type Mul. Kind Note
id PositiveInteger 1 attr This is the numerical identifier used to identify the
DiagnosticSession in the scope of diagnostic
workflow
jumpToBo DiagnosticJump 1 attr This attribute represents the ability to define
otLoader ToBootLoaderE whether this diagnostic session allows to jump to
num Bootloader (OEM Bootloader or System Supplier
Bootloader).
Enumeration DiagnosticJumpToBootLoaderEnum
Package M2::AUTOSARTemplates::DiagnosticExtract::Dcm
Note This enumeration contains the options for jumping to a boot loader.
Literal Description
noBoot This diagnostic session doesn’t allow to jump to Bootloader.
Tags: atp.EnumerationValue=0
oemBoot This diagnostic session allows to jump to OEM Bootloader. In this case the
bootloader send the final response.
Tags: atp.EnumerationValue=1
oemBoot This diagnostic session allows to jump to OEM Bootloader and application sends
RespApp final response.
Tags: atp.EnumerationValue=3
systemSup- This diagnostic session allows to jump to System Supplier Bootloader. In this case
plierBoot the bootloader send the final response.
Tags: atp.EnumerationValue=2
systemSup- This diagnostic session allows to jump to System Supplier Bootloader and
plierBoot application sends final response.
RespApp
Tags: atp.EnumerationValue=4
Class DiagnosticSecurityLevel
Package M2::AUTOSARTemplates::DiagnosticExtract::Dcm
Note This meta-class represents the ability to define a security level considered for
diagnostic purposes.
Tags: atp.recommendedPackage=DiagnosticSecurityLevels
Base ARElement, ARObject, CollectableElement, DiagnosticCommonElement, Identifiable,
MultilanguageReferrable, PackageableElement, Referrable
Attribute Type Mul. Kind Note
accessDat PositiveInteger 0..1 attr This represents the size of the AccessDataRecord
aRecordSi used in GetSeed. Unit:byte.
ze
keySize PositiveInteger 1 attr This represents the size of the security key. Unit:
byte.
numFailed PositiveInteger 1 attr This represents the number of failed security
SecurityAc accesses after which the delay time is activated.
cess
securityDel TimeValue 1 attr This represents the delay time after a failed
ayTime security access. Unit: second.
seedSize PositiveInteger 1 attr This represents the size of the security seed. Unit:
byte.
The definition of access permission itself can be done on different levels. It is therefore
necessary to define how the existence of access permission on these different levels
is supposed to be interpreted.
[TPS_DEXT_01061] Supported scenarios for the definition of access permission
d The following scenarios are possible for the definition of access permission:
• The access permission is defined on the level of a DiagnosticServiceClass.
In this scenario, the intended semantics is that this configuration is binding for
all DiagnosticServiceInstances derived from the DiagnosticService-
Class.
The configuration of a DiagnosticServiceInstance.accessPermission is
considered as an error and shall be reported accordingly.
This scenario applies if DiagnosticServiceClass.accessPermissionVa-
lidity is set to the value accessPermissionServiceClass.
• The access permission is defined on the level of an individual DiagnosticSer-
viceInstance. In this scenario, the intended semantics is that the Diagnos-
ticServiceClass shall not make any assumptions about the definition of
the applicable access permission.
Enumeration DiagnosticAccessPermissionValidityEnum
Package M2::AUTOSARTemplates::DiagnosticExtract::Dcm::DiagnosticService::Common
Service
Note This meta-class provides settings for how the accessPermission shall be resolved
between DiagnosticServiceInstance and DiagnosticServiceClass.
Literal Description
accessPer- This means that accessPermission set at the DiagnosticServiceInstance will
mission override the accessPermission defined at the DiagnosticServiceClass.
Instance
Overrides Tags: atp.EnumerationValue=1
Class
accessPer- This means that the DiagnosticServiceClass is in charge to define the
mission accessPermission.
ServiceClass
Tags: atp.EnumerationValue=2
1 +modeElement
DiagnosticEnvConditionFormulaPart
DiagnosticEnvCompareCondition
+ compareType :DiagnosticCompareTypeEnum
DiagnosticEnvModeCondition DiagnosticEnvDataCondition
«enumeration»
+compareValue 1 1 +dataElement
DiagnosticCompareTypeEnum
Identifiable
isEqual ValueSpecification
isNotEqual DiagnosticDataElement
+ shortLabel :Identifier [0..1]
isLessThan + arraySizeSemantics :ArraySizeSemanticsEnum [0..1]
isLessOrEqual + maxNumberOfElements :PositiveInteger [0..1]
isGreaterThan
isGreaterOrEqual
Please note that it is possible to create a nested hierarchy (of arbitrary depth) of Di-
agnosticEnvConditionFormula. This modeling is supported by the fact that Di-
agnosticEnvConditionFormula inherits from and, at the same time, aggregates
DiagnosticEnvConditionFormulaPart.
Class DiagnosticEnvironmentalCondition
Package M2::AUTOSARTemplates::DiagnosticExtract::Dcm::DiagnosticService::Environmental
Condition
Note The meta-class DignosticEnvironmentalCondition formalizes the idea of a condition
which is evaluated during runtime of the ECU by looking at "environmental" states
(e.g. one such condition is that the vehicle is not driving, i.e. vehicle speed == 0).
Tags: atp.recommendedPackage=DiagnosticEnvironmentalConditions
Base ARElement, ARObject, CollectableElement, DiagnosticCommonElement, Identifiable,
MultilanguageReferrable, PackageableElement, Referrable
Attribute Type Mul. Kind Note
formula DiagnosticEnvC 1 aggr This attribute represents the formula part of the
onditionFormula DiagnosticEnvironmentalCondition.
modeElem DiagnosticEnvM * aggr This aggregation contains a representation of
ent odeElement ModeDeclarations in the context of a
DiagnosticEnvironmentalCondition.
Class DiagnosticEnvDataCondition
Package M2::AUTOSARTemplates::DiagnosticExtract::Dcm::DiagnosticService::Environmental
Condition
Note A DiagnosticEnvDataCondition is an atomic condition that compares the current value
of the referenced DiagnosticDataElement with a constant value defined by the
ValueSpecification. All compareTypes are supported.
Base ARObject, DiagnosticEnvCompareCondition, DiagnosticEnvConditionFormulaPart
Attribute Type Mul. Kind Note
compareV ValueSpecificati 1 aggr This attribute represents a fixed compare value
alue on taken to evaluate the compare condition.
dataEleme DiagnosticData 1 ref This reference represents the related diagnostic
nt Element data element.
DiagnosticEnvSwcModeElement DiagnosticEnvBswModeElement
«instanceRef» «instanceRef»
+mode 1 +mode 1
AtpStructureElement
Identifiable
ModeDeclaration
Admittedly, this relation could be expressed by means of two references and a formal
constraint or it could be expressed by way of a single reference that’s implying an
interpreting of the model in a specific way. AUTOSAR opts for the latter alternative,
which is detailed by [TPS_DEXT_01120].
[TPS_DEXT_01120] Comparison of the value of a ModeDeclarationGroupPro-
totype with a ModeDeclaration d For the comparison of the value of a ModeDec-
larationGroupPrototype with a ModeDeclaration, two alternatives (see Fig-
ure 5.4) apply, depending on whether mode condition is executed in application soft-
ware (swc) or basic software (bsw):
• The ModeDeclarationGroupPrototype referenced in the role Diagnos-
ticEnvSwcModeElement.mode.contextModeDeclarationGroup shall be
compared to the ModeDeclaration referenced in the role DiagnosticEn-
vSwcModeElement.mode.targetMode.
• The ModeDeclarationGroupPrototype referenced in the role Diagnos-
ticEnvBswModeElement.mode.contextModeDeclarationGroup shall be
Only DiagnosticCompareTypeEnum.isEqual or
DiagnosticCompareTypeEnum.isNotEqual are eligible values for
DiagnosticAtomicCondition.compareType.
Base ARObject, DiagnosticEnvCompareCondition, DiagnosticEnvConditionFormulaPart
Attribute Type Mul. Kind Note
modeElem DiagnosticEnvM 1 ref This reference represents both the
ent odeElement ModeDeclarationGroupPrototype and the
ModeDeclaration relevant for the mode
comparison.
Furthermore, it allows that an InstanceRef only needs to be defined once and can be
used multiple times in the different DiagnosticEnvModeConditions.
Base ARObject, Referrable
Attribute Type Mul. Kind Note
– – – – –
Class DiagnosticEnvSwcModeElement
Package M2::AUTOSARTemplates::DiagnosticExtract::Dcm::DiagnosticService::Environmental
Condition
Note This meta-class represents the ability to refer to a ModeDeclaration in a concrete
System context.
Base ARObject, DiagnosticEnvModeElement, Referrable
Attribute Type Mul. Kind Note
mode ModeDeclaratio 1 iref This reference identifies both the
n ModeDeclarationGroupPrototype and the
ModeDeclaration for the specific mode
comparison.
Class DiagnosticEnvBswModeElement
Package M2::AUTOSARTemplates::DiagnosticExtract::Dcm::DiagnosticService::Environmental
Condition
Note This meta-class represents the ability to refer to a specific ModeDeclaration in the
scope of a BswModuleDescription.
Base ARObject, DiagnosticEnvModeElement, Referrable
Attribute Type Mul. Kind Note
mode ModeDeclaratio 1 iref This reference identifies both the
n ModeDeclarationGroupPrototype and the
ModeDeclaration for the specific mode
comparison.
ID Service
0x10 SessionControl
0x11 EcuReset
0x14 ClearDiagnosticInformation
0x19 ClearDTCInformation
0x22 ReadDataByIdentifier
0x23 ReadMemoryByAddress
0x27 SecurityAccess
0x28 CommunicationControl
0x2A ReadDataByPeriodicIdentifier
0x2C DynamicallyDefineDataIdentifier
0x2E WriteDataByIdentifier
0x2F IOControl
0x31 RoutineControl
0x34 RequestDownload
0x35 RequestUpload
0x36 TransferData
0x37 RequestTransferExit
0x3D WriteMemoryByAddress
0x85 ControlDTCSetting
0x86 ResponseOnEvent
Table 5.19: Supported diagnostic services
In all cases where a diagnostic service defines a sub-function according to ISO 14229-
1 [16], the value of the attribute category of the applicable sub-class of Diagnos-
ticServiceInstance can be used to specify the applicable sub-function as a textual
token.
Constraints are defined to clarify the existence of standardized values of the attribute
category for the given sub-function. This implies that an instance of the given sub-
class of DiagnosticServiceInstance only has a single sub-function at a time. c
(RS_DEXT_00049, RS_DEXT_00051)
[TPS_DEXT_01014] Possible values of the category attribute for diagnostic ser-
vices d AUTOSAR claims the right to standardize the possible values of the attribute
category for given diagnostic services. c(RS_DEXT_00001, RS_DEXT_00051)
If applicable, AUTOSAR allows for the usage of values of the attribute category other
than the standardized values.
In this case, however, proprietary values of the attribute category shall be prefixed
with a company-specific name fragment in order to avoid collisions that could occur if or
when the list of possible values claimed by the AUTOSAR standard itself is extended.
Example:
Listing 5.2: Example for the definition of a custom category
<AR-PACKAGE>
<SHORT-NAME>DiagnosticExtractExample</SHORT-NAME>
<ELEMENTS>
<DIAGNOSTIC-ECU-RESET>
<SHORT-NAME>ResetTheHardWay</SHORT-NAME>
<CATEGORY>ACME_REALLY_HARD_RESET</CATEGORY>
</DIAGNOSTIC-ECU-RESET>
</ELEMENTS>
</AR-PACKAGE>
5.5.1 DataByIdentifier
0..1 +accessPermission
DiagnosticCommonElement
DiagnosticServiceInstance +serviceClass
«atpAbstract» 0..1
DiagnosticDataByIdentifier
1 +dataIdentifier
DiagnosticCommonElement
DiagnosticAbstractDataIdentifier DiagnosticReadDataByIdentifierClass
1
+readClass
{redefines
serviceClass}
DiagnosticReadDataByIdentifier
DiagnosticDataIdentifier DiagnosticDynamicDataIdentifier
DiagnosticWriteDataByIdentifier DiagnosticWriteDataByIdentifierClass
+writeClass
1
{redefines
serviceClass}
The ability to read multiple DIDs at run-time is controlled via attribute Diagnosti-
cReadDataByIdentifierClass.maxDidToRead and therefore it is sufficient to (at
configuration-time) limit the multiplicity of attribute dataIdentifier to 1.
Please note that the reference DiagnosticDataByIdentifier.dataIdentifier
goes to DiagnosticAbstractDataIdentifier. This modeling approach allows to
actually reference any of the meta-classes that inherit from DiagnosticAbstract-
DataIdentifier.
Class DiagnosticReadDataByIdentifier
Package M2::AUTOSARTemplates::DiagnosticExtract::Dcm::DiagnosticService::DataBy
Identifier
Note This represents an instance of the "Read Data by Identifier" diagnostic service.
Tags: atp.recommendedPackage=DiagnosticDataByIdentifiers
Base ARElement, ARObject, CollectableElement, DiagnosticCommonElement, Diagnostic
DataByIdentifier, DiagnosticServiceInstance, Identifiable, MultilanguageReferrable,
PackageableElement, Referrable
Attribute Type Mul. Kind Note
readClass DiagnosticRead 1 ref This reference substantiates that abstract
DataByIdentifier reference in the role serviceClass for this specific
Class concrete class.
Class DiagnosticWriteDataByIdentifier
Package M2::AUTOSARTemplates::DiagnosticExtract::Dcm::DiagnosticService::DataBy
Identifier
Note This represents an instance of the "Write Data by Identifier" diagnostic service.
Tags: atp.recommendedPackage=DiagnosticDataByIdentifiers
Base ARElement, ARObject, CollectableElement, DiagnosticCommonElement, Diagnostic
DataByIdentifier, DiagnosticServiceInstance, Identifiable, MultilanguageReferrable,
PackageableElement, Referrable
Attribute Type Mul. Kind Note
writeClass DiagnosticWrite 1 ref This reference substantiates that abstract
DataByIdentifier reference in the role serviceClass for this specific
Class concrete class.
Class DiagnosticWriteDataByIdentifierClass
Package M2::AUTOSARTemplates::DiagnosticExtract::Dcm::DiagnosticService::DataBy
Identifier
Note This meta-class contains attributes shared by all instances of the "Write Data by
Identifier" diagnostic service.
Tags: atp.recommendedPackage=DiagnosticDataByIdentifiers
Base ARElement, ARObject, CollectableElement, DiagnosticCommonElement, Diagnostic
ServiceClass, Identifiable, MultilanguageReferrable, PackageableElement, Referrable
Attribute Type Mul. Kind Note
– – – – –
Tags: atp.recommendedPackage=DiagnosticDataByIdentifiers
Base ARElement, ARObject, CollectableElement, DiagnosticCommonElement, Diagnostic
ServiceClass, Identifiable, MultilanguageReferrable, PackageableElement, Referrable
Attribute Type Mul. Kind Note
maxDidTo PositiveInteger 1 attr This attribute represents the maximum number of
Read allowed DIDs in a single instance of
DiagnosticReadDataByIdentifier.
Class DiagnosticValueNeeds
Package M2::AUTOSARTemplates::CommonStructure::ServiceNeeds
Note Specifies the general needs on the configuration of the Diagnostic Communication
Manager (DCM) which are not related to a particular item (e.g. a PID). The main use
case is the mapping of service ports to the DCM which are not related to a particular
item.
In the case of using a sender receiver communicated value, the related value shall be
taken via assignedData in the role "signalBasedDiagnostics".
5.5.2 IOControl
+accessPermission 0..1
DiagnosticCommonElement
DiagnosticServiceInstance +serviceClass
«atpAbstract» 0..1
DiagnosticIOControl DiagnosticIoControlClass
+ioControlClass
+ freezeCurrentState :Boolean
+ resetToDefault :Boolean 1
+ shortTermAdjustment :Boolean {redefines
serviceClass}
+dataIdentifier 1
DiagnosticAbstractDataIdentifier
DiagnosticDataIdentifier
Class DiagnosticIOControl
Package M2::AUTOSARTemplates::DiagnosticExtract::Dcm::DiagnosticService::IOControl
Note This represents an instance of the "I/O Control" diagnostic service.
Tags: atp.recommendedPackage=DiagnosticIoControls
Base ARElement, ARObject, CollectableElement, DiagnosticCommonElement, Diagnostic
ServiceInstance, Identifiable, MultilanguageReferrable, PackageableElement,
Referrable
Attribute Type Mul. Kind Note
dataIdentifi DiagnosticDataI 1 ref This represents the corresponding
er dentifier DiagnosticDataIdentifier
freezeCurr Boolean 1 attr Setting this attribute to true represents the ability
entState of the Dcm to execute a freezeCurrentState.
ioControlCl DiagnosticIoCo 1 ref This reference substantiates that abstract
ass ntrolClass reference in the role serviceClass for this specific
concrete class.
Class DiagnosticIoControlClass
Package M2::AUTOSARTemplates::DiagnosticExtract::Dcm::DiagnosticService::IOControl
Note This meta-class contains attributes shared by all instances of the "IO Control"
diagnostic service.
Tags: atp.recommendedPackage=DiagnosticIoControls
Base ARElement, ARObject, CollectableElement, DiagnosticCommonElement, Diagnostic
ServiceClass, Identifiable, MultilanguageReferrable, PackageableElement, Referrable
Attribute Type Mul. Kind Note
– – – – –
Class DiagnosticIoControlNeeds
Package M2::AUTOSARTemplates::CommonStructure::ServiceNeeds
Note Specifies the general needs on the configuration of the Diagnostic Communication
Manager (DCM) which are not related to a particular item (e.g. a PID). The main use
case is the mapping of service ports to the Dcm which are not related to a particular
item.
Base ARObject, DiagnosticCapabilityElement, Identifiable, MultilanguageReferrable,
Referrable, ServiceNeeds
Attribute Type Mul. Kind Note
currentVal DiagnosticValue 0..1 ref Reference to the DiagnosticValueNeeds indicating
ue Needs the access to the current value via
signalBasedDiagnostics.
didNumber PositiveInteger 0..1 attr This represents a Data identifier for the diagnostic
value. This allows to predefine the DID number if
the a function developer has received a particular
requirement from the OEM or from a
standardization body.
freezeCurr Boolean 0..1 attr This attribute determines, if the referenced port
entStateSu supports temporary freezing of I/O value.
pported
resetToDef Boolean 0..1 attr This represents a flag for the existence of the
aultSuppor ResetToDefault operation in the service interface.
ted
shortTerm Boolean 0..1 attr This attribute determines, if the referenced port
Adjustment supports temporarily setting of I/O value to a
Supported specific value provided by the diagnostic tester.
5.5.3 EcuReset
DiagnosticCommonElement DiagnosticCommonElement
DiagnosticAccessPermission +accessPermission DiagnosticServiceClass
0..1 + accessPermissionValidity :DiagnosticAccessPermissionValidityEnum
+accessPermission 0..1
DiagnosticCommonElement
DiagnosticServiceInstance +serviceClass
«atpAbstract» 0..1
DiagnosticEcuReset DiagnosticEcuResetClass
+ecuResetClass
+ customSubFunctionNumber :PositiveInteger [0..1] + respondToReset :DiagnosticResponseToEcuResetEnum [0..1]
1
{redefines
serviceClass}
«enumeration»
DiagnosticResponseToEcuResetEnum
respondBeforeReset
respondAfterReset
Class DiagnosticEcuReset
Package M2::AUTOSARTemplates::DiagnosticExtract::Dcm::DiagnosticService::EcuReset
Note This represents an instance of the "ECU Reset" diagnostic service.
Tags: atp.recommendedPackage=DiagnosticEcuResets
Base ARElement, ARObject, CollectableElement, DiagnosticCommonElement, Diagnostic
ServiceInstance, Identifiable, MultilanguageReferrable, PackageableElement,
Referrable
Attribute Type Mul. Kind Note
customSub PositiveInteger 0..1 attr This attribute shall be used to define a custom
FunctionN sub-function number if none of the standardized
umber values of category shall be used.
ecuResetC DiagnosticEcuR 1 ref This reference substantiates that abstract
lass esetClass reference in the role serviceClass for this specific
concrete class.
Class DiagnosticEcuResetClass
Package M2::AUTOSARTemplates::DiagnosticExtract::Dcm::DiagnosticService::EcuReset
Note This meta-class contains attributes shared by all instances of the "Ecu Reset"
diagnostic service.
Tags: atp.recommendedPackage=DiagnosticEcuResets
Base ARElement, ARObject, CollectableElement, DiagnosticCommonElement, Diagnostic
ServiceClass, Identifiable, MultilanguageReferrable, PackageableElement, Referrable
Attribute Type Mul. Kind Note
respondTo DiagnosticResp 0..1 attr This attribute defines whether the response to the
Reset onseToEcuRes EcuReset service shall be transmitted before or
etEnum after the actual reset.
Enumeration DiagnosticResponseToEcuResetEnum
Package M2::AUTOSARTemplates::DiagnosticExtract::Dcm::DiagnosticService::EcuReset
Note
Literal Description
respondAfter Answer to EcuReset service should come after the reset.
Reset
Tags: atp.EnumerationValue=0
respond Answer to EcuReset service should come before the reset.
BeforeReset
Tags: atp.EnumerationValue=1
Please note that (as already explained in section 5.5) the SubFunctions of this ser-
vice are modeled by means of the category attribute.
[TPS_DEXT_01056] Applicable values for DiagnosticEcuReset.category d
The following values of the attribute DiagnosticEcuReset.category are standard-
ized by AUTOSAR:
• HARD_RESET
• KEY_OFF_ON_RESET
• SOFT_RESET
• ENABLE_RAPID_POWER_SHUT_DOWN
• DISABLE_RAPID_POWER_SHUT_DOWN
The meaning of these values is described in the applicable ISO document [16]. c
(RS_DEXT_00001, RS_DEXT_00004, RS_DEXT_00051)
[TPS_DEXT_01019] Correspondence of category values to numerical values
mentioned in the ISO 14229-1 d The ISO 14229-1 [16] standard document defines
specific numerical values for the sub-functions of the diagnostic service EcuReset.
5.5.4 ClearDiagnosticInformation
DiagnosticCommonElement DiagnosticCommonElement
DiagnosticAccessPermission +accessPermission DiagnosticServiceClass
+accessPermission 0..1
DiagnosticCommonElement
DiagnosticServiceInstance +serviceClass
«atpAbstract» 0..1
DiagnosticClearDiagnosticInformation DiagnosticClearDiagnosticInformationClass
+clearDiagnosticInformationClass
1
{redefines
serviceClass}
Class DiagnosticClearDiagnosticInformation
Package M2::AUTOSARTemplates::DiagnosticExtract::Dcm::DiagnosticService::Clear
DiagnosticInfo
Note This represents an instance of the "Clear Diagnostic Information" diagnostic service.
Tags: atp.recommendedPackage=DiagnosticClearDiagnosticInformations
Base ARElement, ARObject, CollectableElement, DiagnosticCommonElement, Diagnostic
ServiceInstance, Identifiable, MultilanguageReferrable, PackageableElement,
Referrable
Attribute Type Mul. Kind Note
clearDiagn DiagnosticClear 1 ref This reference substantiates that abstract
osticInform DiagnosticInfor reference in the role serviceClass for this specific
ationClass mationClass concrete class.
Class DiagnosticClearDiagnosticInformationClass
Package M2::AUTOSARTemplates::DiagnosticExtract::Dcm::DiagnosticService::Clear
DiagnosticInfo
Note This meta-class contains attributes shared by all instances of the "Clear Diagnostic
Information" diagnostic service.
Tags: atp.recommendedPackage=DiagnosticClearDiagnosticInformations
Base ARElement, ARObject, CollectableElement, DiagnosticCommonElement, Diagnostic
ServiceClass, Identifiable, MultilanguageReferrable, PackageableElement, Referrable
Attribute Type Mul. Kind Note
– – – – –
This chapter describes the modeling of diagnostic services for memory access (0x23,
0x3D, 0x34-0x37). The purpose of these services is to access memory on the diag-
nostic stack on request of the tester.
The service description for accessing memory for diagnostic purposes is modeled by
the abstract meta-class DiagnosticMemoryByAddress. It is supposed to provide
all model properties relevant for the memory access.
The description of memory access, to some extent, requires a formal description of the
memory segments to take into account. For this purpose the meta-class Diagnos-
ticMemoryIdentifier has been introduced and referenced by DiagnosticMem-
oryAddressableRangeAccess in the role memoryRange.
The intent of this modeling was not to provide a generic memory model but to allow for
the specification of memory properties just as far as diagnostics is concerned.
The aggregation of DiagnosticMemoryIdentifier at DiagnosticMemoryByAd-
dress may or may not be relevant for an OEM. However, there is certainly a use case
for adding this information to a DiagnosticExtract that goes back from a tier-1
supplier to an OEM as sort of a documentation of the diagnostic configuration.
DiagnosticCommonElement
DiagnosticServiceInstance
+accessPermission 0..1
DiagnosticCommonElement
DiagnosticAccessPermission
+accessPermission 0..1
DiagnosticCommonElement
DiagnosticMemoryByAddress
DiagnosticMemoryIdentifier
+ id :PositiveInteger [0..1]
+ memoryHighAddress :PositiveInteger [0..1]
+ memoryHighAddressLabel :String [0..1]
+ memoryLowAddress :PositiveInteger [0..1]
+ memoryLowAddressLabel :String [0..1]
+memoryRange 0..*
• DiagnosticMemoryIdentifier.memoryHighAddress
c()
[constr_1412] Existence of DiagnosticMemoryIdentifier.memoryLowAd-
dressLabel vs. DiagnosticMemoryIdentifier.memoryLowAddress d At most
one of the attributes in the following list shall exist:
• DiagnosticMemoryIdentifier.memoryLowAddressLabel
• DiagnosticMemoryIdentifier.memoryLowAddress
c()
Please note that it does not make sense to describe a memory address in this con-
text both numerically and symbolically. If the address is described at all (see [con-
str_1333]) then it shall be done either symbolically or numerically. This is the motiva-
tion of the existence of [constr_1411] and [constr_1412].
Class DiagnosticMemoryIdentifier
Package M2::AUTOSARTemplates::DiagnosticExtract::Dcm::DiagnosticService::MemoryBy
Address
Note This meta-class represents the ability to define memory properties from the
diagnostics point of view.
Tags: atp.recommendedPackage=DiagnosticMemoryByAdresss
Base ARElement, ARObject, CollectableElement, DiagnosticCommonElement, Identifiable,
MultilanguageReferrable, PackageableElement, Referrable
Attribute Type Mul. Kind Note
accessPer DiagnosticAcce 0..1 ref This represents that access permission defined for
mission ssPermission the specific DiagnosticMemoryIdentifier.
id PositiveInteger 0..1 attr This represents the identification of the memory
segment.
memoryHi PositiveInteger 0..1 attr This represents the upper bound for addresses of
ghAddress the memory segment.
memoryHi String 0..1 attr This represents a symbolic label for the upper
ghAddress bound for addresses of the memory segment.
Label
memoryLo PositiveInteger 0..1 attr This represents the lower bound for addresses of
wAddress the memory segment.
memoryLo String 0..1 attr This represents a symbolic label for the lower
wAddressL bound for addresses of the memory segment.
abel
Class DiagnosticWriteMemoryByAddress
Package M2::AUTOSARTemplates::DiagnosticExtract::Dcm::DiagnosticService::MemoryBy
Address
Note This represents an instance of the "Write Memory by Address" diagnostic service.
Tags: atp.recommendedPackage=DiagnosticMemoryByAdresss
Base ARElement, ARObject, CollectableElement, DiagnosticCommonElement, Diagnostic
MemoryAddressableRangeAccess, DiagnosticMemoryByAddress, DiagnosticService
Instance, Identifiable, MultilanguageReferrable, PackageableElement, Referrable
Attribute Type Mul. Kind Note
writeClass DiagnosticWrite 1 ref This reference substantiates that abstract
MemoryByAddr reference in the role serviceClass for this specific
essClass concrete class.
Class DiagnosticWriteMemoryByAddressClass
Package M2::AUTOSARTemplates::DiagnosticExtract::Dcm::DiagnosticService::MemoryBy
Address
Note This meta-class contains attributes shared by all instances of the "Write Memory by
Address" diagnostic service.
Tags: atp.recommendedPackage=DiagnosticMemoryByAdresss
Base ARElement, ARObject, CollectableElement, DiagnosticCommonElement, Diagnostic
ServiceClass, Identifiable, MultilanguageReferrable, PackageableElement, Referrable
Attribute Type Mul. Kind Note
– – – – –
DiagnosticCommonElement DiagnosticCommonElement
DiagnosticAccessPermission +accessPermission DiagnosticServiceClass
0..1 + accessPermissionValidity :DiagnosticAccessPermissionValidityEnum
+accessPermission 0..1
DiagnosticCommonElement
DiagnosticServiceInstance +serviceClass
«atpAbstract» 0..1
DiagnosticMemoryByAddress
DiagnosticMemoryAddressableRangeAccess
DiagnosticWriteMemoryByAddress DiagnosticWriteMemoryByAddressClass
+writeClass
1
{redefines
serviceClass}
Class DiagnosticReadMemoryByAddress
Package M2::AUTOSARTemplates::DiagnosticExtract::Dcm::DiagnosticService::MemoryBy
Address
Note This represents an instance of the "Read Memory by Address" diagnostic service.
Tags: atp.recommendedPackage=DiagnosticMemoryByAdresss
Base ARElement, ARObject, CollectableElement, DiagnosticCommonElement, Diagnostic
MemoryAddressableRangeAccess, DiagnosticMemoryByAddress, DiagnosticService
Instance, Identifiable, MultilanguageReferrable, PackageableElement, Referrable
Attribute Type Mul. Kind Note
readClass DiagnosticRead 1 ref This reference substantiates that abstract
MemoryByAddr reference in the role serviceClass for this specific
essClass concrete class.
Class DiagnosticReadMemoryByAddressClass
Package M2::AUTOSARTemplates::DiagnosticExtract::Dcm::DiagnosticService::MemoryBy
Address
Note This meta-class contains attributes shared by all instances of the "Read Memory by
Address" diagnostic service.
Tags: atp.recommendedPackage=DiagnosticMemoryByAdresss
Base ARElement, ARObject, CollectableElement, DiagnosticCommonElement, Diagnostic
ServiceClass, Identifiable, MultilanguageReferrable, PackageableElement, Referrable
Attribute Type Mul. Kind Note
– – – – –
DiagnosticCommonElement DiagnosticCommonElement
Dcm::DiagnosticAccessPermission +accessPermission CommonService::DiagnosticServiceClass
0..1 + accessPermissionValidity :DiagnosticAccessPermissionValidityEnum
+accessPermission 0..1
DiagnosticCommonElement
CommonService::DiagnosticServiceInstance +serviceClass
«atpAbstract» 0..1
DiagnosticMemoryByAddress
DiagnosticMemoryAddressableRangeAccess
DiagnosticReadMemoryByAddress DiagnosticReadMemoryByAddressClass
+readClass
1
{redefines
serviceClass}
Class DiagnosticTransferExit
Package M2::AUTOSARTemplates::DiagnosticExtract::Dcm::DiagnosticService::MemoryBy
Address
Note This represents an instance of the "Transfer Exit" diagnostic service.
Tags: atp.recommendedPackage=DiagnosticMemoryByAdresss
Base ARElement, ARObject, CollectableElement, DiagnosticCommonElement, Diagnostic
MemoryByAddress, DiagnosticServiceInstance, Identifiable, Multilanguage
Referrable, PackageableElement, Referrable
Attribute Type Mul. Kind Note
transferExi DiagnosticTrans 1 ref This reference substantiates that abstract
tClass ferExitClass reference in the role serviceClass for this specific
concrete class.
Class DiagnosticTransferExitClass
Package M2::AUTOSARTemplates::DiagnosticExtract::Dcm::DiagnosticService::MemoryBy
Address
Note This meta-class contains attributes shared by all instances of the "Transfer Exit"
diagnostic service.
Tags: atp.recommendedPackage=DiagnosticMemoryByAdresss
Base ARElement, ARObject, CollectableElement, DiagnosticCommonElement, Diagnostic
ServiceClass, Identifiable, MultilanguageReferrable, PackageableElement, Referrable
Attribute Type Mul. Kind Note
– – – – –
DiagnosticCommonElement DiagnosticCommonElement
DiagnosticAccessPermission +accessPermission DiagnosticServiceClass
0..1 + accessPermissionValidity :DiagnosticAccessPermissionValidityEnum
+accessPermission 0..1
DiagnosticCommonElement
DiagnosticServiceInstance +serviceClass
«atpAbstract» 0..1
DiagnosticMemoryByAddress
DiagnosticTransferExit DiagnosticTransferExitClass
+transferExitClass
Class DiagnosticDataTransfer
Package M2::AUTOSARTemplates::DiagnosticExtract::Dcm::DiagnosticService::MemoryBy
Address
Note This represents an instance of the "Data Transfer" diagnostic service.
Tags: atp.recommendedPackage=DiagnosticMemoryByAdresss
Base ARElement, ARObject, CollectableElement, DiagnosticCommonElement, Diagnostic
MemoryByAddress, DiagnosticServiceInstance, Identifiable, Multilanguage
Referrable, PackageableElement, Referrable
Attribute Type Mul. Kind Note
Class DiagnosticDataTransferClass
Package M2::AUTOSARTemplates::DiagnosticExtract::Dcm::DiagnosticService::MemoryBy
Address
Note This meta-class contains attributes shared by all instances of the "Data Transfer"
diagnostic service.
Tags: atp.recommendedPackage=DiagnosticMemoryByAdresss
Base ARElement, ARObject, CollectableElement, DiagnosticCommonElement, Diagnostic
ServiceClass, Identifiable, MultilanguageReferrable, PackageableElement, Referrable
Attribute Type Mul. Kind Note
– – – – –
DiagnosticCommonElement DiagnosticCommonElement
DiagnosticAccessPermission +accessPermission DiagnosticServiceClass
0..1 + accessPermissionValidity :DiagnosticAccessPermissionValidityEnum
+accessPermission 0..1
DiagnosticCommonElement
DiagnosticServiceInstance +serviceClass
«atpAbstract» 0..1
DiagnosticMemoryByAddress
DiagnosticDataTransfer DiagnosticDataTransferClass
+dataTransferClass
1
{redefines
serviceClass}
Class DiagnosticRequestDownload
Package M2::AUTOSARTemplates::DiagnosticExtract::Dcm::DiagnosticService::MemoryBy
Address
Note This represents an instance of the "Request Download" diagnostic service.
Tags: atp.recommendedPackage=DiagnosticMemoryByAdresss
Base ARElement, ARObject, CollectableElement, DiagnosticCommonElement, Diagnostic
MemoryAddressableRangeAccess, DiagnosticMemoryByAddress, DiagnosticService
Instance, Identifiable, MultilanguageReferrable, PackageableElement, Referrable
Attribute Type Mul. Kind Note
requestDo DiagnosticRequ 1 ref This reference substantiates that abstract
wnloadCla estDownloadCla reference in the role serviceClass for this specific
ss ss concrete class.
Class DiagnosticRequestDownloadClass
Package M2::AUTOSARTemplates::DiagnosticExtract::Dcm::DiagnosticService::MemoryBy
Address
Note This meta-class contains attributes shared by all instances of the "Request
Download" diagnostic service.
Tags: atp.recommendedPackage=DiagnosticMemoryByAdresss
Base ARElement, ARObject, CollectableElement, DiagnosticCommonElement, Diagnostic
ServiceClass, Identifiable, MultilanguageReferrable, PackageableElement, Referrable
Attribute Type Mul. Kind Note
– – – – –
DiagnosticCommonElement DiagnosticCommonElement
DiagnosticAccessPermission +accessPermission DiagnosticServiceClass
0..1 + accessPermissionValidity :DiagnosticAccessPermissionValidityEnum
+accessPermission 0..1
DiagnosticCommonElement
DiagnosticServiceInstance +serviceClass
«atpAbstract» 0..1
DiagnosticMemoryByAddress
DiagnosticMemoryAddressableRangeAccess
DiagnosticRequestDownload DiagnosticRequestDownloadClass
+requestDownloadClass
1
{redefines
serviceClass}
Class DiagnosticRequestUpload
Package M2::AUTOSARTemplates::DiagnosticExtract::Dcm::DiagnosticService::MemoryBy
Address
Note This represents an instance of the "Request Upload" diagnostic service.
Tags: atp.recommendedPackage=DiagnosticMemoryByAdresss
Base ARElement, ARObject, CollectableElement, DiagnosticCommonElement, Diagnostic
MemoryAddressableRangeAccess, DiagnosticMemoryByAddress, DiagnosticService
Instance, Identifiable, MultilanguageReferrable, PackageableElement, Referrable
Attribute Type Mul. Kind Note
requestUpl DiagnosticRequ 1 ref This reference substantiates that abstract
oadClass estUploadClass reference in the role serviceClass for this specific
concrete class.
Class DiagnosticRequestUploadClass
Package M2::AUTOSARTemplates::DiagnosticExtract::Dcm::DiagnosticService::MemoryBy
Address
Note This meta-class contains attributes shared by all instances of the "Request Upload"
diagnostic service.
Tags: atp.recommendedPackage=DiagnosticMemoryByAdresss
Base ARElement, ARObject, CollectableElement, DiagnosticCommonElement, Diagnostic
ServiceClass, Identifiable, MultilanguageReferrable, PackageableElement, Referrable
Attribute Type Mul. Kind Note
– – – – –
DiagnosticCommonElement DiagnosticCommonElement
DiagnosticAccessPermission +accessPermission DiagnosticServiceClass
0..1 + accessPermissionValidity :DiagnosticAccessPermissionValidityEnum
+accessPermission 0..1
DiagnosticCommonElement
DiagnosticServiceInstance +serviceClass
«atpAbstract» 0..1
DiagnosticMemoryByAddress
DiagnosticMemoryAddressableRangeAccess
DiagnosticRequestUpload DiagnosticRequestUploadClass
+requestUploadClass
1
{redefines
serviceClass}
5.5.6 CommunicationControl
+accessPermission 0..1
DiagnosticCommonElement
DiagnosticServiceInstance +serviceClass
«atpAbstract» 0..1
DiagnosticComControl DiagnosticComControlClass
+comControlClass
+ customSubFunctionNumber :PositiveInteger [0..1]
1
{redefines
serviceClass}
DiagnosticComControlSubNodeChannel DiagnosticComControlSpecificChannel
FibexElement
«atpVariation»
CommunicationCluster
• DISABLE_RX_AND_ENABLE_TX
• ENABLE_RX_AND_DISABLE_TX_WITH_ENHANCED_ADDRESS_INFORMATION
• ENABLE_RX_AND_TX_WITH_ENHANCED_ADDRESS_INFORMATION
The meaning of these values is described in the applicable ISO document [16]. c
(RS_DEXT_00001, RS_DEXT_00010, RS_DEXT_00051)
[TPS_DEXT_01029] Correspondence of category values to numerical values
mentioned in the ISO 14229-1 d The ISO 14229-1 [16] standard document defines
specific numerical values for the sub-functions of the diagnostic service Communica-
tionControl.
The correspondence of the numerical values to the pre-defined values of category
according to [TPS_DEXT_01057] is pretty obvious because the definition of values
defined in [TPS_DEXT_01057] has been directly inspired by the ISO 14229-1 [16]
standard document. c(RS_DEXT_00001, RS_DEXT_00010, RS_DEXT_00051)
[TPS_DEXT_01030] Manufacturer-specific values for sub-functions of service
CommunicationControl d The ISO 14229-1 [16] standard document, beyond the
standardized numerical values for sub-functions, reserves a numerical range of sub-
Function identifiers for manufacturer-specific use.
In this case it is possible to define further values for category, provided that a custom
prefix is used to avoid potential name clashes with further extensions of the AUTOSAR
standard, namely [TPS_DEXT_01057]. c(RS_DEXT_00010, RS_DEXT_00047,
RS_DEXT_00051)
[TPS_DEXT_01031] Semantics of DiagnosticComControl.customSubFunc-
tionNumber d The attribute DiagnosticComControl.customSubFunctionNum-
ber has been introduced to allow for the specification of a manufacturer-or supplier-
specific value to represent the custom sub-function in the diagnostic communication.
The tuple created by the values of attributes DiagnosticComControl.category
and DiagnosticComControl.customSubFunctionNumber fully specifies identi-
fication of the manufacturer- or supplier-specific sub-function. c(RS_DEXT_00010,
RS_DEXT_00047, RS_DEXT_00051)
[constr_1334] Existence of DiagnosticComControl.customSubFunctionNum-
ber d The attribute DiagnosticComControl.customSubFunctionNumber shall
only exist if the value of DiagnosticComControl.category is outside the stan-
dardized set of values as defined by [TPS_DEXT_01057]. c()
[constr_1335] Possible values for DiagnosticComControl.customSubFunc-
tionNumber d Given the fulfillment of [constr_1334], the value of a given Diagnos-
ticComControl.customSubFunctionNumber shall always be within the closed in-
terval 0x40 .. 0x5F (for manufacturer-specific sub-functions) or the closed interval
0x60 .. 0x7E (for supplier-specific sub-functions). c()
[TPS_DEXT_01032] Impact of the DiagnosticComControlClass on the state
management for CommunicationClusters d The impact of the DiagnosticCom-
Tags: vh.latestBindingTime=postBuild
Base ARObject, CollectableElement, FibexElement, Identifiable, MultilanguageReferrable,
PackageableElement, Referrable
Attribute Type Mul. Kind Note
baudrate PositiveUnlimite 0..1 attr Channels speed in bits/s.
dInteger
physicalCh PhysicalChanne 1..* aggr This relationship defines which channel element
annel l belongs to which cluster. A channel must be
assigned to exactly one cluster, whereas a cluster
may have one or more channels.
Class DiagnosticComControl
Package M2::AUTOSARTemplates::DiagnosticExtract::Dcm::DiagnosticService::
CommunicationControl
Note This represents an instance of the "Communication Control" diagnostic service.
Tags: atp.recommendedPackage=DiagnosticCommunicationControls
Base ARElement, ARObject, CollectableElement, DiagnosticCommonElement, Diagnostic
ServiceInstance, Identifiable, MultilanguageReferrable, PackageableElement,
Referrable
Attribute Type Mul. Kind Note
Class DiagnosticComControlSpecificChannel
Package M2::AUTOSARTemplates::DiagnosticExtract::Dcm::DiagnosticService::
CommunicationControl
Note This represents the ability to add further attributes to the definition of a specific
channel that is subject to the diagnostic service "communication control".
Base ARObject
Attribute Type Mul. Kind Note
specificCh Communication 1 ref This represents the affected
annel Cluster CommunicationClusters in the role
specificChannel
subnetNu PositiveInteger 1 attr This represents the applicable subnet number
mber (which is an arbitrary number ranging from 1..14)
Class DiagnosticComControlClass
Package M2::AUTOSARTemplates::DiagnosticExtract::Dcm::DiagnosticService::
CommunicationControl
Note This meta-class contains attributes shared by all instances of the "Communication
Control" diagnostic service.
Tags: atp.recommendedPackage=DiagnosticCommunicationControls
Base ARElement, ARObject, CollectableElement, DiagnosticCommonElement, Diagnostic
ServiceClass, Identifiable, MultilanguageReferrable, PackageableElement, Referrable
Attribute Type Mul. Kind Note
allChannel Communication * ref This reference represents the semantics that all
s Cluster available channels shall be affected. It is still
necessary to refer to individual
CommunicatuionClusters because there could be
private CommunicationClusters in the System
Extract that are not subject to the service
"communication control".
Class DiagnosticComControlSubNodeChannel
Package M2::AUTOSARTemplates::DiagnosticExtract::Dcm::DiagnosticService::
CommunicationControl
Note This represents the ability to add further attributes to the definition of a specific
sub-node channel that is subject to the diagnostic service "communication control".
Base ARObject
Attribute Type Mul. Kind Note
subNodeC Communication 1 ref This represents the affected
hannel Cluster CommunicationClusters in the role
subNodeChannel
subNodeN PositiveInteger 1 attr This represents the applicable subNode number.
umber The value corresponds to the request message
parameter nodeIdentificationNumber of diagnostic
service CommunicationControl (0x28).
5.5.7 DynamicallyDefineDataIdentifier
DiagnosticCommonElement DiagnosticCommonElement
DiagnosticAccessPermission +accessPermission DiagnosticServiceClass
+accessPermission 0..1
DiagnosticCommonElement
DiagnosticServiceInstance +serviceClass
«atpAbstract» 0..1
DiagnosticDynamicallyDefineDataIdentifier
+ maxSourceElement :PositiveInteger
1
{redefines
+dataIdentifier 1 +dynamicallyDefineDataIdentifierClass serviceClass}
DiagnosticAbstractDataIdentifier
DiagnosticDynamicallyDefineDataIdentifierClass
DiagnosticDynamicDataIdentifier
+ checkPerSourceId :Boolean [0..1]
+ configurationHandling :DiagnosticHandleDDDIConfigurationEnum [0..1]
+ subfunction :DiagnosticDynamicallyDefineDataIdentifierSubfunctionEnum [0..*]
«enumeration»
DiagnosticHandleDDDIConfigurationEnum
volatile
nonVolatile
«enumeration»
DiagnosticDynamicallyDefineDataIdentifierSubfunctionEnum
defineByIdentifier
defineByMemoryAddress
clearDynamicallyDefineDataIdentifier
Class DiagnosticDynamicallyDefineDataIdentifier
Package M2::AUTOSARTemplates::DiagnosticExtract::Dcm::DiagnosticService::Dynamically
DefineDataIdentifier
Note This represents an instance of the "Dynamically Define Data Identifier" diagnostic
service.
Tags: atp.recommendedPackage=DiagnosticDynamicallyDefineDataIdentifiers
Base ARElement, ARObject, CollectableElement, DiagnosticCommonElement, Diagnostic
ServiceInstance, Identifiable, MultilanguageReferrable, PackageableElement,
Referrable
Attribute Type Mul. Kind Note
Class DiagnosticDynamicallyDefineDataIdentifierClass
Package M2::AUTOSARTemplates::DiagnosticExtract::Dcm::DiagnosticService::Dynamically
DefineDataIdentifier
Note This meta-class contains attributes shared by all instances of the "Dynamically Define
Data Identifier" diagnostic service.
Tags: atp.recommendedPackage=DiagnosticDynamicallyDefineDataIdentifiers
Base ARElement, ARObject, CollectableElement, DiagnosticCommonElement, Diagnostic
ServiceClass, Identifiable, MultilanguageReferrable, PackageableElement, Referrable
Attribute Type Mul. Kind Note
checkPerS Boolean 0..1 attr If set to TRUE, the Dcm module shall check the
ourceId session, security and mode dependencies per
source DIDs with a ReadDataByIdentifier (0x22)
with DID in the range 0xF200 to 0xF3FF.
Enumeration DiagnosticHandleDDDIConfigurationEnum
Package M2::AUTOSARTemplates::DiagnosticExtract::Dcm::DiagnosticService::
DynamicallyDefineDataIdentifier
Note This meta-class represents the options for controlling how the configuration of the
DynamicallyDefineDataIdentifiers is done in the given context.
Literal Description
nonVolatile This indicates that the configuration of DynamicallyDefineDataIdentifier shall be
stored as non-volatile data.
Tags: atp.EnumerationValue=0
volatile This indicates that the configuration of DynamicallyDefineDataIdentifier shall be
handled as volatile data.
Tags: atp.EnumerationValue=1
Enumeration DiagnosticDynamicallyDefineDataIdentifierSubfunctionEnum
Package M2::AUTOSARTemplates::DiagnosticExtract::Dcm::DiagnosticService::
DynamicallyDefineDataIdentifier
Note This meta-class contains a list of possible subfunctions for the UDS service 0x2C.
Literal Description
clearDynam- Clear the specified dynamic data identifier.
icallyDefine
DataIdentifier Tags: atp.EnumerationValue=0
defineBy The definition of dynamic data identifier shall be done via a reference to a
Identifier diagnostic data identifier.
Tags: atp.EnumerationValue=1
defineBy The definition of dynamic data identifier shall be done via a reference to a memory
Memory address.
Address
Tags: atp.EnumerationValue=2
5.5.8 ReadDataByPeriodicIdentifier
DiagnosticCommonElement DiagnosticCommonElement
DiagnosticAccessPermission +accessPermission DiagnosticServiceClass
0..1 + accessPermissionValidity :DiagnosticAccessPermissionValidityEnum
+accessPermission 0..1
DiagnosticCommonElement
DiagnosticServiceInstance +serviceClass
«atpAbstract» 0..1
DiagnosticReadDataByPeriodicID DiagnosticReadDataByPeriodicIDClass
+readDataClass
+ maxPeriodicDidToRead :PositiveInteger
1 + schedulerMaxNumber :PositiveInteger
{redefines
serviceClass}
DiagnosticCommonElement
DiagnosticPeriodicRate
DiagnosticAbstractDataIdentifier
+ period :TimeValue
+ id :PositiveInteger + periodicRateCategory :DiagnosticPeriodicRateCategoryEnum [0..1]
«enumeration»
DiagnosticDataIdentifier DiagnosticDynamicDataIdentifier DiagnosticPeriodicRateCategoryEnum
Class DiagnosticReadDataByPeriodicID
Package M2::AUTOSARTemplates::DiagnosticExtract::Dcm::DiagnosticService::ReadDataBy
PeriodicID
Note This represents an instance of the "Read Data by periodic Identifier" diagnostic
service.
Tags: atp.recommendedPackage=DiagnosticReadDataByPeriodicIds
Base ARElement, ARObject, CollectableElement, DiagnosticCommonElement, Diagnostic
ServiceInstance, Identifiable, MultilanguageReferrable, PackageableElement,
Referrable
Attribute Type Mul. Kind Note
dataIdentifi DiagnosticAbstr 1 ref This represents the corresponding
er actDataIdentifier DiagnosticDataIdentifier.
Class DiagnosticReadDataByPeriodicIDClass
Package M2::AUTOSARTemplates::DiagnosticExtract::Dcm::DiagnosticService::ReadDataBy
PeriodicID
Note This meta-class contains attributes shared by all instances of the "Read Data by
periodic Identifier" diagnostic service.
Tags: atp.recommendedPackage=DiagnosticReadDataByPeriodicIds
Base ARElement, ARObject, CollectableElement, DiagnosticCommonElement, Diagnostic
ServiceClass, Identifiable, MultilanguageReferrable, PackageableElement, Referrable
Attribute Type Mul. Kind Note
maxPeriodi PositiveInteger 1 attr This represents the maximum number of data
cDidToRea identifiers that can be included in one request.
d
periodicRa DiagnosticPerio 1..* aggr This represents the description of a collection of
te dicRate periodic rates in which the service can be
executed.
scheduler PositiveInteger 1 attr This represents the maximum number of periodic
MaxNumb data identifiers that can be scheduled in parallel.
er
Class DiagnosticPeriodicRate
Package M2::AUTOSARTemplates::DiagnosticExtract::Dcm::DiagnosticService::ReadDataBy
PeriodicID
Note This represents the ability to define a periodic rate for the specification of the "read
data by periodic ID" diagnostic service.
Base ARObject
Attribute Type Mul. Kind Note
period TimeValue 1 attr This represents the period of the
DiagnosticPeriodicRate in seconds.
periodicRa DiagnosticPerio 0..1 attr This attribute represents the category of the
teCategory dicRateCategor periodic rate.
yEnum
Enumeration DiagnosticPeriodicRateCategoryEnum
Package M2::AUTOSARTemplates::DiagnosticExtract::Dcm::DiagnosticService::ReadData
ByPeriodicID
Note This meta-class provides possible values for the setting of the periodic rate.
Literal Description
periodicRate This value represents a fast periodic rate.
Fast
Tags: atp.EnumerationValue=0
periodicRate This value represents a medium periodic rate.
Medium
Tags: atp.EnumerationValue=1
periodicRate This value represents a slow periodic rate.
Slow
Tags: atp.EnumerationValue=2
5.5.9 ControlDTCSetting
+accessPermission 0..1
DiagnosticCommonElement
DiagnosticServiceInstance +serviceClass
«atpAbstract» 0..1
DiagnosticControlDTCSetting DiagnosticControlDTCSettingClass
+dtcSettingClass
+ dtcSettingParameter :PositiveInteger + controlOptionRecordPresent :Boolean
1
{redefines
serviceClass}
Class DiagnosticControlDTCSetting
Package M2::AUTOSARTemplates::DiagnosticExtract::Dcm::DiagnosticService::ControlDTC
Setting
Note This represents an instance of the "Control DTC Setting" diagnostic service.
Tags: atp.recommendedPackage=DiagnosticControlDtcSettings
Base ARElement, ARObject, CollectableElement, DiagnosticCommonElement, Diagnostic
ServiceInstance, Identifiable, MultilanguageReferrable, PackageableElement,
Referrable
Attribute Type Mul. Kind Note
dtcSetting DiagnosticContr 1 ref This reference substantiates that abstract
Class olDTCSettingCl reference in the role serviceClass for this specific
ass concrete class.
Class DiagnosticControlDTCSettingClass
Package M2::AUTOSARTemplates::DiagnosticExtract::Dcm::DiagnosticService::ControlDTC
Setting
Note This meta-class contains attributes shared by all instances of the "Control DTC
Setting" diagnostic service.
Tags: atp.recommendedPackage=DiagnosticControlDtcSettings
Base ARElement, ARObject, CollectableElement, DiagnosticCommonElement, Diagnostic
ServiceClass, Identifiable, MultilanguageReferrable, PackageableElement, Referrable
Attribute Type Mul. Kind Note
controlOpti Boolean 1 attr This represents the decision whether the
onRecordP DTCSettingControlOptionRecord (see ISO
resent 14229-1) is in general supported in the request
message.
5.5.10 ResponseOnEvent
DiagnosticCommonElement DiagnosticCommonElement
+accessPermission
DiagnosticAccessPermission DiagnosticServiceClass
0..1 + accessPermissionValidity :DiagnosticAccessPermissionValidityEnum
+accessPermission 0..1
DiagnosticCommonElement
DiagnosticServiceInstance +serviceClass
«atpAbstract» 0..1
DiagnosticResponseOnEvent DiagnosticResponseOnEventClass
+responseOnEventClass
+ interMessageTime :TimeValue
1
{redefines
serviceClass}
DiagnosticEventWindow
+eventWindow
+ eventWindowTime :DiagnosticEventWindowTimeEnum
0..* + storageStateEvaluation :Boolean
DiagnosticResponseOnEventTrigger
+event
+ initialEventStatus :DiagnosticInitialEventStatusEnum
0..*
«enumeration»
DiagnosticEventWindowTimeEnum
eventWindowInfinite
eventWindowCurrentAndFollowingCycle
eventWindowCurrentCycle DiagnosticDataChangeTrigger DiagnosticDtcChangeTrigger
«enumeration»
DiagnosticInitialEventStatusEnum
returnOnEventCleared
returnOnEventStopped
+dataIdentifier 1
DiagnosticAbstractDataIdentifier
DiagnosticDataIdentifier
Class DiagnosticResponseOnEvent
Package M2::AUTOSARTemplates::DiagnosticExtract::Dcm::DiagnosticService::ResponseOn
Event
Note This represents an instance of the "Response on Event" diagnostic service.
Tags: atp.recommendedPackage=DiagnosticResponseOnEvents
Base ARElement, ARObject, CollectableElement, DiagnosticCommonElement, Diagnostic
ServiceInstance, Identifiable, MultilanguageReferrable, PackageableElement,
Referrable
Attribute Type Mul. Kind Note
event DiagnosticResp * aggr This represents the collection of
onseOnEventTri DiagnosticResponseOnEventTriggers defined in
gger the context of the enclosing
DiagnosticResponseOnEvent.
eventWind DiagnosticEvent * aggr This represents the applicable
ow Window DiagnosticEventWindows
responseO DiagnosticResp 1 ref This reference substantiates that abstract
nEventCla onseOnEventCl reference in the role serviceClass for this specific
ss ass concrete class.
Class DiagnosticResponseOnEventClass
Package M2::AUTOSARTemplates::DiagnosticExtract::Dcm::DiagnosticService::ResponseOn
Event
Note This represents the ability to define common properties for alle instances of the
"Response on Event" diagnostic service.
Tags: atp.recommendedPackage=DiagnosticResponseOnEvents
Base ARElement, ARObject, CollectableElement, DiagnosticCommonElement, Diagnostic
ServiceClass, Identifiable, MultilanguageReferrable, PackageableElement, Referrable
Attribute Type Mul. Kind Note
interMessa TimeValue 1 attr Provide the minimum time in seconds between
geTime two consecutive transmissions of an ROE event.
Class DiagnosticEventWindow
Package M2::AUTOSARTemplates::DiagnosticExtract::Dcm::DiagnosticService::ResponseOn
Event
Note This represents the ability to define the characteristics of the applicable event window
Base ARObject
Attribute Type Mul. Kind Note
eventWind DiagnosticEvent 1 attr This attribute clarifies the validity of the
owTime WindowTimeEn eventWindow
um
Class DiagnosticDataChangeTrigger
Package M2::AUTOSARTemplates::DiagnosticExtract::Dcm::DiagnosticService::ResponseOn
Event
Note This represents the ability to define a trigger based on the change of a given
DiagnosticDataIdentifier.
Base ARObject, DiagnosticResponseOnEventTrigger
Attribute Type Mul. Kind Note
dataIdentifi DiagnosticDataI 1 ref This represents the corresponding
er dentifier DiagnosticDataIdentifier.
Class DiagnosticDtcChangeTrigger
Package M2::AUTOSARTemplates::DiagnosticExtract::Dcm::DiagnosticService::ResponseOn
Event
Note This represents the ability to define a trigger that executes on the change of any
DiagnosticTroubleCode.
Base ARObject, DiagnosticResponseOnEventTrigger
Attribute Type Mul. Kind Note
dtcStatusM PositiveInteger 0..1 attr This attribute represents the ability to define a
ask status mask for the triggering of an ROE response
on the change of a DTC.
Enumeration DiagnosticInitialEventStatusEnum
Package M2::AUTOSARTemplates::DiagnosticExtract::Dcm::DiagnosticService::Response
OnEvent
Note This represents the ability to define an initial status for the ROE service.
Literal Description
returnOn This means that the ResponseOnEvent is initially cleared.
EventCleared
Tags: atp.EnumerationValue=0
return This means that the ResponseOnEvent is initially stopped.
OnEvent
Stopped Tags: atp.EnumerationValue=1
Enumeration DiagnosticEventWindowTimeEnum
Package M2::AUTOSARTemplates::DiagnosticExtract::Dcm::DiagnosticService::Response
OnEvent
Note This represents the ability to define the semantics of the event window.
Literal Description
eventWindow This means that the window extends to this and the following cycle.
CurrentAnd
Following Tags: atp.EnumerationValue=0
Cycle
eventWindow This means that the window is limited to the current cycle.
CurrentCycle
Tags: atp.EnumerationValue=1
eventWindow This means that the window extents without a border.
Infinite
Tags: atp.EnumerationValue=2
5.5.11 ReadDTCInformation
DiagnosticCommonElement DiagnosticCommonElement
DiagnosticAccessPermission +accessPermission DiagnosticServiceClass
+accessPermission 0..1
DiagnosticCommonElement
DiagnosticServiceInstance +serviceClass
«atpAbstract» 0..1
DiagnosticReadDTCInformation DiagnosticReadDTCInformationClass
+readDTCInformationClass
1
{redefines
serviceClass}
• REPORT_DTC_BY_SEVERITY_MASK_RECORD
• REPORT_SEVERITY_INFORMATION_OF_DTC
• REPORT_SUPPORTED_DTC
• REPORT_FIRST_TEST_FAILED_DTC
• REPORT_FIRST_CONFIRMED_DTC
• REPORT_MOST_RECENT_TEST_FAILED_DTC
• REPORT_MOST_RECENT_CONFIRMED_DTC
• REPORT_DTC_FAULT_DETECTION_COUNTER
• REPORT_DTC_WITH_PERMANENT_STATUS
• REPORT_USER_DEF_MEMORY_DTC_BY_STATUS_MASK
• REPORT_USER_DEF_MEMORY_DTC_SNAPSHOT_RECORD_BY_DTC_NUMBER
• REPORT_USER_DEF_MEMORY_DTC_EXT_DATA_RECORD_BY_DTC_NUMBER
• REPORT_WWH_OBD_DTC_BY_MASK_RECORD
• REPORT_WWH_OBD_DTC_WITH_PERMANENT_STATUS
The meanings of these values are described in the applicable ISO document (ISO
14229-1) [16]. c(RS_DEXT_00001, RS_DEXT_00006, RS_DEXT_00051)
Please note that there is nothing to configure for DiagnosticReadDTCInformation
beyond its mere existence.
Class DiagnosticReadDTCInformation
Package M2::AUTOSARTemplates::DiagnosticExtract::Dcm::DiagnosticService::ReadDTC
Information
Note This represents an instance of the "Read DTC Information" diagnostic service.
Tags: atp.recommendedPackage=DiagnosticReadDtcInformations
Base ARElement, ARObject, CollectableElement, DiagnosticCommonElement, Diagnostic
ServiceInstance, Identifiable, MultilanguageReferrable, PackageableElement,
Referrable
Attribute Type Mul. Kind Note
readDTCIn DiagnosticRead 1 ref This reference substantiates that abstract
formationC DTCInformation reference in the role serviceClass for this specific
lass Class concrete class.
5.5.12 RoutineControl
Figure 5.22: Abstract base class for subfunctions of diagnostic service RoutineCon-
trol (0x31)
DiagnosticRoutineControl DiagnosticRoutineControlClass
+routineControlClass
1
{redefines
serviceClass}
+routine 1
DiagnosticCommonElement
DiagnosticRoutine
+request 0..* +response 0..* +request 0..* +response 0..* +response 0..*
DiagnosticParameter
+ bitOffset :PositiveInteger
«atpVariation,atpSplitable»
+dataElement 1
Identifiable
DiagnosticDataElement
• DiagnosticStartRoutine.response
• DiagnosticStopRoutine.request
• DiagnosticStopRoutine.response
• DiagnosticRequestRoutineResults.response
c(RS_DEXT_00015)
A DiagnosticParameter, in turn, aggregates a DiagnosticDataElement (see
section 4.2) in the role dataElement.
[TPS_DEXT_01080] Diagnostic Routine needs to be started d ISO 14229-1 [16]
does not foresee the existence of a Diagnostic Routine that is already executing
at boot time. Therefore, a Diagnostic Routine needs to be started at some point
in order to make sense of it. c(RS_DEXT_00015)
[constr_1339] Existence of DiagnosticRoutine.start d In a complete Diag-
nosticExtract, the attribute DiagnosticRoutine.start shall always exist for
any given DiagnosticRoutine. c()
[TPS_DEXT_01035] Existence of DiagnosticRoutine.stop and Diagnosti-
cRoutine.requestResult d In contrast to DiagnosticRoutine.start (as clar-
ified by [constr_1339]), the existence of DiagnosticRoutine.stop and Diagnos-
ticRoutine.requestResult is truly optional. c(RS_DEXT_00015)
[constr_1340] Consistency of DiagnosticServiceSwMapping with respect
to synchronously called DiagnosticRoutines d Each DiagnosticSer-
viceSwMapping that references a DiagnosticRoutineControl that only aggre-
gates a DiagnosticStartRoutine in the role start shall only reference a Swc-
ServiceDependency or BswServiceDependency that in turn aggregates a Diag-
nosticRoutineNeeds with attribute diagRoutineType set to DiagnosticRou-
tineTypeEnum.synchronous. c()
[constr_1341] Consistency of DiagnosticServiceSwMapping with respect
to asynchronously called DiagnosticRoutines d Each DiagnosticSer-
viceSwMapping that references a DiagnosticRoutineControl that aggregates
a DiagnosticStopRoutine and/or DiagnosticRequestRoutineResults in the
role stop resp. requestResult shall only reference a SwcServiceDepen-
dency or BswServiceDependency that in turn aggregates a DiagnosticRou-
tineNeeds with attribute diagRoutineType set to DiagnosticRoutineType-
Enum.asynchronous. c()
[TPS_DEXT_01049] Consistency of DiagnosticServiceSwMapping with re-
spect to routine IDs d For each DiagnosticServiceSwMapping that references
a DiagnosticRoutineNeeds and a DiagnosticRoutineControl, the value of
DiagnosticRoutineNeeds.ridNumber shall be ignored and the value of Diag-
nosticRoutineControl.routine.id shall be taken instead. c(RS_DEXT_00015,
RS_DEXT_00052)
DiagnosticCommonElement
DiagnosticAccessPermission
+accessPermission 0..1
Identifiable
DiagnosticRoutineSubfunction
Class DiagnosticRoutine
Package M2::AUTOSARTemplates::DiagnosticExtract::CommonDiagnostics
Note This meta-class represents the ability to define a diagnostic routine.
Tags: atp.recommendedPackage=DiagnosticRoutines
Base ARElement, ARObject, CollectableElement, DiagnosticCommonElement, Identifiable,
MultilanguageReferrable, PackageableElement, Referrable
Attribute Type Mul. Kind Note
id PositiveInteger 1 attr This is the numerical identifier used to identify the
DiagnosticRoutine in the scope of diagnostic
workflow
Stereotypes: atpVariation
Tags: vh.latestBindingTime=preCompileTime
requestRe DiagnosticRequ 0..1 aggr This represents the ability to request the result of
sult estRoutineResu a running routine.
lts
1
of meta-classes DiagnosticStartRoutine, DiagnosticStopRoutine, and DiagnosticRe-
questRoutineResults
routineInfo PositiveInteger 0..1 attr This represents the routine info byte. The info byte
contains a manufacturer-specific value (for the
identification of record identifiers) that is reported
to the tester.
Class DiagnosticStartRoutine
Package M2::AUTOSARTemplates::DiagnosticExtract::CommonDiagnostics
Note This represents the ability to start a diagnostic routine.
Base ARObject, DiagnosticRoutineSubfunction, Identifiable, MultilanguageReferrable,
Referrable
Attribute Type Mul. Kind Note
request DiagnosticPara * aggr This represents the request parameters.
meter
response DiagnosticPara * aggr This represents the response parameters.
meter
Class DiagnosticStopRoutine
Package M2::AUTOSARTemplates::DiagnosticExtract::CommonDiagnostics
Note This represents the ability to stop a diagnostic routine.
Base ARObject, DiagnosticRoutineSubfunction, Identifiable, MultilanguageReferrable,
Referrable
Attribute Type Mul. Kind Note
request DiagnosticPara * aggr This represents the request parameters.
meter
response DiagnosticPara * aggr This represents the response parameters.
meter
Class DiagnosticRequestRoutineResults
Package M2::AUTOSARTemplates::DiagnosticExtract::CommonDiagnostics
Note This meta-class represents the ability to define the result of a diagnostic routine
execution.
Base ARObject, DiagnosticRoutineSubfunction, Identifiable, MultilanguageReferrable,
Referrable
Attribute Type Mul. Kind Note
Class DiagnosticRoutineControl
Package M2::AUTOSARTemplates::DiagnosticExtract::Dcm::DiagnosticService::Routine
Control
Note This represents an instance of the "Routine Control" diagnostic service.
Tags: atp.recommendedPackage=DiagnosticRoutineControls
Base ARElement, ARObject, CollectableElement, DiagnosticCommonElement, Diagnostic
ServiceInstance, Identifiable, MultilanguageReferrable, PackageableElement,
Referrable
Attribute Type Mul. Kind Note
routine DiagnosticRouti 1 ref This refers to the applicable DiagnosticRoutine.
ne
routineCon DiagnosticRouti 1 ref This reference substantiates that abstract
trolClass neControlClass reference in the role serviceClass for this specific
concrete class.
Class DiagnosticRoutineNeeds
Package M2::AUTOSARTemplates::CommonStructure::ServiceNeeds
Note Specifies the general needs on the configuration of the Diagnostic Communication
Manager (Dcm) which are not related to a particular item (e.g. a PID). The main use
case is the mapping of service ports to the Dcm which are not related to a particular
item.
Base ARObject, DiagnosticCapabilityElement, Identifiable, MultilanguageReferrable,
Referrable, ServiceNeeds
Attribute Type Mul. Kind Note
diagRoutin DiagnosticRouti 1 attr This denotes the type of diagnostic routine which
eType neTypeEnum is implemented by the referenced server port.
ridNumber PositiveInteger 0..1 attr This represents a routine identifier for the
diagnostic routine. This allows to predefine the
RID number if the a function developer has
received a particular requirement from the OEM or
from a standardization body.
Enumeration DiagnosticRoutineTypeEnum
Package M2::AUTOSARTemplates::CommonStructure::ServiceNeeds
Note This enumerator specifies the different types of diagnostic routines.
Literal Description
asynchronous This indicates that the diagnostic server is not blocked while the diagnostic routine
is running.
Tags: atp.EnumerationValue=0
synchronous This indicates that the diagnostic routine blocks the diagnostic server in the ECU
while the routine is running.
Tags: atp.EnumerationValue=1
5.5.13 SecurityAccess
+accessPermission 0..1
DiagnosticCommonElement
+serviceClass
DiagnosticServiceInstance
«atpAbstract» 0..1
DiagnosticSecurityAccess DiagnosticSecurityAccessClass
+securityAccessClass
+ requestSeedId :PositiveInteger
1
{redefines
serviceClass}
«atpSplitable»
DiagnosticCommonElement
DiagnosticSecurityLevel
Please note that (as already explained in section 5.5) the sub-functions of this service
are modeled by means of the category attribute.
In response to conceptual differences between many other diagnostic services and
SecurityAccess, the applicable sub-functions for the diagnostic service Secu-
rityAccess are not defined by means of the attribute DiagnosticSecurityAc-
cess.category.
[TPS_DEXT_01036] Work-flow within the execution of the diagnostic service Se-
curityAccess d The work-flow within the execution of the diagnostic service Secu-
rityAccess basically boils down to the tester sending the request to obtain a seed
from the diagnostic stack and then sending back a key to the stack.
Thus, the sub-functions could be generically be described as requestSeed and send-
Key, which is precisely what the ISO 14229-1 [16] does.
According to this logic, the requestSeed could get a specific number assigned to iden-
tify the sub-function and then the sendKey sub-function would get assigned the number
of the requestSeed sub-function + 1. Again, this is fully in line with the ISO 14229-
1 [16]. c(RS_DEXT_00009)
However, there is further dimension to take into account, namely the DiagnosticSe-
curityLevel. According to ISO 14229-1 [16], different security levels make different
numbers for the sub-function identifier.
[TPS_DEXT_01037] Semantics of DiagnosticSecurityAccess.requestSee-
dId d The attribute DiagnosticSecurityAccess.requestSeedId shall be used
to define the number of the sub-function of the diagnostic service SecurityAccess
according to the intended security level. c(RS_DEXT_00009)
[constr_1342] Possible values for DiagnosticSecurityAccess.requestSee-
dId d The value of the attribute DiagnosticSecurityAccess.requestSeedId
shall only be set to an odd number2 .
The supported value range consists of the following list:
• all odd numbers in the closed interval 0x01 .. 0x41
• 0x5F (this corresponds to the case of end-of-life activation of on-board pyrotech-
nic devices according to ISO 26021-2 [17])
• all odd numbers in the closed interval 0x61 .. 0x7E
c()
In contrast to a similar situation in the case of the diagnostic service SessionControl
(see section 5.5.14), there is no real evidence that a DiagnosticSecurityLevel al-
ways exists before the referencing DiagnosticSecurityAccess is created in order
to properly establish the reference in the role DiagnosticSecurityAccess.secu-
rityLevel.
2
The even numbers are reserved for the identification of the corresponding sendKey sub-function, as
explained by [TPS_DEXT_01036].
Class DiagnosticSecurityAccess
Package M2::AUTOSARTemplates::DiagnosticExtract::Dcm::DiagnosticService::Security
Access
Note This represents an instance of the "Security Access" diagnostic service.
Tags: atp.recommendedPackage=DiagnosticSecurityAccesss
Base ARElement, ARObject, CollectableElement, DiagnosticCommonElement, Diagnostic
ServiceInstance, Identifiable, MultilanguageReferrable, PackageableElement,
Referrable
Attribute Type Mul. Kind Note
requestSe PositiveInteger 1 attr This would be 0x01, 0x03, 0x05, ...
edId
The sendKey id can be computed by adding 1 to
the requestSeedId
securityAc DiagnosticSecur 1 ref This reference substantiates that abstract
cessClass ityAccessClass reference in the role serviceClass for this specific
concrete class.
Stereotypes: atpSplitable
Tags: atp.Splitkey=securityLevel
5.5.14 SessionControl
DiagnosticCommonElement DiagnosticCommonElement
DiagnosticAccessPermission +accessPermission DiagnosticServiceClass
0..1 + accessPermissionValidity :DiagnosticAccessPermissionValidityEnum
0..1 +accessPermission
DiagnosticCommonElement
DiagnosticServiceInstance +serviceClass
«atpAbstract» 0..1
DiagnosticSessionControl DiagnosticSessionControlClass
+sessionControlClass
1
{redefines
serviceClass}
DiagnosticCommonElement
DiagnosticSession
+ id :PositiveInteger
+ jumpToBootLoader :DiagnosticJumpToBootLoaderEnum
+ p2ServerMax :TimeValue
+ p2StarServerMax :TimeValue
According to ISO 14229-1 [16], the diagnostic service SessionControl defines sub-
functions.
[TPS_DEXT_01039] Identification of the sub-function of DiagnosticSession-
Control d In the case of DiagnosticSessionControl it would not be a good idea
to encode the applicable sub-function by means of the attribute DiagnosticSes-
sionControl.category.
Actually, the possible sub-functions are strongly related to the concept of the diagnostic
session, represented by the meta-class DiagnosticSession.
The latter, in turn, has an attribute id that directly corresponds to the number of the
applicable sub-function for DiagnosticSessionControl.
In other words, the sub-function of DiagnosticSessionControl is identified by
means of the reference DiagnosticSessionControl.diagnosticSession. c
(RS_DEXT_00003, RS_DEXT_00051)
[TPS_DEXT_01082] Existence of DiagnosticSessionControl.diagnostic-
Session d The idea of modeling the sub-function of DiagnosticSessionCon-
trol by means of the reference DiagnosticSessionControl.diagnosticSes-
sion implies that the applicable DiagnosticSession already exists at the time when
the given DiagnosticSessionControl is created.
It is assumed that this will always be the case because the definition of Diagnos-
ticSessions is part of laying the groundwork3 for diagnostic communication. c
(RS_DEXT_00003, RS_DEXT_00040)
3
This is similar to the definition of commonly used data types in a software development project
It is hard to foresee a scenario where the DiagnosticSessions are defined near the
very end of the work-flow that leads to a complete DiagnosticExtract.
Class DiagnosticSessionControl
Package M2::AUTOSARTemplates::DiagnosticExtract::Dcm::DiagnosticService::Session
Control
Note This represents an instance of the "Session Control" diagnostic service.
Tags: atp.recommendedPackage=DiagnosticSessionControls
Base ARElement, ARObject, CollectableElement, DiagnosticCommonElement, Diagnostic
ServiceInstance, Identifiable, MultilanguageReferrable, PackageableElement,
Referrable
Attribute Type Mul. Kind Note
diagnostic DiagnosticSessi 1 ref This represents the applicable DiagnosticSessions
Session on
sessionCo DiagnosticSessi 1 ref This reference substantiates that abstract
ntrolClass onControlClass reference in the role serviceClass for this specific
concrete class.
5.5.15 RequestFileTransfer
0..1 +accessPermission
DiagnosticCommonElement
DiagnosticServiceInstance +serviceClass
«atpAbstract» 0..1
DiagnosticRequestFileTransfer DiagnosticRequestFileTransferClass
+requestFileTransferClass
1
{redefines
serviceClass}
Class DiagnosticRequestFileTransfer
Package M2::AUTOSARTemplates::DiagnosticExtract::Dcm::DiagnosticService::RequestFile
Transfer
Note This diagnostic service instance implements the UDS service 0x38.
Tags: atp.recommendedPackage=DiagnosticRequestFileTransfers
Base ARElement, ARObject, CollectableElement, DiagnosticCommonElement, Diagnostic
ServiceInstance, Identifiable, MultilanguageReferrable, PackageableElement,
Referrable
Attribute Type Mul. Kind Note
requestFile DiagnosticRequ 1 ref This reference substantiates that abstract
TransferCl estFileTransfer reference in the role serviceClass for this specific
ass Class concrete class.
Class DiagnosticRequestFileTransferClass
Package M2::AUTOSARTemplates::DiagnosticExtract::Dcm::DiagnosticService::RequestFile
Transfer
Note This meta-class contains attributes shared by all instances of the "Request File
transfer" diagnostic service.
Tags: atp.recommendedPackage=DiagnosticRequestFileTransfers
Base ARElement, ARObject, CollectableElement, DiagnosticCommonElement, Diagnostic
ServiceClass, Identifiable, MultilanguageReferrable, PackageableElement, Referrable
Attribute Type Mul. Kind Note
– – – – –
«atpVariation»
DataDefProperties::SwDataDefProps
fixedSize
variableSize
+swDataDefProps 0..1
DiagnosticCommonElement Identifiable
DiagnosticParameterIdentifier DiagnosticDataElement
+dataElement 1
+supportInfoByte 0..1
«atpVariation,atpSplitable»
DiagnosticSupportInfoByte
+ position :PositiveInteger
+ size :PositiveInteger
«atpSplitable» Tags:
vh.latestBindingTime =
postBuild
«atpSplitable,atpVariation»
DiagnosticParameterSupportInfo
+ supportInfoBit :PositiveInteger
+supportInfo 0..1
+dataElement 0..*
DiagnosticParameter
+ bitOffset :PositiveInteger
Class DiagnosticParameterIdentifier
Package M2::AUTOSARTemplates::DiagnosticExtract::CommonDiagnostics
Note This meta-class represents the ability to model a diagnostic parameter identifier (PID)
for the purpose of executing on-board diagnostics (OBD).
Tags: atp.recommendedPackage=DiagnosticParameterIdentifiers
Base ARElement, ARObject, CollectableElement, DiagnosticCommonElement, Identifiable,
MultilanguageReferrable, PackageableElement, Referrable
Attribute Type Mul. Kind Note
Class DiagnosticParameterSupportInfo
Package M2::AUTOSARTemplates::DiagnosticExtract::CommonDiagnostics
Note This represents a way to define which bit of the supportInfo is representing this part of
the PID
Base ARObject
Attribute Type Mul. Kind Note
supportInfo PositiveInteger 1 attr defines the bit in the SupportInfo byte, which
Bit represents the PID DataElement pidSize / position
/ size. Unit: byte.
Class DiagnosticSupportInfoByte
Package M2::AUTOSARTemplates::DiagnosticExtract::CommonDiagnostics
Note This meta-class defines the support information (typically byte A) to declare the
usability of the DataElements within the so-called packeted PIDs (e.g. PID$68).
Base ARObject
Attribute Type Mul. Kind Note
position PositiveInteger 1 attr This represents the position of the supportInfo in
the PID. Unit: byte.
size PositiveInteger 1 attr This represents the size of the supportInfo within
the PID. Unit: byte.
+accessPermission 0..1
DiagnosticCommonElement
DiagnosticServiceInstance +serviceClass
«atpAbstract» 0..1
DiagnosticRequestCurrentPowertrainData DiagnosticRequestCurrentPowertrainDataClass
+requestCurrentPowertrainDiagnosticDataClass
1
{redefines
serviceClass}
+pid 1
DiagnosticCommonElement
DiagnosticParameterIdentifier
+ id :PositiveInteger
+ pidSize :PositiveInteger
Class DiagnosticRequestCurrentPowertrainData
Package M2::AUTOSARTemplates::DiagnosticExtract::Dcm::ObdService::Mode_0x01_
RequestCurrentPowertrainDiagnosticData
Note This meta-class represents the ability to model an instance of the OBD mode 0x01
service.
Tags: atp.recommendedPackage=DiagnosticRequestCurrentPowertrainDatas
Base ARElement, ARObject, CollectableElement, DiagnosticCommonElement, Diagnostic
ServiceInstance, Identifiable, MultilanguageReferrable, PackageableElement,
Referrable
Attribute Type Mul. Kind Note
pid DiagnosticPara 1 ref This represents the PID associated with this
meterIdentifier instance of the OBD mode 0x01 service.
Class DiagnosticRequestCurrentPowertrainDataClass
Package M2::AUTOSARTemplates::DiagnosticExtract::Dcm::ObdService::Mode_0x01_
RequestCurrentPowertrainDiagnosticData
Note This meta-class represents the ability to define common properties for all instances of
the "Request current Powertrain Data" OBD diagnostic service.
Tags: atp.recommendedPackage=DiagnosticRequestCurrentPowertrainDatas
Base ARElement, ARObject, CollectableElement, DiagnosticCommonElement, Diagnostic
ServiceClass, Identifiable, MultilanguageReferrable, PackageableElement, Referrable
Attribute Type Mul. Kind Note
– – – – –
DiagnosticCommonElement DiagnosticCommonElement
DiagnosticAccessPermission +accessPermission DiagnosticServiceClass
+accessPermission 0..1
DiagnosticCommonElement
DiagnosticServiceInstance +serviceClass
«atpAbstract» 0..1
DiagnosticRequestPowertrainFreezeFrameData DiagnosticRequestPowertrainFreezeFrameDataClass
+requestPowertrainFreezeFrameData
1
{redefines serviceClass}
+freezeFrame 1
DiagnosticCommonElement
DiagnosticPowertrainFreezeFrame
+pid 0..*
DiagnosticCommonElement
DiagnosticParameterIdentifier
+ id :PositiveInteger
+ pidSize :PositiveInteger
Class DiagnosticRequestPowertrainFreezeFrameData
Package M2::AUTOSARTemplates::DiagnosticExtract::Dcm::ObdService::Mode_0x02_
RequestPowertrainFreezeFrameData
Note This meta-class represents the ability to model an instance of the OBD mode 0x02
service.
Tags: atp.recommendedPackage=DiagnosticPowertrainFreezeFrames
Base ARElement, ARObject, CollectableElement, DiagnosticCommonElement, Diagnostic
ServiceInstance, Identifiable, MultilanguageReferrable, PackageableElement,
Referrable
Attribute Type Mul. Kind Note
freezeFra DiagnosticPowe 1 ref This represents the associated freeze-frame.
me rtrainFreezeFra
me
requestPo DiagnosticRequ 1 ref This reference substantiates that abstract
wertrainFr estPowertrainFr reference in the role serviceClass for this specific
eezeFram eezeFrameData concrete class.
eData Class
Thereby, the reference represents the ability to
access shared attributes among all
DiagnosticRequestPowertrainFreezeFrameData in
the given context.
Class DiagnosticRequestPowertrainFreezeFrameDataClass
Package M2::AUTOSARTemplates::DiagnosticExtract::Dcm::ObdService::Mode_0x02_
RequestPowertrainFreezeFrameData
Note This meta-class represents the ability to define common properties for all instances of
the "Request Powertrain Freeze Frame Data" OBD diagnostic service.
Tags: atp.recommendedPackage=DiagnosticPowertrainFreezeFrames
Base ARElement, ARObject, CollectableElement, DiagnosticCommonElement, Diagnostic
ServiceClass, Identifiable, MultilanguageReferrable, PackageableElement, Referrable
Attribute Type Mul. Kind Note
– – – – –
Class DiagnosticPowertrainFreezeFrame
Package M2::AUTOSARTemplates::DiagnosticExtract::Dcm::ObdService::Mode_0x02_
RequestPowertrainFreezeFrameData
Note This meta-class represents a powertrain-related freeze-frame. In theory, this
meta-class would need an additional id attribute. However, legal regulations requires
only a single value for this attribute anyway.
Tags: atp.recommendedPackage=DiagnosticPowertrainFreezeFrames
Base ARElement, ARObject, CollectableElement, DiagnosticCommonElement, Identifiable,
MultilanguageReferrable, PackageableElement, Referrable
Attribute Type Mul. Kind Note
pid DiagnosticPara * ref This represents the PID associated with this
meterIdentifier instance of the OBD mode 0x02 service.
DiagnosticCommonElement DiagnosticCommonElement
DiagnosticAccessPermission +accessPermission DiagnosticServiceClass
+accessPermission 0..1
DiagnosticCommonElement
DiagnosticServiceInstance +serviceClass
«atpAbstract» 0..1
DiagnosticRequestEmissionRelatedDTC DiagnosticRequestEmissionRelatedDTCClass
+requestEmissionRelatedDtcClass
1
{redefines
serviceClass}
Figure 5.31: Modeling of diagnostic service for OBD Modes 0x03, 0x07
Class DiagnosticRequestEmissionRelatedDTC
Package M2::AUTOSARTemplates::DiagnosticExtract::Dcm::ObdService::Mode_0x03_0x07_
RequestEmissionRelatedDTC
Note This meta-class represents the ability to model an instance of the OBD mode
0x03/0x07 service.
Tags: atp.recommendedPackage=DiagnosticRequestEmissionRelatedDTCs
Base ARElement, ARObject, CollectableElement, DiagnosticCommonElement, Diagnostic
ServiceInstance, Identifiable, MultilanguageReferrable, PackageableElement,
Referrable
Attribute Type Mul. Kind Note
requestEm DiagnosticRequ 1 ref This reference substantiates that abstract
issionRelat estEmissionRel reference in the role serviceClass for this specific
edDtcClas atedDTCClass concrete class.
s
Thereby, the reference represents the ability to
access shared attributes among all
DiagnosticRequestEmissionRelatedDTC in the
given context.
Class DiagnosticRequestEmissionRelatedDTCClass
Package M2::AUTOSARTemplates::DiagnosticExtract::Dcm::ObdService::Mode_0x03_0x07_
RequestEmissionRelatedDTC
Note This meta-class represents the ability to define common properties for all instances of
the "Request Emission Related DTC" OBD diagnostic service.
Tags: atp.recommendedPackage=DiagnosticRequestEmissionRelatedDTCs
Base ARElement, ARObject, CollectableElement, DiagnosticCommonElement, Diagnostic
ServiceClass, Identifiable, MultilanguageReferrable, PackageableElement, Referrable
Attribute Type Mul. Kind Note
– – – – –
+accessPermission 0..1
DiagnosticCommonElement
DiagnosticServiceInstance +serviceClass
«atpAbstract» 0..1
DiagnosticClearResetEmissionRelatedInfo DiagnosticClearResetEmissionRelatedInfoClass
+clearResetEmissionRelatedDiagnosticInfoClass
1
{redefines serviceClass}
Class DiagnosticClearResetEmissionRelatedInfo
Package M2::AUTOSARTemplates::DiagnosticExtract::Dcm::ObdService::Mode_0x04_Clear
ResetEmissionRelatedInfo
Note This meta-class represents the ability to model an instance of the OBD mode 0x04
service.
Tags: atp.recommendedPackage=DiagnosticClearResetEmissionRelatedInfos
Base ARElement, ARObject, CollectableElement, DiagnosticCommonElement, Diagnostic
ServiceInstance, Identifiable, MultilanguageReferrable, PackageableElement,
Referrable
Attribute Type Mul. Kind Note
clearReset DiagnosticClear 1 ref This reference substantiates that abstract
EmissionR ResetEmission reference in the role serviceClass for this specific
elatedDiag RelatedInfoClas concrete class.
nosticInfoC s
lass Thereby, the reference represents the ability to
access shared attributes among all
DiagnosticClearResteEmissionRelatedInfo in the
given context.
Class DiagnosticClearResetEmissionRelatedInfoClass
Package M2::AUTOSARTemplates::DiagnosticExtract::Dcm::ObdService::Mode_0x04_Clear
ResetEmissionRelatedInfo
Note This meta-class represents the ability to define common properties for all instances of
the "Clear Reset Emission Related Data" OBD diagnostic service.
Tags: atp.recommendedPackage=DiagnosticClearResetEmissionRelatedInfos
Base ARElement, ARObject, CollectableElement, DiagnosticCommonElement, Diagnostic
ServiceClass, Identifiable, MultilanguageReferrable, PackageableElement, Referrable
Attribute Type Mul. Kind Note
– – – – –
+accessPermission 0..1
DiagnosticCommonElement
DiagnosticServiceInstance +serviceClass
«atpAbstract» 0..1
DiagnosticRequestOnBoardMonitoringTestResults DiagnosticRequestOnBoardMonitoringTestResultsClass
+requestOnBoardMonitoringTestResultsClass
1
{redefines
serviceClass}
+testResult 1
DiagnosticCommonElement
DiagnosticTestResult
+ updateKind :DiagnosticTestResultUpdateEnum
In general, the mode 0x06 supports the querying of supported test identifiers from
a given server. However, this functionality is not supported in AUTOSAR, hence the
existence of [constr_1462].
Class DiagnosticRequestOnBoardMonitoringTestResults
Package M2::AUTOSARTemplates::DiagnosticExtract::Dcm::ObdService::Mode_0x06_
RequestOnBoardMonitoringTestResults
Note This meta-class represents the ability to model an instance of the OBD mode 0x06
service.
Tags: atp.recommendedPackage=DiagnosticRequestOnBoardMonitoringTest
Resultss
Base ARElement, ARObject, CollectableElement, DiagnosticCommonElement, Diagnostic
ServiceInstance, Identifiable, MultilanguageReferrable, PackageableElement,
Referrable
Attribute Type Mul. Kind Note
requestOn DiagnosticRequ 1 ref This reference substantiates that abstract
BoardMon estOnBoardMon reference in the role serviceClass for this specific
itoringTest itoringTestResul concrete class.
ResultsCla tsClass
ss Thereby, the reference represents the ability to
access shared attributes among all
DiagnosticRequestOnBoardMonitoringTestResults
in the given context.
testResult DiagnosticTest 1 ref This reference identifies the applicable test
Result identifier for setting up a request message for
mode 0x06.
Class DiagnosticRequestOnBoardMonitoringTestResultsClass
Package M2::AUTOSARTemplates::DiagnosticExtract::Dcm::ObdService::Mode_0x06_
RequestOnBoardMonitoringTestResults
Note This meta-class represents the ability to define common properties for all instances of
the "Request On-Board Monitoring Test Results" OBD diagnostic service.
Tags: atp.recommendedPackage=DiagnosticRequestOnBoardMonitoringTest
Resultss
Base ARElement, ARObject, CollectableElement, DiagnosticCommonElement, Diagnostic
ServiceClass, Identifiable, MultilanguageReferrable, PackageableElement, Referrable
Attribute Type Mul. Kind Note
– – – – –
Class DiagnosticTestResult
Package M2::AUTOSARTemplates::DiagnosticExtract::Dem::DiagnosticTestResult
Note This meta-class represents the ability to define diagnostic test results.
Tags: atp.recommendedPackage=DiagnosticTestResults
Base ARElement, ARObject, CollectableElement, DiagnosticCommonElement, Identifiable,
MultilanguageReferrable, PackageableElement, Referrable
Attribute Type Mul. Kind Note
event DiagnosticEvent 0..1 ref This attribute represents the diagnostic event that
is related to the diagnostic test result.
monitoredI DiagnosticMeas 1 ref This attribute represents the related diagnostic
dentifier urementIdentifie monitored identifier.
r
testIdentifi DiagnosticTestI 1 aggr This attribute represents the applicable test
er dentifier identifier.
updateKin DiagnosticTest 1 attr This attribute controls the update behavior of the
d ResultUpdateEn enclosing DiagnosticTestResult.
um
DiagnosticCommonElement DiagnosticCommonElement
DiagnosticAccessPermission +accessPermission DiagnosticServiceClass
+accessPermission 0..1
DiagnosticCommonElement
DiagnosticServiceInstance +serviceClass
«atpAbstract» 0..1
DiagnosticRequestControlOfOnBoardDevice DiagnosticRequestControlOfOnBoardDeviceClass
+requestControlOfOnBoardDeviceClass
1
{redefines
serviceClass}
+testId 1
DiagnosticCommonElement
DiagnosticTestRoutineIdentifier
+ id :PositiveInteger
+ requestDataSize :PositiveInteger
+ responseDataSize :PositiveInteger
In general, the mode 0x06 supports the querying of supported test routine identifiers
from a given server. However, this functionality is not supported in AUTOSAR, hence
the existence of [constr_1461].
[constr_1461] Restrictions for the value of DiagnosticTestRoutineIdenti-
fier.id d The values 0x00, 0x20, 0x40, 0x60, 0x80, 0xA0, 0xC0, and 0xE0 are not
allowed to appear in the value of DiagnosticTestRoutineIdentifier.id. c()
Class DiagnosticRequestControlOfOnBoardDevice
Package M2::AUTOSARTemplates::DiagnosticExtract::Dcm::ObdService::Mode_0x08_
RequestControlOfOnBoardDevice
Note This meta-class represents the ability to model an instance of the OBD mode 0x08
service.
Tags: atp.recommendedPackage=DiagnosticRequestControlOfOnBoardDevices
Base ARElement, ARObject, CollectableElement, DiagnosticCommonElement, Diagnostic
ServiceInstance, Identifiable, MultilanguageReferrable, PackageableElement,
Referrable
Attribute Type Mul. Kind Note
requestCo DiagnosticRequ 1 ref This reference substantiates that abstract
ntrolOfOnB estControlOfOn reference in the role serviceClass for this specific
oardDevic BoardDeviceCla concrete class.
eClass ss
Thereby, the reference represents the ability to
access shared attributes among all
DiagnosticRequestControlOfOnBoardDevice in
the given context.
testId DiagnosticTest 1 ref This represents the test Id for the mode 0x08.
RoutineIdentifier
Class DiagnosticRequestControlOfOnBoardDeviceClass
Package M2::AUTOSARTemplates::DiagnosticExtract::Dcm::ObdService::Mode_0x08_
RequestControlOfOnBoardDevice
Note This meta-class represents the ability to define common properties for all instances of
the "Request Control Of On-Board Device" OBD diagnostic service.
Tags: atp.recommendedPackage=DiagnosticRequestControlOfOnBoardDevices
Base ARElement, ARObject, CollectableElement, DiagnosticCommonElement, Diagnostic
ServiceClass, Identifiable, MultilanguageReferrable, PackageableElement, Referrable
Attribute Type Mul. Kind Note
– – – – –
Class DiagnosticTestRoutineIdentifier
Package M2::AUTOSARTemplates::DiagnosticExtract::Dcm::ObdService::Mode_0x08_
RequestControlOfOnBoardDevice
Note This represents the test id of the DiagnosticTestIdentifier.
Tags: atp.recommendedPackage=DiagnosticTestRoutineIdentifier
Base ARElement, ARObject, CollectableElement, DiagnosticCommonElement, Identifiable,
MultilanguageReferrable, PackageableElement, Referrable
Attribute Type Mul. Kind Note
id PositiveInteger 1 attr This represents the numerical id of the
DiagnosticTestIdentifier (see SAE J1979-DA).
requestDat PositiveInteger 1 attr This represents the specified data size for the
aSize request message. Unit: byte.
responseD PositiveInteger 1 attr This represents the specified data size for the
ataSize response message. Unit:byte.
DiagnosticCommonElement DiagnosticCommonElement
DiagnosticAccessPermission +accessPermission DiagnosticServiceClass
+accessPermission 0..1
DiagnosticCommonElement
DiagnosticServiceInstance +serviceClass
«atpAbstract» 0..1
DiagnosticRequestVehicleInfo DiagnosticRequestVehicleInfoClass
+requestVehicleInformationClass
1
{redefines
serviceClass}
+infoType 1
DiagnosticCommonElement
DiagnosticInfoType
+ id :PositiveInteger
«atpSplitable»
+dataElement 0..*
DiagnosticParameter
+ bitOffset :PositiveInteger
«atpVariation» Tags:
vh.latestBindingTime =
postBuild
«atpVariation,atpSplitable»
+dataElement 1
Identifiable
DiagnosticDataElement
«atpVariation»
DataDefProperties::SwDataDefProps
+swDataDefProps 0..1
Identifiable DiagnosticCommonElement
DiagnosticDataElement DiagnosticInfoType
«atpVariation,atpSplitable»
«atpSplitable»
+dataElement 0..*
DiagnosticParameter
+ bitOffset :PositiveInteger
Class DiagnosticRequestVehicleInfo
Package M2::AUTOSARTemplates::DiagnosticExtract::Dcm::ObdService::Mode_0x09_
RequestVehicleInformation
Note This meta-class represents the ability to model an instance of the OBD mode 0x09
service.
Tags: atp.recommendedPackage=DiagnosticRequestVehicleInfos
Base ARElement, ARObject, CollectableElement, DiagnosticCommonElement, Diagnostic
ServiceInstance, Identifiable, MultilanguageReferrable, PackageableElement,
Referrable
Attribute Type Mul. Kind Note
infoType DiagnosticInfoT 1 ref This represents the info type associated with the
ype mode 0x09 service.
requestVe DiagnosticRequ 1 ref This reference substantiates that abstract
hicleInform estVehicleInfoCl reference in the role serviceClass for this specific
ationClass ass concrete class.
Class DiagnosticRequestVehicleInfoClass
Package M2::AUTOSARTemplates::DiagnosticExtract::Dcm::ObdService::Mode_0x09_
RequestVehicleInformation
Note This meta-class represents the ability to define common properties for all instances of
the "Request Vehicle Info" OBD diagnostic service.
Tags: atp.recommendedPackage=DiagnosticRequestVehicleInfos
Base ARElement, ARObject, CollectableElement, DiagnosticCommonElement, Diagnostic
ServiceClass, Identifiable, MultilanguageReferrable, PackageableElement, Referrable
Attribute Type Mul. Kind Note
– – – – –
Class DiagnosticInfoType
Package M2::AUTOSARTemplates::DiagnosticExtract::CommonDiagnostics
Note This meta-class represents the ability to model an OBD info type.
Tags: atp.recommendedPackage=DiagnosticInfoTypes
Base ARElement, ARObject, CollectableElement, DiagnosticCommonElement, Identifiable,
MultilanguageReferrable, PackageableElement, Referrable
Attribute Type Mul. Kind Note
dataEleme DiagnosticPara * aggr This represents the data associated with the
nt meter enclosing DiagnosticInfoType.
Stereotypes: atpSplitable
Tags: atp.Splitkey=dataElement
id PositiveInteger 1 attr This attribute represents the value of InfoType
(see SAE J1979-DA).
DiagnosticCommonElement DiagnosticCommonElement
DiagnosticAccessPermission +accessPermission DiagnosticServiceClass
+accessPermission 0..1
DiagnosticCommonElement
DiagnosticServiceInstance +serviceClass
«atpAbstract» 0..1
DiagnosticRequestEmissionRelatedDTCPermanentStatusClass
1 +requestEmissionRelatedDtcClassPermanentStatus
{redefines
serviceClass}
DiagnosticRequestEmissionRelatedDTCPermanentStatus
Class DiagnosticRequestEmissionRelatedDTCPermanentStatus
Package M2::AUTOSARTemplates::DiagnosticExtract::Dcm::ObdService::Mode_0x0A_
RequestEmissionRelatedDTCPermanentStatus
Note This meta-class represents the ability to model an instance of the OBD mode 0x0A
service.
Tags: atp.recommendedPackage=DiagnosticRequestEmissionRelatedDTC
PermanentStatuss
Base ARElement, ARObject, CollectableElement, DiagnosticCommonElement, Diagnostic
ServiceInstance, Identifiable, MultilanguageReferrable, PackageableElement,
Referrable
Attribute Type Mul. Kind Note
requestEm DiagnosticRequ 1 ref This reference substantiates that abstract
issionRelat estEmissionRel reference in the role serviceClass for this specific
edDtcClas atedDTCPerma concrete class.
sPermane nentStatusClass
ntStatus Thereby, the reference represents the ability to
access shared attributes among all DiagnosticRe-
questEmissionRelatedDTCPermanentStatus in
the given context.
Class DiagnosticRequestEmissionRelatedDTCPermanentStatusClass
Package M2::AUTOSARTemplates::DiagnosticExtract::Dcm::ObdService::Mode_0x0A_
RequestEmissionRelatedDTCPermanentStatus
Note This meta-class represents the ability to define common properties for all instances of
the "Request Emission Related DTC Permanent Status" OBD diagnostic service.
Tags: atp.recommendedPackage=DiagnosticRequestEmissionRelatedDTC
PermanentStatuss
Base ARElement, ARObject, CollectableElement, DiagnosticCommonElement, Diagnostic
ServiceClass, Identifiable, MultilanguageReferrable, PackageableElement, Referrable
Attribute Type Mul. Kind Note
– – – – –
Class DiagnosticValueNeeds
Package M2::AUTOSARTemplates::CommonStructure::ServiceNeeds
Note Specifies the general needs on the configuration of the Diagnostic Communication
Manager (DCM) which are not related to a particular item (e.g. a PID). The main use
case is the mapping of service ports to the DCM which are not related to a particular
item.
In the case of using a sender receiver communicated value, the related value shall be
taken via assignedData in the role "signalBasedDiagnostics".
Class DiagnosticRoutineNeeds
Package M2::AUTOSARTemplates::CommonStructure::ServiceNeeds
Note Specifies the general needs on the configuration of the Diagnostic Communication
Manager (Dcm) which are not related to a particular item (e.g. a PID). The main use
case is the mapping of service ports to the Dcm which are not related to a particular
item.
Base ARObject, DiagnosticCapabilityElement, Identifiable, MultilanguageReferrable,
Referrable, ServiceNeeds
Attribute Type Mul. Kind Note
diagRoutin DiagnosticRouti 1 attr This denotes the type of diagnostic routine which
eType neTypeEnum is implemented by the referenced server port.
ridNumber PositiveInteger 0..1 attr This represents a routine identifier for the
diagnostic routine. This allows to predefine the
RID number if the a function developer has
received a particular requirement from the OEM or
from a standardization body.
Class SwcServiceDependency
Package M2::AUTOSARTemplates::SWComponentTemplate::SwcInternalBehavior::Service
Mapping
Note Specialization of ServiceDependency in the context of an SwcInternalBehavior. It
allows to associate ports, port groups and (in special cases) data defined for an
atomic software component to a given ServiceNeeds element.
Base ARObject, AtpClassifier, AtpFeature, AtpStructureElement, Identifiable,
MultilanguageReferrable, Referrable, ServiceDependency
Attribute Type Mul. Kind Note
Stereotypes: atpVariation
Tags: vh.latestBindingTime=preCompileTime
assignedP RoleBasedPort * aggr Defines the role of an associated port of the same
ort Assignment component.
Class BswServiceDependency
Package M2::AUTOSARTemplates::BswModuleTemplate::BswBehavior
Note Specialization of ServiceDependency in the context of an BswInternalBehavior. It
allows to associate BswModuleEntries and data defined for a BSW module or cluster
to a given ServiceNeeds element.
Base ARObject, ServiceDependency
Attribute Type Mul. Kind Note
assignedD RoleBasedData * aggr Defines the role of an associated data object
ata Assignment (owned by this module or cluster) in the context of
the ServiceNeeds element.
Stereotypes: atpVariation
Tags: vh.latestBindingTime=preCompileTime
assignedE RoleBasedBsw * aggr Defines the role of an associated BswModuleEntry
ntryRole ModuleEntryAss in the context of the ServiceNeeds element.
ignment
Stereotypes: atpSplitable; atpVariation
Tags: atp.Splitkey=assignedEntryRole, variation
Point.shortLabel
vh.latestBindingTime=preCompileTime
ident BswServiceDep 0..1 aggr This adds the ability to become referrable to
endencyIdent BswServiceDependency.
Tags: atp.Status=shallBecomeMandatory
xml.sequenceOffset=-100
Class SwcServiceDependency
Package M2::AUTOSARTemplates::SWComponentTemplate::SwcInternalBehavior::Service
Mapping
Note Specialization of ServiceDependency in the context of an SwcInternalBehavior. It
allows to associate ports, port groups and (in special cases) data defined for an
atomic software component to a given ServiceNeeds element.
Base ARObject, AtpClassifier, AtpFeature, AtpStructureElement, Identifiable,
MultilanguageReferrable, Referrable, ServiceDependency
Attribute Type Mul. Kind Note
assignedD RoleBasedData * aggr Defines the role of an associated data object of
ata Assignment the same component.
Stereotypes: atpVariation
Tags: vh.latestBindingTime=preCompileTime
assignedP RoleBasedPort * aggr Defines the role of an associated port of the same
ort Assignment component.
Class ObdInfoServiceNeeds
Package M2::AUTOSARTemplates::CommonStructure::ServiceNeeds
Note Specifies the abstract needs of a component or module on the configuration of OBD
Services in relation to a given InfoType (OBD Service 09) which is supported by this
component or module.
Base ARObject, DiagnosticCapabilityElement, Identifiable, MultilanguageReferrable,
Referrable, ServiceNeeds
Attribute Type Mul. Kind Note
dataLength PositiveInteger 0..1 attr This attribute is applicable only if the
ServiceNeeds is aggregated within
BswModuleDependency.
Class ObdPidServiceNeeds
Package M2::AUTOSARTemplates::CommonStructure::ServiceNeeds
Note Specifies the abstract needs of a component or module on the configuration of OBD
Services in relation to a particular PID (parameter identifier) which is supported by
this component or module.
Class ObdControlServiceNeeds
Package M2::AUTOSARTemplates::CommonStructure::ServiceNeeds
Note Specifies the abstract needs of a component or module on the configuration of OBD
Service 08 (request control of on-board system) in relation to a particular
test-Identifier (TID) supported by this component or module.
Base ARObject, DiagnosticCapabilityElement, Identifiable, MultilanguageReferrable,
Referrable, ServiceNeeds
Attribute Type Mul. Kind Note
testId PositiveInteger 0..1 attr Test Identifier (TID) according to ISO 15031-5.
Please note that the Dcm is in general entitled to both read and write a dataElement.
This applies even if the corresponding PortPrototype is a PPortPrototype. This
means that the diagnostic service data mapping is limited to SenderReceiverIn-
terface.
ARElement
DiagnosticCommonElement
DiagnosticAbstractDataIdentifier
DiagnosticDataIdentifier
«atpVariation,atpSplitable»
+dataElement 1..*
DiagnosticServiceDataMapping DiagnosticParameter
+ bitOffset :PositiveInteger
«atpVariation,atpSplitable»
«instanceRef»
Class DiagnosticServiceDataMapping
Package M2::AUTOSARTemplates::DiagnosticExtract::ServiceMapping
Note This represents the ability to define a mapping of a diagnostic service to a
software-component. This kind of service mapping is applicable for the usage of
SenderReceiverInterfaces.
Tags: atp.recommendedPackage=DiagnosticServiceMappings
Base ARElement, ARObject, CollectableElement, DiagnosticCommonElement, Diagnostic
Mapping, Identifiable, MultilanguageReferrable, PackageableElement, Referrable
Attribute Type Mul. Kind Note
diagnostic DiagnosticData 1 ref This represents the applicable payload that
DataEleme Element corresponds to the referenced DataPrototype in
nt the role mappedDataElement.
mappedDa DataPrototype 0..1 iref This represents the dataElement in the application
taElement software that is accessed for diagnostic purpose.
Class ApplicationPrimitiveDataType
Package M2::AUTOSARTemplates::SWComponentTemplate::Datatype::Datatypes
Note A primitive data type defines a set of allowed values.
Tags: atp.recommendedPackage=ApplicationDataTypes
Base ARElement, ARObject, ApplicationDataType, AtpBlueprint, AtpBlueprintable, Atp
Classifier, AtpType, AutosarDataType, CollectableElement, Identifiable, Multilanguage
Referrable, PackageableElement, Referrable
Attribute Type Mul. Kind Note
– – – – –
Class ImplementationDataType
Package M2::AUTOSARTemplates::CommonStructure::ImplementationDataTypes
Note Describes a reusable data type on the implementation level. This will typically
correspond to a typedef in C-code.
Tags: atp.recommendedPackage=ImplementationDataTypes
Base ARElement, ARObject, AtpBlueprint, AtpBlueprintable, AtpClassifier, AtpType,
AutosarDataType, CollectableElement, Identifiable, MultilanguageReferrable,
PackageableElement, Referrable
Attribute Type Mul. Kind Note
dynamicAr String 0..1 attr Specifies the profile which the array will follow in
raySizePro case this data type is a variable size array.
file
subElemen Implementation * aggr Specifies an element of an array, struct, or union
t (ordered) DataTypeEleme data type.
nt
The aggregation of
ImplementionDataTypeElement is subject to
variability with the purpose to support the
conditional existence of elements inside a
ImplementationDataType representing a structure.
Stereotypes: atpVariation
Tags: vh.latestBindingTime=preCompileTime
symbolPro SymbolProps 0..1 aggr This represents the SymbolProps for the
ps ImplementationDataType.
Stereotypes: atpSplitable
Tags: atp.Splitkey=shortName
typeEmitte NameToken 0..1 attr This attribute is used to control which part of the
r AUTOSAR toolchain is supposed to trigger data
type definitions.
Class ApplicationSwComponentType
Package M2::AUTOSARTemplates::SWComponentTemplate::Components
Note The ApplicationSwComponentType is used to represent the application software.
Tags: atp.recommendedPackage=SwComponentTypes
Base ARElement, ARObject, AtomicSwComponentType, AtpBlueprint, AtpBlueprintable,
AtpClassifier, AtpType, CollectableElement, Identifiable, MultilanguageReferrable,
PackageableElement, Referrable, SwComponentType
Attribute Type Mul. Kind Note
– – – – –
Class ClientServerInterface
Package M2::AUTOSARTemplates::SWComponentTemplate::PortInterface
Note A client/server interface declares a number of operations that can be invoked on a
server by a client.
Tags: atp.recommendedPackage=PortInterfaces
Base ARElement, ARObject, AtpBlueprint, AtpBlueprintable, AtpClassifier, AtpType,
CollectableElement, Identifiable, MultilanguageReferrable, PackageableElement, Port
Interface, Referrable
Attribute Type Mul. Kind Note
operation ClientServerOp 1..* aggr ClientServerOperation(s) of this
eration ClientServerInterface.
Stereotypes: atpVariation
Tags: vh.latestBindingTime=blueprintDerivation
Time
possibleErr ApplicationError * aggr Application errors that are defined as part of this
or interface.
DiagnosticMapping
DiagnosticSwMapping
Identifiable
DiagnosticServiceSwMapping
DiagnosticDataElement +diagnosticDataElement
AtpStructureElement +mappedFlatSwcServiceDependency
Identifiable
ServiceDependency 0..1
SwcServiceDependency
+mappedSwcServiceDependencyInSystem
0..1 «instanceRef»
IdentCaption
BswServiceDependencyIdent +mappedBswServiceDependency
0..1
+ident 0..1
+serviceInstance 0..1
ServiceDependency
DiagnosticServiceInstance
BswServiceDependency
Class DiagnosticServiceSwMapping
Package M2::AUTOSARTemplates::DiagnosticExtract::ServiceMapping
Note This represents the ability to define a mapping of a diagnostic service to a
software-component or a basic-software module. If the former is used then this kind
of service mapping is applicable for the usage of ClientServerInterfaces.
Tags: atp.recommendedPackage=DiagnosticServiceMappings
Base ARElement, ARObject, CollectableElement, DiagnosticCommonElement, Diagnostic
Mapping, DiagnosticSwMapping, Identifiable, MultilanguageReferrable, Packageable
Element, Referrable
Attribute Type Mul. Kind Note
diagnostic DiagnosticData 0..1 ref This represents a DiagnosticDataElement required
DataEleme Element to execute the respective diagnostic service in the
nt context of the diagnostic service mapping,
mappedBs BswServiceDep 0..1 ref This is supposed to represent a reference to a
wServiceD endencyIdent BswServiceDependency. the latter is not derived
ependency from Referrable and therefore this detour needs to
be implemented to still let BswServiceDependency
become the target of a reference.
mappedFla SwcServiceDep 0..1 ref This represents the ability to refer to an
tSwcServic endency AtomicSwComponentType that is available without
eDepende the definition of how it will be emebdded into the
ncy component hiearchy.
mappedSw SwcServiceDep 0..1 iref This represents the ability to point into the
cServiceD endency component hiearchy (under possible consideration
ependency of the rootSoftwareComposition)
InSystem
serviceInst DiagnosticServi 0..1 ref This represents the service instance that needs to
ance ceInstance be considered in this diagnostics service mapping.
Class BswServiceDependencyIdent
Package M2::AUTOSARTemplates::DiagnosticExtract::ServiceMapping
Note This meta-class is created to add the ability to become the target of a reference to the
non-Referrable BswServiceDependency.
Base ARObject, AtpClassifier, AtpFeature, AtpStructureElement, IdentCaption, Identifiable,
MultilanguageReferrable, Referrable
Attribute Type Mul. Kind Note
– – – – –
c()
[constr_1347], among further clarifications, reflects the fact that at most a single Swc-
ServiceDependency can be referenced by a DiagnosticServiceSwMapping
and this SwcServiceDependency cannot be identified by both mappedSwcSer-
viceDependencyInSystem and mappedFlatSwcServiceDependency.
6.1 Introduction
This subchapter describes the meta-model elements that define the handling of and
the functionality around diagnostic events.
In a standard AUTOSAR Basic Software architecture, the definitions based on the
model elements described in this subchapter are realized by the Diagnostic Event Man-
ager (Dem) module.
The following figure gives an overview on the model elements related to the diagnostic
event functionality.
ARElement
DiagnosticContributionSet
«atpVariation,atpSplitable»
+element 0..*
ARElement
DiagnosticCommonElement
For the definition of the diagnostic event functionality, a number of model elements
are derived from DiagnosticCommonElement. These elements are described in the
following sub-chapters.
6.2 DiagnosticEvent
[TPS_DEXT_01083] Semantics of a DiagnosticEvent d A DiagnosticEvent -
the atomic unit handled by the Dem module - has to be defined together with its prop-
erties which affect the event handling behavior and possible interfaces to software-
components. c(RS_DEXT_00023)
Figure 6.2 depicts the definition of DiagnosticEvent together with its properties.
DiagnosticCommonElement
DiagnosticEvent
+ agingAllowed :Boolean
+ clearEventBehavior :DiagnosticClearEventBehaviorEnum [0..1]
+ eventClearAllowed :DiagnosticEventClearAllowedEnum [0..1]
+ eventKind :DiagnosticEventKindEnum
+ prestorageFreezeFrame :Boolean
+ recoverableInSameOperationCycle :Boolean [0..1]
«atpVariation»
+ eventFailureCycleCounterThreshold :PositiveInteger [0..1]
«atpVariation» Tags:
«atpVariation,atpSplitable» vh.latestBindingTime =
postBuild
+connectedIndicator 0..*
Identifiable DiagnosticCommonElement
DiagnosticConnectedIndicator DiagnosticIndicator
+indicator
+ behavior :DiagnosticConnectedIndicatorBehaviorEnum [0..1] + type :DiagnosticIndicatorTypeEnum [0..1]
1
«atpVariation»
+ healingCycleCounterThreshold :PositiveInteger
DiagnosticCommonElement
DiagnosticOperationCycle
+healingCycle
+ automaticEnd :Boolean
1 + cycleAutostart :Boolean
+ cycleStatusStorage :Boolean
+ type :DiagnosticOperationCycleTypeEnum
«enumeration»
«enumeration» DiagnosticEventClearAllowedEnum
DiagnosticEventKindEnum
always
bsw requiresCallbackExecution
swc
The expectation on this callback interface can be expressed using the attribute event-
ClearAllowed:
• always indicates that a clearing request for the DiagnosticEvent shall un-
conditionally be executed.
• never denotes that a clearing for the DiagnosticEvent is intentionally not
possible.
• In case of requiresCallbackExecution, the execution of a callback shall
decide whether the clearing is permitted.
In other words, the implementation of this decision is up to the developer of the
corresponding AtomicSwComponentType.
The latter shall define a SwcServiceDependency with appropriate Diagnos-
ticEventNeeds and a RoleBasedPortAssignment where the value of the
attribute role is set to CallbackClearEventAllowed.
c(RS_DEXT_00023)
Class DiagnosticEvent
Package M2::AUTOSARTemplates::DiagnosticExtract::Dem::DiagnosticEvent
Note This element is used to configure DiagnosticEvents.
Tags: atp.recommendedPackage=DiagnosticEvents
Base ARElement, ARObject, CollectableElement, DiagnosticCommonElement, Identifiable,
MultilanguageReferrable, PackageableElement, Referrable
Attribute Type Mul. Kind Note
agingAllow Boolean 1 attr This represents the decision whether aging is
ed allowed for this DiagnosticEvent.
clearEvent DiagnosticClear 0..1 attr This attribute defines the resulting UDS status
Behavior EventBehaviorE byte for the related event, which shall not be
num cleared according to the ClearEventAllowed
callback.
connectedI DiagnosticConn * aggr Event specific description of Indicators.
ndicator ectedIndicator
Stereotypes: atpSplitable; atpVariation
Tags: atp.Splitkey=shortName, variation
Point.shortLabel
vh.latestBindingTime=postBuild
eventClear DiagnosticEvent 0..1 attr This attribute defines whether the Dem has
Allowed ClearAllowedEn access to a "ClearEventAllowed" callback.
um
eventFailur PositiveInteger 0..1 attr This attribute defines the number of failure cycles
eCycleCou for the event based fault confirmation.
nterThresh
old Stereotypes: atpVariation
Tags: vh.latestBindingTime=postBuild
eventKind DiagnosticEvent 1 attr This attribute is used to distinguish between SWC
KindEnum and BSW events.
Class RoleBasedPortAssignment
Package M2::AUTOSARTemplates::SWComponentTemplate::SwcInternalBehavior::Service
Mapping
Note This class specifies an assignment of a role to a particular service port
(RPortPrototype or PPortPrototype) of an AtomicSwComponentType. With this
assignment, the role of the service port can be mapped to a specific ServiceNeeds
element, so that a tool is able to create the correct connector.
Base ARObject
Attribute Type Mul. Kind Note
portPrototy PortPrototype 1 ref Service PortPrototype used in the assigned role.
pe This PortPrototype shall either belong to the same
AtomicSwComponentType as the
SwcInternalBehavior which owns the
ServiceDependency or to the same
NvBlockSwComponentType as the
NvBlockDescriptor.
role Identifier 1 attr This is the role of the assigned Port in the given
context.
Class StructuredReq
Package M2::MSR::Documentation::BlockElements::RequirementsTracing
Note This represents a structured requirement. This is intended for a case where specific
requirements for features are collected.
Tags: xml.namePlural=APPLIES-TO-DEPENDEN
CIES; xml.sequenceOffset=25
conflicts Documentation 0..1 aggr This represents an informal specification of
Block conflicts.
Tags: xml.sequenceOffset=40
date DateTime 1 attr This represents the date when the requirement
was initiated.
Tags: xml.sequenceOffset=5
dependenc Documentation 0..1 aggr This represents an informal specifiaction of
ies Block dependencies. Note that upstream tracing should
be formalized in the property trace provided by the
superclass Traceable.
Tags: xml.sequenceOffset=30
description Documentation 0..1 aggr Ths represents the general description of the
Block requirement.
Tags: xml.sequenceOffset=10
importance String 1 attr This allows to represent the importance of the
requirement.
Tags: xml.sequenceOffset=8
issuedBy String 1 attr This represents the person, organization or
authority which issued the requirement.
Tags: xml.sequenceOffset=6
rationale Documentation 0..1 aggr This represents the rationale of the requirement.
Block
Tags: xml.sequenceOffset=20
remark Documentation 0..1 aggr This represents an informal remark. Note that this
Block is not modeled as annotation, since these remark
is still essential part of the requirement.
Tags: xml.sequenceOffset=60
supporting Documentation 0..1 aggr This represents an informal specifiaction of the
Material Block supporting material.
Tags: xml.sequenceOffset=50
testedItem Traceable * ref This assocation represents the ability to trace on
the same specification level. This supports for
example the of acceptance tests.
Tags: xml.sequenceOffset=70
type String 1 attr This attribute allows to denote the type of
requirement to denote for example is it an
"enhancement", "new feature" etc.
Tags: xml.sequenceOffset=7
useCase Documentation 0..1 aggr This describes the relevant use cases. Note that
Block formal references to use cases should be done in
the trace relation.
Tags: xml.sequenceOffset=35
For more details regarding the modeling of the semi-formal text please refer to Fig-
ure 4.3.
[TPS_DEXT_01069] Standardized values of DiagnosticEvent.introduc-
tion.structuredReq d The following possible values of DiagnosticEvent.in-
troduction.structuredReq are standardized by AUTOSAR:
• DIAG_EVENT_MON_COND: this value describes the monitoring condition of the
corresponding DiagnosticEvent.
• DIAG_EVENT_MON_TYPE: this value describes the monitoring type of the cor-
responding DiagnosticEvent.
• DIAG_EVENT_MON_RATE: this value describes the monitoring rate for the cor-
responding DiagnosticEvent.
• DIAG_EVENT_MAT_COND: this value describes a mature condition of the Di-
agnosticEvent.
• DIAG_EVENT_DEMAT_COND: this value describes a de-mature condition of the
DiagnosticEvent.
• DIAG_EVENT_AGING: this value describes the behavior of the Diagnos-
ticEvent regarding aging.
Class DiagnosticConnectedIndicator
Package M2::AUTOSARTemplates::DiagnosticExtract::Dem::DiagnosticEvent
Note Description of indicators that are defined per DiagnosticEvent.
Base ARObject, Identifiable, MultilanguageReferrable, Referrable
Attribute Type Mul. Kind Note
behavior DiagnosticConn 0..1 attr Behavior of the linked indicator.
ectedIndicatorB
ehaviorEnum
healingCyc DiagnosticOper 1 ref The deactivation of indicators per event is defined
le ationCycle as healing of a diagnostic event. The operation
cycle in which the warning indicator will be
switched off is defined here.
indicator DiagnosticIndic 1 ref Reference to the used indicator.
ator
Enumeration DiagnosticEventClearAllowedEnum
Package M2::AUTOSARTemplates::DiagnosticExtract::Dem::DiagnosticEvent
Note Denotes whether clearing of events is allowed.
Literal Description
always The clearing is allowed unconditionally.
Tags: atp.EnumerationValue=0
requires In case the clearing of a Diagnostic Event has to be allowed or prohibited through
Callback the SWC interface CallbackClearEventAllowed, the SWC has to indicate this by
Execution defining appropriate ServiceNeeds (i.e. DiagnosticEventNeeds).
Tags: atp.EnumerationValue=2
Enumeration DiagnosticClearEventBehaviorEnum
Package M2::AUTOSARTemplates::DiagnosticExtract::Dem::DiagnosticEvent
Note Possible behavior for clearing events.
Literal Description
noStatusByte The event status byte keeps unchanged.
Change
Tags: atp.EnumerationValue=0
onlyThis The OperationCycle and readiness bits of the event status byte are reset.
CycleAnd
Readiness Tags: atp.EnumerationValue=1
Enumeration DiagnosticEventKindEnum
Package M2::AUTOSARTemplates::DiagnosticExtract::Dem::DiagnosticEvent
Note Applicability of the diagnostic event.
Literal Description
bsw The event is assigned to a BSW module.
Tags: atp.EnumerationValue=0
swc The event is assigned to a SWC.
Tags: atp.EnumerationValue=1
Enumeration DiagnosticConnectedIndicatorBehaviorEnum
Package M2::AUTOSARTemplates::DiagnosticExtract::Dem::DiagnosticEvent
Note Behavior of the indicator.
Literal Description
blinkMode The indicator blinks when the event has status FAILED.
Tags: atp.EnumerationValue=0
blinkOrCon- The indicator is active and blinks when the event has status FAILED.
tinuousOn
Mode Tags: atp.EnumerationValue=1
continuous The indicator is active when the event has status FAILED.
OnMode
Tags: atp.EnumerationValue=2
fastFlashing Flash Indicator Lamp should be set to "Fast Flash".
Mode
Tags: atp.EnumerationValue=3
slowFlashing Flash Indicator Lamp should be set to "Slow Flash".
Mode
Tags: atp.EnumerationValue=4
6.3 DiagnosticTroubleCode
DiagnosticTroubleCodes (i.e. the ECU external view on diagnostic events) are
defined together with their properties and mapped to DiagnosticEvents using Di-
agnosticEventToTroubleCodeUdsMapping.
«atpVariation» Tags:
vh.latestBindingTime =
postBuild
DiagnosticCommonElement DiagnosticCommonElement «enumeration»
DiagnosticTroubleCodeGroup +dtc DiagnosticTroubleCode DiagnosticTroubleCodeJ1939DtcKindEnum
«atpVariation,atpSplitable» 0..* standard
«atpVariation»
+ groupNumber :PositiveInteger serviceOnly
DiagnosticTroubleCodeUds DiagnosticTroubleCodeJ1939
DiagnosticTroubleCodeObd
DiagnosticCommonElement DiagnosticCommonElement
DiagnosticTroubleCodeProps DiagnosticJ1939Spn
«enumeration» «enumeration»
DiagnosticWwhObdDtcClassEnum DiagnosticUdsSeverityEnum
demDtcWwhObdClassB1 noSeverity
demDtcWwhObdClassA maintenanceOnly
demDtcWwhObdClassB2 immediately
demDtcWwhObdClassC checkAtNextHalt
demDtcWwhObdClassNoInformation
[TPS_DEXT_03012] Three kinds of DTCs d There are three kinds of DTCs repre-
sented as specializations of DiagnosticTroubleCode:
• non OBD relevant DTCs (DiagnosticTroubleCodeUds)
• OBD relevant DTCs (DiagnosticTroubleCodeObd)
• J1939 [20] relevant DTCs (DiagnosticTroubleCodeJ1939)
Properties individual to such a DTC specialization are modeled as attributes of Di-
agnosticTroubleCodeUds, DiagnosticTroubleCodeObd and Diagnostic-
TroubleCodeJ1939, respectively. c(RS_DEXT_00024)
Class DiagnosticTroubleCodeUds
Package M2::AUTOSARTemplates::DiagnosticExtract::Dem::DiagnosticTroubleCode
Note This element is used to describe non OBD-relevant DTCs.
Tags: atp.recommendedPackage=DiagnosticTroubleCodes
Base ARElement, ARObject, CollectableElement, DiagnosticCommonElement, Diagnostic
TroubleCode, Identifiable, MultilanguageReferrable, PackageableElement, Referrable
Attribute Type Mul. Kind Note
considerPt Boolean 0..1 attr This attribute describes the affection of the event
oStatus by the Dem PTO handling.
Class DiagnosticTroubleCodeObd
Package M2::AUTOSARTemplates::DiagnosticExtract::Dem::DiagnosticTroubleCode
Note This element is used to define OBD-relevant DTCs.
Tags: atp.recommendedPackage=DiagnosticTroubleCodes
Base ARElement, ARObject, CollectableElement, DiagnosticCommonElement, Diagnostic
TroubleCode, Identifiable, MultilanguageReferrable, PackageableElement, Referrable
Attribute Type Mul. Kind Note
considerPt Boolean 1 attr This attribute describes the affection of the event
oStatus by the Dem PTO handling.
Stereotypes: atpVariation
Tags: vh.latestBindingTime=preCompileTime
dtcProps DiagnosticTroub 0..1 ref Defined properties associated with the DemDTC.
leCodeProps
eventObd NameToken 0..1 attr This attribute specifies the Event OBD Readiness
Readiness group for PID $01 and PID $41 computation. This
Group attribute is only applicable for emission-related
ECUs.
obdDTCVa PositiveInteger 0..1 attr Unique Diagnostic Trouble Code value for OBD.
lue
Stereotypes: atpVariation
Tags: vh.latestBindingTime=preCompileTime
Class DiagnosticTroubleCodeJ1939
Package M2::AUTOSARTemplates::DiagnosticExtract::Dem::DiagnosticTroubleCode
Note This meta-class represents the ability to model specific trouble-code related
properties for J1939.
Tags: atp.recommendedPackage=DiagnosticTroubleCodes
Base ARElement, ARObject, CollectableElement, DiagnosticCommonElement, Diagnostic
TroubleCode, Identifiable, MultilanguageReferrable, PackageableElement, Referrable
Attribute Type Mul. Kind Note
dtcProps DiagnosticTroub 0..1 ref Defined properties associated with the J1939
leCodeProps DTC.
fmi PositiveInteger 0..1 attr This attribute represents the behavior of the
Failure Mode Indicator.
kind DiagnosticTroub 0..1 attr This attribute further specifies the DTC in terms of
leCodeJ1939Dt its semantics.
cKindEnum
node DiagnosticJ193 0..1 ref This represents the related DiagnosticJ1939Node.
9Node
spn DiagnosticJ193 0..1 ref This represents the releated SPN.
9Spn
DiagnosticCommonElement
DiagnosticMemoryDestination
+memoryDestination 0..*
DiagnosticCommonElement DiagnosticAbstractDataIdentifier
DiagnosticFreezeFrame DiagnosticDataIdentifier
«atpVariation» Tags:
«atpVariation,atpSplitable» vh.latestBindingTime =
preCompileTime
«atpVariation» Tags:
«atpVariation,atpSplitable»
vh.latestBindingTime =
preCompileTime «enumeration»
DiagnosticWwhObdDtcClassEnum
+extendedDataRecord 0..* +aging 0..1
demDtcWwhObdClassB1
DiagnosticCommonElement DiagnosticCommonElement demDtcWwhObdClassA
DiagnosticExtendedDataRecord DiagnosticAging demDtcWwhObdClassB2
demDtcWwhObdClassC
+ recordNumber :PositiveInteger «atpVariation» demDtcWwhObdClassNoInformation
+ trigger :DiagnosticRecordTriggerEnum + threshold :PositiveInteger [0..1]
+ update :Boolean
+ automaticEnd :Boolean
+ cycleAutostart :Boolean
+ cycleStatusStorage :Boolean
+ type :DiagnosticOperationCycleTypeEnum
Class DiagnosticTroubleCodeGroup
Package M2::AUTOSARTemplates::DiagnosticExtract::Dem::DiagnosticTroubleCode
Note The diagnostic trouble code group defines the DTCs belonging together and thereby
forming a group.
Tags: atp.recommendedPackage=DiagnosticTroubleCodes
Base ARElement, ARObject, CollectableElement, DiagnosticCommonElement, Identifiable,
MultilanguageReferrable, PackageableElement, Referrable
Attribute Type Mul. Kind Note
dtc DiagnosticTroub * ref This represents the collection of
leCode DiagnosticTroubleCodes defined by this
DiagnosticTroubleCodeGroup.
Stereotypes: atpVariation
Tags: vh.latestBindingTime=preCompileTime
Class TraceableText
Package M2::MSR::Documentation::BlockElements::RequirementsTracing
Note This meta-class represents the ability to denote a traceable text item such as
requirements etc.
For more details regarding the modeling of the semi-formal text please refer to Fig-
ure 4.3.
The usage of TraceableText and StructuredReq alone would not qualify as a
semi-formal textual attachment. It is necessary to standardize the value of the cate-
gory in order to get some level of semi-formal textual description.
[TPS_DEXT_01066] Standardized values of DiagnosticTroubleCode.intro-
duction.trace d The following possible values of DiagnosticTroubleCode.in-
troduction.trace are standardized by AUTOSAR:
• DIAG_DTC_ERROR_TEXT: this value shall be used to describe an error text.
• DIAG_DTC_REP_ACT: this value describes the associated repair for the corre-
sponding DiagnosticTroubleCode.
DiagnosticCommonElement DiagnosticCommonElement
DiagnosticFreezeFrame DiagnosticExtendedDataRecord
«atpVariation,atpSplitable» «atpVariation,atpSplitable»
DiagnosticCommonElement
DiagnosticTroubleCodeProps
+memoryDestination 0..*
DiagnosticCommonElement
DiagnosticMemoryDestination
+ memoryId :PositiveInteger
DiagnosticMapping
DiagnosticTroubleCodeUdsToTroubleCodeObdMapping
DiagnosticTroubleCode DiagnosticTroubleCode
DiagnosticTroubleCodeUds DiagnosticTroubleCodeObd
DiagnosticCommonElement
DiagnosticTroubleCodeProps
Class DiagnosticTroubleCodeUds
Package M2::AUTOSARTemplates::DiagnosticExtract::Dem::DiagnosticTroubleCode
Note This element is used to describe non OBD-relevant DTCs.
Tags: atp.recommendedPackage=DiagnosticTroubleCodes
Base ARElement, ARObject, CollectableElement, DiagnosticCommonElement, Diagnostic
TroubleCode, Identifiable, MultilanguageReferrable, PackageableElement, Referrable
Attribute Type Mul. Kind Note
considerPt Boolean 0..1 attr This attribute describes the affection of the event
oStatus by the Dem PTO handling.
wwhObdDt DiagnosticWwh 0..1 attr This attribute is used to identify (if applicable) the
cClass ObdDtcClassEn corresponding severity class of an WWH-OBD
um DTC.
Class DiagnosticTroubleCodeObd
Package M2::AUTOSARTemplates::DiagnosticExtract::Dem::DiagnosticTroubleCode
Note This element is used to define OBD-relevant DTCs.
Tags: atp.recommendedPackage=DiagnosticTroubleCodes
Base ARElement, ARObject, CollectableElement, DiagnosticCommonElement, Diagnostic
TroubleCode, Identifiable, MultilanguageReferrable, PackageableElement, Referrable
Attribute Type Mul. Kind Note
considerPt Boolean 1 attr This attribute describes the affection of the event
oStatus by the Dem PTO handling.
Stereotypes: atpVariation
Tags: vh.latestBindingTime=preCompileTime
dtcProps DiagnosticTroub 0..1 ref Defined properties associated with the DemDTC.
leCodeProps
eventObd NameToken 0..1 attr This attribute specifies the Event OBD Readiness
Readiness group for PID $01 and PID $41 computation. This
Group attribute is only applicable for emission-related
ECUs.
obdDTCVa PositiveInteger 0..1 attr Unique Diagnostic Trouble Code value for OBD.
lue
Stereotypes: atpVariation
Tags: vh.latestBindingTime=preCompileTime
Class DiagnosticTroubleCodeProps
Package M2::AUTOSARTemplates::DiagnosticExtract::Dem::DiagnosticTroubleCode
Note This element defines common Dtc properties that can be reused by different non
OBD-relevant DTCs.
Tags: atp.recommendedPackage=DiagnosticTroubleCodePropss
Base ARElement, ARObject, CollectableElement, DiagnosticCommonElement, Identifiable,
MultilanguageReferrable, PackageableElement, Referrable
Attribute Type Mul. Kind Note
aging DiagnosticAging 0..1 ref Reference to an aging algorithm in case that an
aging/unlearning of the event is allowed.
environme EnvironmentCa 0..1 attr This attribute determines the point in time, when
ntCaptureT ptureToReportin the data actually is captured.
oReporting gEnum
Class DiagnosticMemoryDestinationPrimary
Package M2::AUTOSARTemplates::DiagnosticExtract::Dem::DiagnosticTroubleCode
Note This represents a primary memory for a diagnostic event.
Tags: atp.recommendedPackage=DiagnosticMemoryDestinations
Base ARElement, ARObject, CollectableElement, DiagnosticCommonElement, Diagnostic
MemoryDestination, Identifiable, MultilanguageReferrable, PackageableElement,
Referrable
Attribute Type Mul. Kind Note
– – – – –
Class DiagnosticMemoryDestinationMirror
Package M2::AUTOSARTemplates::DiagnosticExtract::Dem::DiagnosticTroubleCode
Note This represents a mirror memory for a diagnostic event.
Tags: atp.recommendedPackage=DiagnosticMemoryDestinations
Base ARElement, ARObject, CollectableElement, DiagnosticCommonElement, Diagnostic
MemoryDestination, Identifiable, MultilanguageReferrable, PackageableElement,
Referrable
Attribute Type Mul. Kind Note
– – – – –
Class DiagnosticMemoryDestinationUserDefined
Package M2::AUTOSARTemplates::DiagnosticExtract::Dem::DiagnosticTroubleCode
Note This represents a user-defined memory for a diagnostic event.
Tags: atp.recommendedPackage=DiagnosticMemoryDestinations
Base ARElement, ARObject, CollectableElement, DiagnosticCommonElement, Diagnostic
MemoryDestination, Identifiable, MultilanguageReferrable, PackageableElement,
Referrable
Attribute Type Mul. Kind Note
memoryId PositiveInteger 1 attr This represents the identifier of the user-defined
memory.
Enumeration DiagnosticSignificanceEnum
Package M2::AUTOSARTemplates::DiagnosticExtract::Dem::DiagnosticTroubleCode
Note Significance level of a diagnostic event.
Literal Description
fault Failure, which affects the component/ECU itself.
Tags: atp.EnumerationValue=0
Tags: atp.EnumerationValue=1
Enumeration DiagnosticUdsSeverityEnum
Package M2::AUTOSARTemplates::DiagnosticExtract::Dem::DiagnosticTroubleCode
Note Severity types for a DTC according to ISO 14229-1.
Literal Description
checkAtNext Check at next halt.
Halt
Tags: atp.EnumerationValue=0
immediately Check immediately.
Tags: atp.EnumerationValue=1
maintenance Maintenance required.
Only
Tags: atp.EnumerationValue=2
noSeverity No severity information available.
Tags: atp.EnumerationValue=3
Class DiagnosticDataIdentifierSet
Package M2::AUTOSARTemplates::DiagnosticExtract::Dem::DiagnosticTroubleCode
Note This represents the ability to define a list of DiagnosticDataIdentifiers that can be
reused in different contexts.
Tags: atp.recommendedPackage=DiagnosticDataIdentifierSets
Base ARElement, ARObject, CollectableElement, DiagnosticCommonElement, Identifiable,
MultilanguageReferrable, PackageableElement, Referrable
Attribute Type Mul. Kind Note
dataId DiagnosticDataI * ref Reference to an orderd list of Data Identifiers.
entifier dentifier
(ordered)
Enumeration DiagnosticWwhObdDtcClassEnum
Package M2::AUTOSARTemplates::DiagnosticExtract::Dem::DiagnosticTroubleCode
Note This meta-class represents the ability to model severity classes of an WWH-OBD
DTC.
Literal Description
Class DiagnosticTroubleCodeUdsToTroubleCodeObdMapping
Package M2::AUTOSARTemplates::DiagnosticExtract::Dem::DiagnosticMapping
Note This meta-class represents the ability to associate a UDS trouble code to an OBD
trouble code.
Tags: atp.recommendedPackage=DiagnosticMappings
Base ARElement, ARObject, CollectableElement, DiagnosticCommonElement, Diagnostic
Mapping, Identifiable, MultilanguageReferrable, PackageableElement, Referrable
Attribute Type Mul. Kind Note
troubleCod DiagnosticTroub 0..1 ref This represents the OBD DTC referenced in the
eObd leCodeObd mapping between UDS and OBD DTCs.
troubleCod DiagnosticTroub 0..1 ref This represents the UDS DTC referenced in the
eUds leCodeUds mapping between UDS and OBD DTCs.
6.4 DiagnosticExtendedDataRecord
[TPS_DEXT_03008] Semantics of DiagnosticExtendedDataRecord d A Diag-
nosticExtendedDataRecord contains DiagnosticDataElements that are or-
dered by the bitOffset. c(RS_DEXT_00032)
[constr_1355] Value of extendedDataRecord.recordNumber d To be compliant to
ISO, the value of extendedDataRecord.recordNumber shall be set in the interval
as defined in ISO 14229-1 [16]. c()
[constr_1509] extendedDataRecord.recordNumber shall be unique within pri-
mary fault memory d For all DiagnosticTroubleCodeProps that refer to Diag-
DiagnosticExtendedDataRecord «enumeration»
DiagnosticRecordTriggerEnum
+ recordNumber :PositiveInteger
+ trigger :DiagnosticRecordTriggerEnum confirmed
+ update :Boolean fdcThreshold
pending
testFailed
+recordElement 0..*
DiagnosticParameter
+ bitOffset :PositiveInteger
«atpVariation» Tags:
«atpVariation,atpSplitable»
vh.latestBindingTime =
+dataElement 1 postBuild
Identifiable
DiagnosticDataElement
Class DiagnosticExtendedDataRecord
Package M2::AUTOSARTemplates::DiagnosticExtract::Dem::DiagnosticExtendedDataRecord
Note Description of an extended data record.
Tags: atp.recommendedPackage=DiagnosticExtendedDataRecords
Base ARElement, ARObject, CollectableElement, DiagnosticCommonElement, Identifiable,
MultilanguageReferrable, PackageableElement, Referrable
Attribute Type Mul. Kind Note
recordEle DiagnosticPara * aggr Defined DataElements in the extended record
ment meter element.
Enumeration DiagnosticRecordTriggerEnum
Package M2::AUTOSARTemplates::DiagnosticExtract::Dem::DiagnosticFreezeFrame
Note Triggers to allocate an event memory entry.
Literal Description
confirmed capture on "Confirmed"
Tags: atp.EnumerationValue=0
fdcThreshold capture on "FDC Threshold"
Tags: atp.EnumerationValue=1
pending capture on "Pending"
Tags: atp.EnumerationValue=2
testFailed capture on "Test Failed"
Tags: atp.EnumerationValue=3
6.5 DiagnosticFreezeFrame
[TPS_DEXT_03009] Semantics of DiagnosticFreezeFrame d A Diagnos-
ticFreezeFrame needs an ordered list of references to DiagnosticDataIdenti-
fiers. However, this reference is not modeled directly but in the context of meta-class
DiagnosticTroubleCodeProps. c(RS_DEXT_00033)
For more details, please refer to Figure 6.3.
[constr_1357] Value of freezeFrame.recordNumber d To be compliant to ISO, the
value of freezeFrame.recordNumber shall be set in the interval as defined in ISO
14229-1 [16]. c()
[constr_1512] freezeFrame.recordNumber shall be unique within primary fault
memory d For all DiagnosticTroubleCodeProps that refer to DiagnosticMem-
oryDestinationPrimary in the role memoryDestination there shall be no two
freezeFrame.recordNumber with the same value. c()
«enumeration» DiagnosticFreezeFrame
DiagnosticRecordTriggerEnum
+ trigger :DiagnosticRecordTriggerEnum
confirmed + update :Boolean [0..1]
fdcThreshold
«atpVariation»
pending
+ recordNumber :PositiveInteger [0..1]
testFailed
Class DiagnosticFreezeFrame
Package M2::AUTOSARTemplates::DiagnosticExtract::Dem::DiagnosticFreezeFrame
Note This element describes combinations of DIDs for a non OBD relevant freeze frame.
Tags: atp.recommendedPackage=DiagnosticFreezeFrames
Base ARElement, ARObject, CollectableElement, DiagnosticCommonElement, Identifiable,
MultilanguageReferrable, PackageableElement, Referrable
Attribute Type Mul. Kind Note
recordNum PositiveInteger 0..1 attr This attribute defines a record number for a freeze
ber frame record.
Stereotypes: atpVariation
Tags: vh.latestBindingTime=preCompileTime
trigger DiagnosticReco 1 attr This attribute defines the primary trigger to
rdTriggerEnum allocate an event memory entry.
update Boolean 0..1 attr This attribute defines the approach when the
freeze frame record is stored/updated. True:
FreezeFrame record is captured every time. False:
FreezeFrame record is only captured for new
event memory entries.
6.6 DiagnosticCondition
[TPS_DEXT_03010] Combination of DiagnosticConditions to Diagnostic-
ConditionGroups d DiagnosticConditions are combined to Diagnostic-
ConditionGroups and define a certain number of checks (e.g. correct voltage range)
before the event report is accepted or the event gets qualified. c(RS_DEXT_00027,
RS_DEXT_00028, RS_DEXT_00030, RS_DEXT_00031)
[TPS_DEXT_03001] Different types of conditions d There are two different types
of conditions: DiagnosticEnableConditions and DiagnosticStorageCondi-
tion:
• As long as the DiagnosticEnableCondition is not fulfilled, the event reports
are not valid and therefore will not be accepted.
• As long as the DiagnosticStorageCondition is not fulfilled, the event is not
stored in the event memory.
c(RS_DEXT_00027)
ARElement
DiagnosticCommonElement
DiagnosticCondition
+ initValue :Boolean
DiagnosticStorageCondition DiagnosticEnableCondition
Class DiagnosticEnableCondition
Package M2::AUTOSARTemplates::DiagnosticExtract::Dem::DiagnosticCondition
Note Specification of an enable condition.
Tags: atp.recommendedPackage=DiagnosticConditions
Base ARElement, ARObject, CollectableElement, DiagnosticCommonElement, Diagnostic
Condition, Identifiable, MultilanguageReferrable, PackageableElement, Referrable
Attribute Type Mul. Kind Note
– – – – –
Class DiagnosticStorageCondition
Package M2::AUTOSARTemplates::DiagnosticExtract::Dem::DiagnosticCondition
Note Specification of a storage condition.
Tags: atp.recommendedPackage=DiagnosticConditions
Base ARElement, ARObject, CollectableElement, DiagnosticCommonElement, Diagnostic
Condition, Identifiable, MultilanguageReferrable, PackageableElement, Referrable
Attribute Type Mul. Kind Note
– – – – –
6.7 DiagnosticConditionGroup
[TPS_DEXT_01084] Semantics of DiagnosticConditionGroups d Diagnos-
ticConditionGroups are used to collect DiagnosticConditions that in turn
are assigned to DiagnosticEvents. c(RS_DEXT_00023, RS_DEXT_00028,
RS_DEXT_00029)
ARElement
DiagnosticCommonElement
DiagnosticConditionGroup
DiagnosticStorageConditionGroup DiagnosticEnableConditionGroup
DiagnosticCondition DiagnosticCondition
DiagnosticStorageCondition DiagnosticEnableCondition
Class DiagnosticEnableConditionGroup
Package M2::AUTOSARTemplates::DiagnosticExtract::Dem::DiagnosticConditionGroup
Note Enable condition group which includes one or several enable conditions.
Tags: atp.recommendedPackage=DiagnosticConditions
Base ARElement, ARObject, CollectableElement, DiagnosticCommonElement, Diagnostic
ConditionGroup, Identifiable, MultilanguageReferrable, PackageableElement,
Referrable
Attribute Type Mul. Kind Note
enableCon DiagnosticEnabl 1..* ref Reference to enableConditions that are part of the
dition eCondition EnableConditionGroup.
Class DiagnosticStorageConditionGroup
Package M2::AUTOSARTemplates::DiagnosticExtract::Dem::DiagnosticConditionGroup
Note Storage condition group which includes one or several storage conditions.
Tags: atp.recommendedPackage=DiagnosticConditions
Base ARElement, ARObject, CollectableElement, DiagnosticCommonElement, Diagnostic
ConditionGroup, Identifiable, MultilanguageReferrable, PackageableElement,
Referrable
Attribute Type Mul. Kind Note
storageCo DiagnosticStora 1..* ref Reference to storageConditions that are part of
ndition geCondition the StorageConditionGroup.
6.8 DiagnosticMapping
The mapping concept of the DiagnosticExtract template has been designed to
support the decentralized and independent definition of diagnostic requirements that
can be linked together at a late point during the development process.
It also supports the use of mapping contributions collected from various sources in
order to reduce manual mapping work by the ECU integrator.
[TPS_DEXT_03002] Two kind of mappings d For diagnostic event handling, there
are two kind of mappings:
• Mapping between a DiagnosticEvent and another diagnostic definition.
• Mapping between a DiagnosticEvent and a SWC service port.
c(RS_DEXT_00023, RS_DEXT_00052)
Figure 6.11 gives an overview on the different types of mappings available for diagnos-
tic event handling.
ARElement
DiagnosticCommonElement
DiagnosticMapping
DiagnosticSwMapping
DiagnosticFimFunctionMapping
DiagnosticMapping
DiagnosticEventToTroubleCodeUdsMapping
+diagnosticEvent 1 +troubleCodeUds 1
DiagnosticCommonElement DiagnosticTroubleCode
DiagnosticEvent DiagnosticTroubleCodeUds
Class DiagnosticEventToTroubleCodeUdsMapping
Package M2::AUTOSARTemplates::DiagnosticExtract::Dem::DiagnosticMapping
Note Defines which UDS Diagnostic Trouble Code is applicable for a DiagnosticEvent.
Tags: atp.recommendedPackage=DiagnosticMappings
Base ARElement, ARObject, CollectableElement, DiagnosticCommonElement, Diagnostic
Mapping, Identifiable, MultilanguageReferrable, PackageableElement, Referrable
Attribute Type Mul. Kind Note
diagnostic DiagnosticEvent 1 ref Reference to a DiagnosticEvent to which a UDS
Event Diagnostic Trouble Code is assigned.
troubleCod DiagnosticTroub 1 ref Reference to an UDS Diagnostic Trouble Code
eUds leCodeUds assigned to a DiagnosticEvent.
DiagnosticMapping
DiagnosticEventToOperationCycleMapping
+diagnosticEvent 1 +operationCycle 1
DiagnosticCommonElement DiagnosticCommonElement
DiagnosticEvent DiagnosticOperationCycle
«enumeration»
DiagnosticOperationCycleTypeEnum
ignition
obdDrivingCycle
power
time
warmup
other
Class DiagnosticEventToOperationCycleMapping
Package M2::AUTOSARTemplates::DiagnosticExtract::Dem::DiagnosticMapping
Note Defines which OperationCycle is applicable for a DiagnosticEvent.
Tags: atp.recommendedPackage=DiagnosticMappings
Base ARElement, ARObject, CollectableElement, DiagnosticCommonElement, Diagnostic
Mapping, Identifiable, MultilanguageReferrable, PackageableElement, Referrable
Attribute Type Mul. Kind Note
diagnostic DiagnosticEvent 1 ref Reference to a DiagnosticEvent to which an
Event OperationCycle is assigned.
operationC DiagnosticOper 1 ref Reference to an OperationCycle assigned to a
ycle ationCycle DiagnosticEvent.
DiagnosticMapping
DiagnosticEventToDebounceAlgorithmMapping
+diagnosticEvent 1 +debounceAlgorithm 1
DiagnosticCommonElement Referrable
DiagnosticEvent DiagnosticDebounceAlgorithmProps
Class DiagnosticEventToDebounceAlgorithmMapping
Package M2::AUTOSARTemplates::DiagnosticExtract::Dem::DiagnosticMapping
Note Defines which Debounce Algorithm is applicable for a DiagnosticEvent.
Tags: atp.recommendedPackage=DiagnosticMappings
Base ARElement, ARObject, CollectableElement, DiagnosticCommonElement, Diagnostic
Mapping, Identifiable, MultilanguageReferrable, PackageableElement, Referrable
Attribute Type Mul. Kind Note
debounce DiagnosticDebo 1 ref Reference to a DebounceAlgorithm assigned to a
Algorithm unceAlgorithmP DiagnosticEvent.
rops
diagnostic DiagnosticEvent 1 ref Reference to a DiagnosticEvent to which a
Event DebounceAlgorithm is assigned.
Class DiagnosticDebounceAlgorithmProps
Package M2::AUTOSARTemplates::DiagnosticExtract::Dem::DiagnosticDebouncingAlgorithm
Note Defines properties for the debounce algorithm class.
Base ARObject, Referrable
Attribute Type Mul. Kind Note
debounce DiagEventDebo 1 aggr This represents the actual debounce algorithm.
Algorithm unceAlgorithm
debounce DiagnosticDebo 1 attr This attribute defines how the event debounce
Behavior unceBehaviorE algorithm will behave, if a related enable condition
num is not fulfilled or ControlDTCSetting of the related
event is disabled.
debounce Boolean 0..1 attr Switch to store the debounce counter value
CounterSt non-volatile or not. true: debounce counter value
orage shall be stored non-volatile false: debounce
counter value is volatile
The details regarding the formalization of debouncing behavior are depicted in Fig-
ure 6.15.
ARElement
DiagnosticContributionSet
«atpSplitable»
+commonProperties 0..1
«atpVariation»
DiagnosticCommonProps
+ agingRequiresTestedCycle :Boolean
+ clearDtcLimitation :DiagnosticClearDtcLimitationEnum
+ defaultEndianness :ByteOrderEnum
+ dtcStatusAvailabilityMask :PositiveInteger
+ environmentDataCapture :DiagnosticDataCaptureEnum [0..1]
+ eventDisplacementStrategy :DiagnosticEventDisplacementStrategyEnum
+ maxNumberOfEventEntries :PositiveInteger [0..1]
+ maxNumberOfRequestCorrectlyReceivedResponsePending :PositiveInteger
+ memoryEntryStorageTrigger :DiagnosticMemoryEntryStorageTriggerEnum
+ occurrenceCounterProcessing :DiagnosticOccurrenceCounterProcessingEnum
+ resetConfirmedBitOnOverflow :Boolean
+ responseOnAllRequestSids :Boolean
+ responseOnSecondDeclinedRequest :Boolean
+ securityDelayTimeOnBoot :TimeValue
+ statusBitHandlingTestFailedSinceLastClear :DiagnosticStatusBitHandlingTestFailedSinceLastClearEnum
+ statusBitStorageTestFailed :Boolean
+ typeOfDtcSupported :DiagnosticTypeOfDtcSupportedEnum
+ typeOfFreezeFrameRecordNumeration :DiagnosticTypeOfFreezeFrameRecordNumerationEnum
+debounceAlgorithmProps 0..*
Referrable «enumeration»
DiagnosticDebounceAlgorithmProps DiagnosticDebounceBehaviorEnum
+debounceAlgorithm 1
Identifiable
DiagEventDebounceAlgorithm
DiagEventDebounceCounterBased DiagEventDebounceTimeBased
Class DiagnosticEventNeeds
Package M2::AUTOSARTemplates::CommonStructure::ServiceNeeds
Note Specifies the abstract needs on the configuration of the Diagnostic Event Manager for
one diagnostic event. Its shortName can be regarded as a symbol identifying the
diagnostic event from the viewpoint of the component or module which owns this
element.
In case the diagnostic event specifies a production error, the shortName shall be the
name of the production error.
Base ARObject, DiagnosticCapabilityElement, Identifiable, MultilanguageReferrable,
Referrable, ServiceNeeds
Attribute Type Mul. Kind Note
considerPt Boolean 0..1 attr PTO (Power Take Off) has an impact on the
oStatus respective emission-related event (OBD). This
information shall be provided by SW-C description
in order to consider the PTO relevance e.g. for
readiness (PID $01) computation. For events with
dtcKind set to ’nonEmmissionRelatedDtc’ this
attribute is typically false.
deferringFi FunctionInhibitio * ref This reference contains the link to a function
d nNeeds identifier within the FiM which is used by the
monitor before delivering a result.
diagEvent DiagEventDebo 0..1 aggr Specifies the abstract need on the Debounce
Debounce unceAlgorithm Algorithm applied by the Diagnostic Event
Algorithm Manager.
dtcKind DtcKindEnum 0..1 attr This attribute indicates the kind of the diagnostic
monitor according to the SWS Diagnostic Event
Manger.
This class inherits from Identifiable in order to allow further documentation of the
expected or implemented debouncing and to use the category for the identification of
the expected / implemented debouncing.
Base ARObject, Identifiable, MultilanguageReferrable, Referrable
Attribute Type Mul. Kind Note
– – – – –
Class DiagEventDebounceCounterBased
Package M2::AUTOSARTemplates::CommonStructure::ServiceNeeds
Note This meta-class represents the ability to indicate that the counter-based debounce
algorithm shall be used by the DEM for this diagnostic monitor.
counterJu Integer 1 attr This value represents the initial value of the
mpDownV internal debounce counter if the counting direction
alue changes from incrementing to decrementing.
counterJu Boolean 1 attr This value activates or deactivates the counter
mpUp jump-up behavior.
counterJu Integer 1 attr This value represents the initial value of the
mpUpValu internal debounce counter if the counting direction
e changes from decrementing to incrementing.
counterPa Integer 1 attr This value defines the event-specific limit that
ssedThres indicates the "passed" counter status.
hold
Class DiagEventDebounceTimeBased
Package M2::AUTOSARTemplates::CommonStructure::ServiceNeeds
Note This meta-class represents the ability to indicate that the time-based pre-debounce
algorithm shall be used by the Dem for this diagnostic monitor.
Enumeration DiagnosticDebounceBehaviorEnum
Package M2::AUTOSARTemplates::DiagnosticExtract::Dem::DiagnosticDebouncing
Algorithm
Note Event debounce algorithm behavior options.
Literal Description
freeze The event debounce counter will be frozen with the current value and will not
change while a related enable condition is not fulfilled or ControlDTCSetting of the
related event is disabled. After all related enable conditions are fulfilled and
ControlDTCSetting of the related event is enabled again, the event qualification will
continue with the next report of the event (i.e. SetEventStatus).
Tags: atp.EnumerationValue=0
reset The event debounce counter will be reset to initial value if a related enable
condition is not fulfilled or ControlDTCSetting of the related event is disabled. The
qualification of the event will be restarted with the next valid event report.
Tags: atp.EnumerationValue=1
+diagnosticEvent 1 +enableConditionGroup 1
DiagnosticCommonElement DiagnosticConditionGroup
DiagnosticEvent::DiagnosticEvent DiagnosticConditionGroup::
DiagnosticEnableConditionGroup
+ agingAllowed :Boolean
+ clearEventBehavior :DiagnosticClearEventBehaviorEnum [0..1]
+ eventClearAllowed :DiagnosticEventClearAllowedEnum [0..1]
+ eventKind :DiagnosticEventKindEnum
+ prestorageFreezeFrame :Boolean
+ recoverableInSameOperationCycle :Boolean [0..1]
«atpVariation»
+ eventFailureCycleCounterThreshold :PositiveInteger [0..1]
Class DiagnosticEventToEnableConditionGroupMapping
Package M2::AUTOSARTemplates::DiagnosticExtract::Dem::DiagnosticMapping
Note Defines which EnableConditionGroup is applicable for a DiagnosticEvent.
Tags: atp.recommendedPackage=DiagnosticMappings
Base ARElement, ARObject, CollectableElement, DiagnosticCommonElement, Diagnostic
Mapping, Identifiable, MultilanguageReferrable, PackageableElement, Referrable
Attribute Type Mul. Kind Note
diagnostic DiagnosticEvent 1 ref Reference to a DiagnosticEvent to which an
Event EnableConditionGroup is assigned.
+diagnosticEvent 1 +storageConditionGroup 1
DiagnosticCommonElement DiagnosticConditionGroup
DiagnosticEvent DiagnosticStorageConditionGroup
+ agingAllowed :Boolean
+ clearEventBehavior :DiagnosticClearEventBehaviorEnum [0..1]
+ eventClearAllowed :DiagnosticEventClearAllowedEnum [0..1]
+ eventKind :DiagnosticEventKindEnum
+ prestorageFreezeFrame :Boolean
+ recoverableInSameOperationCycle :Boolean [0..1]
«atpVariation»
+ eventFailureCycleCounterThreshold :PositiveInteger [0..1]
Class DiagnosticEventToStorageConditionGroupMapping
Package M2::AUTOSARTemplates::DiagnosticExtract::Dem::DiagnosticMapping
Note Defines which StorageConditionGroup is applicable for a DiagnosticEvent.
Tags: atp.recommendedPackage=DiagnosticMappings
Base ARElement, ARObject, CollectableElement, DiagnosticCommonElement, Diagnostic
Mapping, Identifiable, MultilanguageReferrable, PackageableElement, Referrable
Attribute Type Mul. Kind Note
diagnostic DiagnosticEvent 1 ref Reference to a DiagnosticEvent to which a
Event StorageConditionGroup is assigned.
storageCo DiagnosticStora 1 ref Reference to a StorageConditionGroup assigned
nditionGro geConditionGro to a DiagnosticEvent.
up up
ServiceDependency
BswServiceDependency
+ident 0..1
DiagnosticSwMapping IdentCaption
DiagnosticEventPortMapping +bswServiceDependency BswServiceDependencyIdent
0..1
DiagnosticCommonElement
DiagnosticEvent
+ agingAllowed :Boolean
+diagnosticEvent + clearEventBehavior :DiagnosticClearEventBehaviorEnum [0..1]
+ eventClearAllowed :DiagnosticEventClearAllowedEnum [0..1]
1 + eventKind :DiagnosticEventKindEnum
+ prestorageFreezeFrame :Boolean
+ recoverableInSameOperationCycle :Boolean [0..1]
«atpVariation»
+ eventFailureCycleCounterThreshold :PositiveInteger [0..1]
+swcFlatServiceDependency AtpStructureElement
Identifiable
0..1 ServiceDependency
SwcServiceDependency
+swcServiceDependencyInSystem
«instanceRef» 0..1
Class DiagnosticEventPortMapping
Package M2::AUTOSARTemplates::DiagnosticExtract::Dem::DiagnosticMapping
Note Defines to which SWC service ports with DiagnosticEventNeeds the DiagnosticEvent
is mapped.
Tags: atp.recommendedPackage=DiagnosticMappings
Base ARElement, ARObject, CollectableElement, DiagnosticCommonElement, Diagnostic
Mapping, DiagnosticSwMapping, Identifiable, MultilanguageReferrable, Packageable
Element, Referrable
Attribute Type Mul. Kind Note
bswServic BswServiceDep 0..1 ref Reference to a BswServiceDependency that links
eDepende endencyIdent ServiceNeeds to BswModuleEntries.
ncy
diagnostic DiagnosticEvent 1 ref Reference to the DiagnosticEvent that is assigned
Event to SWC service ports with DiagnosticEventNeeds.
swcFlatSer SwcServiceDep 0..1 ref Reference to a SwcServiceDependencyType that
viceDepen endency links ServiceNeeds to SWC service ports.
dency
swcServic SwcServiceDep 0..1 iref Instance reference to a SwcServiceDependency
eDepende endency that links ServiceNeeds to SWC service ports.
ncyInSyste
m
+swcFlatServiceDependency AtpStructureElement
Identifiable
0..1
ServiceDependency
+swcServiceDependencyInSystem SwcServiceDependency
«instanceRef» 0..1
Class DiagnosticOperationCyclePortMapping
Package M2::AUTOSARTemplates::DiagnosticExtract::Dem::DiagnosticMapping
Note Defines to which SWC service ports with DiagnosticOperationCycleNeeds the
DiagnosticOperationCycle is mapped.
Tags: atp.recommendedPackage=DiagnosticMappings
Base ARElement, ARObject, CollectableElement, DiagnosticCommonElement, Diagnostic
Mapping, DiagnosticSwMapping, Identifiable, MultilanguageReferrable, Packageable
Element, Referrable
Attribute Type Mul. Kind Note
operationC DiagnosticOper 1 ref Reference to the DiagnosticOperationCycle that is
ycle ationCycle assigned to SWC service ports with
DiagnosticOperationCycleNeeds.
swcFlatSer SwcServiceDep 0..1 ref Reference to a SwcServiceDependencyType that
viceDepen endency links ServiceNeeds to SWC service ports.
dency
swcServic SwcServiceDep 0..1 iref Instance reference to a SwcServiceDependency
eDepende endency that links ServiceNeeds to SWC service ports.
ncyInSyste
m
AtpStructureElement
Identifiable
ServiceDependency
+swcServiceDependencyInSystem SwcServiceDependency
«instanceRef» 0..1
+swcFlatServiceDependency
0..1
Class DiagnosticEnableConditionPortMapping
Package M2::AUTOSARTemplates::DiagnosticExtract::Dem::DiagnosticMapping
Note Defines to which SWC service ports with DiagnosticEnableConditionNeeds the
DiagnosticEnableCondition is mapped.
Tags: atp.recommendedPackage=DiagnosticMappings
Base ARElement, ARObject, CollectableElement, DiagnosticCommonElement, Diagnostic
Mapping, DiagnosticSwMapping, Identifiable, MultilanguageReferrable, Packageable
Element, Referrable
Attribute Type Mul. Kind Note
enableCon DiagnosticEnabl 1 ref Reference to the EnableCondition which is
dition eCondition mapped to a SWC service port with
DiagnosticEnableConditionNeeds.
swcFlatSer SwcServiceDep 0..1 ref Reference to a SwcServiceDependencyType that
viceDepen endency links ServiceNeeds to SWC service ports. This
dency reference can be used in early stages of the
development in order to identify the
SwcServiceDependency without a full System
Context.
swcServic SwcServiceDep 0..1 iref Instance reference to a SwcServiceDependency
eDepende endency that links ServiceNeeds to SWC service ports.
ncyInSyste
m
+swcFlatServiceDependency
AtpStructureElement
0..1 Identifiable
ServiceDependency
+swcServiceDependencyInSystem SwcServiceDependency
«instanceRef» 0..1
Class DiagnosticStorageConditionPortMapping
Package M2::AUTOSARTemplates::DiagnosticExtract::Dem::DiagnosticMapping
Note Defines to which SWC service ports with DiagnosticStorageConditionNeeds the
DiagnosticStorageCondition is mapped.
Tags: atp.recommendedPackage=DiagnosticMappings
Base ARElement, ARObject, CollectableElement, DiagnosticCommonElement, Diagnostic
Mapping, DiagnosticSwMapping, Identifiable, MultilanguageReferrable, Packageable
Element, Referrable
Attribute Type Mul. Kind Note
diagnostic DiagnosticStora 1 ref Reference to the StorageCondition which is
StorageCo geCondition mapped to a SWC service port with
ndition DiagnosticStorageConditionNeeds.
swcFlatSer SwcServiceDep 0..1 ref Reference to a SwcServiceDependencyType that
viceDepen endency links ServiceNeeds to SWC service ports.
dency
swcServic SwcServiceDep 0..1 iref Instance reference to a SwcServiceDependency
eDepende endency that links ServiceNeeds to SWC service ports.
ncyInSyste
m
DiagnosticMapping
DiagnosticDemProvidedDataMapping
+ dataProvider :NameToken
+dataElement 0..1
Identifiable
DiagnosticDataElement
Class DiagnosticDemProvidedDataMapping
Package M2::AUTOSARTemplates::DiagnosticExtract::ServiceMapping
Note This represents the ability to define the nature of a data access for a
DiagnsoticDataElement in the Dem.
Tags: atp.recommendedPackage=DiagnosticServiceMappings
Base ARElement, ARObject, CollectableElement, DiagnosticCommonElement, Diagnostic
Mapping, Identifiable, MultilanguageReferrable, PackageableElement, Referrable
Attribute Type Mul. Kind Note
6.9 DiagnosticOperationCycle
[TPS_DEXT_01087] Semantics of DiagnosticOperationCycle d Different types
of DiagnosticOperationCycles are supported and defined by the type attribute,
e.g. the time between ignition on and ignition off. c(RS_DEXT_00054)
ARElement
DiagnosticCommonElement
«enumeration»
DiagnosticOperationCycleTypeEnum
DiagnosticOperationCycle
ignition
obdDrivingCycle + automaticEnd :Boolean
power + cycleAutostart :Boolean
time + cycleStatusStorage :Boolean
warmup + type :DiagnosticOperationCycleTypeEnum
other
Class DiagnosticOperationCycle
Package M2::AUTOSARTemplates::DiagnosticExtract::Dem::DiagnosticOperationCycle
Note Definition of an operation cycle that is the base of the event qualifying and for Dem
scheduling.
Tags: atp.recommendedPackage=DiagnosticOperationCycles
Base ARElement, ARObject, CollectableElement, DiagnosticCommonElement, Identifiable,
MultilanguageReferrable, PackageableElement, Referrable
Attribute Type Mul. Kind Note
automaticE Boolean 1 attr If set to true the driving cycle shall automatically
nd end at either Dem_Shutdown() or Dem_Init().
cycleAutos Boolean 1 attr This attribute defines if the operation cycles is
tart automatically re-started during Dem_PreInit.
cycleStatu Boolean 1 attr Defines if the operation cycle state is available
sStorage over the power cycle (stored non-volatile) or not.
Enumeration DiagnosticOperationCycleTypeEnum
Package M2::AUTOSARTemplates::DiagnosticExtract::Dem::DiagnosticOperationCycle
Note Operation cycles types used to identify certain Operation cycles with a certain
semantics.
Literal Description
ignition Ignition ON / OFF cycle
Tags: atp.EnumerationValue=0
obdDriving OBD Driving cycle
Cycle
Tags: atp.EnumerationValue=1
other further operation cycle
Tags: atp.EnumerationValue=2
power Power ON / OFF cycle
Tags: atp.EnumerationValue=5
6.10 DiagnosticAging
[TPS_DEXT_03021] Aging d It is possible to remove a specific event from the event
memory, if its fault conditions are not fulfilled for a certain period of time. This process
is called as aging or unlearning.
This semantics is formalized by means of the meta-class DiagnosticAging. c
(RS_DEXT_00055)
ARElement
DiagnosticCommonElement
DiagnosticAging
«atpVariation»
+ threshold :PositiveInteger [0..1]
«atpVariation,atpSplitable»
+agingCycle 0..1
DiagnosticOperationCycle
+ automaticEnd :Boolean
+ cycleAutostart :Boolean
+ cycleStatusStorage :Boolean
+ type :DiagnosticOperationCycleTypeEnum
Class DiagnosticAging
Package M2::AUTOSARTemplates::DiagnosticExtract::Dem::DiagnosticAging
Note Defines the aging algorithm.
Tags: atp.recommendedPackage=DiagnosticAgings
Base ARElement, ARObject, CollectableElement, DiagnosticCommonElement, Identifiable,
MultilanguageReferrable, PackageableElement, Referrable
Attribute Type Mul. Kind Note
agingCycle DiagnosticOper 0..1 ref This represents the applicable aging cycle.
ationCycle
Stereotypes: atpSplitable; atpVariation
Tags: atp.Splitkey=agingCycle, variationPoint.
ShortLabel
vh.latestBindingTime=preCompileTime
threshold PositiveInteger 0..1 attr Number of aging cycles needed to unlearn/delete
the event.
Stereotypes: atpVariation
Tags: vh.latestBindingTime=preCompileTime
6.11 DiagnosticIndicator
[TPS_DEXT_03022] Different kinds of DiagnosticIndicators d Different types
of Indicators can be defined with the DiagnosticIndicator element. For this, the
attribute DiagnosticIndicator.type shall be used. c(RS_DEXT_00056)
ARElement
DiagnosticCommonElement
«enumeration» DiagnosticIndicator
DiagnosticIndicatorTypeEnum
+ type :DiagnosticIndicatorTypeEnum [0..1]
warning
«atpVariation»
malfunction
+ healingCycleCounterThreshold :PositiveInteger
amberWarning
protectLamp
redStopLamp
Class DiagnosticIndicator
Package M2::AUTOSARTemplates::DiagnosticExtract::Dem::DiagnosticIndicator
Note Definition of an indicator.
Tags: atp.recommendedPackage=DiagnosticIndicators
Base ARElement, ARObject, CollectableElement, DiagnosticCommonElement, Identifiable,
MultilanguageReferrable, PackageableElement, Referrable
Attribute Type Mul. Kind Note
healingCyc PositiveInteger 1 attr This attribute defines the number of healing cycles
leCounterT for the WarningIndicatorOffCriteria
hreshold
Stereotypes: atpVariation
Tags: vh.latestBindingTime=preCompileTime
type DiagnosticIndic 0..1 attr Defines the type of the indicator.
atorTypeEnum
Enumeration DiagnosticIndicatorTypeEnum
Package M2::AUTOSARTemplates::DiagnosticExtract::Dem::DiagnosticIndicator
Note Type of an indicator.
Literal Description
amberWarn- Amber Warning Lamp
ing
Tags: atp.EnumerationValue=0
malfunction Malfunction Indicator Lamp
Tags: atp.EnumerationValue=1
protectLamp Protect Lamp
Tags: atp.EnumerationValue=2
redStopLamp Red Stop Lamp
Tags: atp.EnumerationValue=3
warning Warning
Tags: atp.EnumerationValue=4
6.12 DiagnosticTestResult
The meta-class DiagnosticTestResult allows for a formal definition of a diagnostic
test result. The purpose of this meta-class is to support the reporting of latest test
results back to a client. This is of special importance for the OBD service mode 0x06,
see chapter 5.6.5.
«enumeration»
DiagnosticTestResultUpdateEnum
always
steady
DiagnosticCommonElement
DiagnosticTestIdentifier
DiagnosticTestResult +testIdentifier
+ id :PositiveInteger
+ updateKind :DiagnosticTestResultUpdateEnum 1
+ uasId :PositiveInteger
DiagnosticCommonElement
+monitoredIdentifier
DiagnosticMeasurementIdentifier
1 + obdMid :PositiveInteger
DiagnosticCommonElement
DiagnosticEvent
+ agingAllowed :Boolean
+ clearEventBehavior :DiagnosticClearEventBehaviorEnum [0..1]
+event + eventClearAllowed :DiagnosticEventClearAllowedEnum [0..1]
+ eventKind :DiagnosticEventKindEnum
0..1
+ prestorageFreezeFrame :Boolean
+ recoverableInSameOperationCycle :Boolean [0..1]
«atpVariation»
+ eventFailureCycleCounterThreshold :PositiveInteger [0..1]
Class DiagnosticTestResult
Package M2::AUTOSARTemplates::DiagnosticExtract::Dem::DiagnosticTestResult
Note This meta-class represents the ability to define diagnostic test results.
Tags: atp.recommendedPackage=DiagnosticTestResults
Base ARElement, ARObject, CollectableElement, DiagnosticCommonElement, Identifiable,
MultilanguageReferrable, PackageableElement, Referrable
Attribute Type Mul. Kind Note
event DiagnosticEvent 0..1 ref This attribute represents the diagnostic event that
is related to the diagnostic test result.
monitoredI DiagnosticMeas 1 ref This attribute represents the related diagnostic
dentifier urementIdentifie monitored identifier.
r
testIdentifi DiagnosticTestI 1 aggr This attribute represents the applicable test
er dentifier identifier.
updateKin DiagnosticTest 1 attr This attribute controls the update behavior of the
d ResultUpdateEn enclosing DiagnosticTestResult.
um
Enumeration DiagnosticTestResultUpdateEnum
Package M2::AUTOSARTemplates::DiagnosticExtract::Dem::DiagnosticTestResult
Note This meta-class represents the ability to define the update behavior of a
DiagnosticTestResult.
Literal Description
always Any DTR result reported by the monitor is used by the Dem.
Tags: atp.EnumerationValue=0
steady The Dem accepts reported DTRs only when the configured debouncing
mechanism is stable at the FAIL or PASS limit.
Tags: atp.EnumerationValue=1
Class DiagnosticTestIdentifier
Package M2::AUTOSARTemplates::DiagnosticExtract::Dem::DiagnosticTestResult
Note This meta-class represents the ability to create a diagnostic test identifier.
Base ARObject
Attribute Type Mul. Kind Note
id PositiveInteger 1 attr This represents the numerical id associated with
the diagnostic test identifier.
uasId PositiveInteger 1 attr This represents the unit and scaling Id of the
diagnostic test result.
Class DiagnosticMeasurementIdentifier
Package M2::AUTOSARTemplates::DiagnosticExtract::Dem::DiagnosticTestResult
Note This meta-class represents the ability to describe a measurement identifier.
Tags: atp.recommendedPackage=DiagnosticMeasurementIdentifiers
Base ARElement, ARObject, CollectableElement, DiagnosticCommonElement, Identifiable,
MultilanguageReferrable, PackageableElement, Referrable
Attribute Type Mul. Kind Note
obdMid PositiveInteger 1 attr This represents the numerical measurement Id
ARElement
DiagnosticContributionSet
«atpVariation,atpSplitable»
+element 0..*
ARElement
DiagnosticCommonElement
DiagnosticEcuInstanceProps «enumeration»
DiagnosticObdSupportEnum
+ dtcStatusAvailabilityMask :PositiveInteger
+ obdSupport :DiagnosticObdSupportEnum masterEcu
+ sendRespPendOnTransToBoot :Boolean secondaryEcu
primaryEcu
noObdSupport
«atpSplitable»
+ecuInstance 0..*
FibexElement
EcuInstance
Therefore, the attributes applying for the ECU-level are added to the meta-class Di-
agnosticEcuInstanceProps.
[TPS_DEXT_01122] Indication whether a EcuInstance supports OBD d The at-
tribute DiagnosticEcuInstanceProps.obdSupport is taken to define whether or
not a given EcuInstance shall support OBD and in which way OBD shall be sup-
ported on this Ecu. c(RS_DEXT_00058)
Class DiagnosticEcuInstanceProps
Package M2::AUTOSARTemplates::DiagnosticExtract::DiagnosticContribution
Note This meta-class represents the ability to model properties that are specific for a given
EcuInstance but on the other hand represent purely diagnostic-related information.
Tags: atp.recommendedPackage=DiagnosticEcuInstancePropss
Base ARElement, ARObject, CollectableElement, DiagnosticCommonElement, Identifiable,
MultilanguageReferrable, PackageableElement, Referrable
Attribute Type Mul. Kind Note
dtcStatusA PositiveInteger 1 attr This attribute contains the value of the DTC status
vailabilityM availability mask.
ask
ecuInstanc EcuInstance * ref This represents the actual EcuInstance to which
e the information conatined in the
DiagnosticEcuInstance contribute.
Stereotypes: atpSplitable
Tags: atp.Splitkey=ecuInstance
obdSuppor DiagnosticObdS 1 attr This attribute is used to specify the role (if
t upportEnum applicable) in which the DiagnosticEcuInstance
supports OBD.
sendResp Boolean 1 attr The purpose of this attribute is to define whether
PendOnTr or not the ECU should send a NRC 0x78
ansToBoot (response pending) before transitioning to the
bootloader (in this case the attribute shall be set to
"true") or if the transition shall be initiated without
sending NRC 0x78 (in this case the attribute shall
be set to "false").
Tags: atp.Status=obsolete
Enumeration DiagnosticObdSupportEnum
Package M2::AUTOSARTemplates::DiagnosticExtract::DiagnosticContribution
Note This meta-class represents the ability to model the roles in which a participation in
OBD is foreseen. At the moment, this applies exclusively to the Dem. However,
future extension of the Dcm may require this setting as well.
Literal Description
masterEcu This represent the role "master ECU".
Tags: atp.EnumerationValue=0
noObdSup- This represents the ability to explicitly specify that no participation in OBD is
port foreseen.
Tags: atp.EnumerationValue=1
primaryEcu This represents the role "primary ECU".
Tags: atp.EnumerationValue=2
secondary This represents the role "secondary ECU".
Ecu
Tags: atp.EnumerationValue=3
Class DiagnosticTroubleCodeObd
Package M2::AUTOSARTemplates::DiagnosticExtract::Dem::DiagnosticTroubleCode
Note This element is used to define OBD-relevant DTCs.
Tags: atp.recommendedPackage=DiagnosticTroubleCodes
Base ARElement, ARObject, CollectableElement, DiagnosticCommonElement, Diagnostic
TroubleCode, Identifiable, MultilanguageReferrable, PackageableElement, Referrable
Attribute Type Mul. Kind Note
considerPt Boolean 1 attr This attribute describes the affection of the event
oStatus by the Dem PTO handling.
Stereotypes: atpVariation
Tags: vh.latestBindingTime=preCompileTime
dtcProps DiagnosticTroub 0..1 ref Defined properties associated with the DemDTC.
leCodeProps
eventObd NameToken 0..1 attr This attribute specifies the Event OBD Readiness
Readiness group for PID $01 and PID $41 computation. This
Group attribute is only applicable for emission-related
ECUs.
obdDTCVa PositiveInteger 0..1 attr Unique Diagnostic Trouble Code value for OBD.
lue
Stereotypes: atpVariation
Tags: vh.latestBindingTime=preCompileTime
Another OBD-related feature of the Dem is the support for the computation of the
In-Use-Monitor Performance Ratio (IUMPR). It is possible to define a so-called Di-
agnosticIumprGroup that encapsulates the computation of a group of Diagnos-
ticEvents.
The modeling of the DiagnosticIumprDenominatorGroup supports the configura-
tion of additional environmental conditions that shall be applied on the incrementation
of the IUMPR denominator.
From the modeling point of view, neither DiagnosticIumprGroup nor Diagnosti-
cIumprDenominatorGroup reference the associated DiagnosticEvent directly.
But since the DiagnosticIumpr referenced in the role iumpr in turn references
at most one DiagnosticEvent the resulting relation effectively boils down to Di-
agnosticIumprGroup and DiagnosticIumprDenominatorGroup being able to
precisely define the collection of affected DiagnosticEvents.
[TPS_DEXT_01110] Standardized values of DiagnosticIumprGroup.category
d The semantics of the DiagnosticIumprGroup are identified by means of the at-
tribute DiagnosticIumprGroup.category. Standardized values of Diagnosti-
cIumprGroup.category are:
• IUMPR_DENOMINATOR_NONE
• IUMPR_DENOMINATOR_PHYSICAL_API
• IUMPR_DENOMINATOR_COLDSTART
• IUMPR_DENOMINATOR_EVAP
• IUMPR_DENOMINATOR_500_MILES
c(RS_DEXT_00078)
DiagnosticCommonElement DiagnosticCommonElement
DiagnosticIumprGroup DiagnosticIumprDenominatorGroup
+ groupIdentifier :NameToken
DiagnosticCommonElement
DiagnosticIumpr
+event 0..1
DiagnosticCommonElement
DiagnosticEvent
+ agingAllowed :Boolean
+ clearEventBehavior :DiagnosticClearEventBehaviorEnum [0..1]
+ eventClearAllowed :DiagnosticEventClearAllowedEnum [0..1]
+ eventKind :DiagnosticEventKindEnum
+ prestorageFreezeFrame :Boolean
+ recoverableInSameOperationCycle :Boolean [0..1]
«atpVariation»
+ eventFailureCycleCounterThreshold :PositiveInteger [0..1]
Class DiagnosticIumpr
Package M2::AUTOSARTemplates::DiagnosticExtract::Dem::DiagnosticEvent
Note This meta-class represents he ability to model the in-us monitor performance ratio.
The latter computes to the number of times a fault could have been found divided by
the number of times the vehicle conditions have been properly fulfilled.
Tags: atp.recommendedPackage=DiagnosticIumprs
Base ARElement, ARObject, CollectableElement, DiagnosticCommonElement, Identifiable,
MultilanguageReferrable, PackageableElement, Referrable
Attribute Type Mul. Kind Note
event DiagnosticEvent 0..1 ref This reference represents the DiagnosticEvent
that corresoponds to the IUMPR computation.
Class DiagnosticIumprGroup
Package M2::AUTOSARTemplates::DiagnosticExtract::Dem::DiagnosticEvent
Note This meta-class represents the ability to model a IUMPR groups.
Tags: atp.recommendedPackage=DiagnosticIumprGroups
Base ARElement, ARObject, CollectableElement, DiagnosticCommonElement, Identifiable,
MultilanguageReferrable, PackageableElement, Referrable
Attribute Type Mul. Kind Note
groupIdenti NameToken 1 attr This attribute shall be taken to define an identifier
fier for the IUMPR group.
Class DiagnosticIumprDenominatorGroup
Package M2::AUTOSARTemplates::DiagnosticExtract::Dem::DiagnosticEvent
Note This meta-class represents the ability to model a IUMPR denominator groups.
Tags: atp.recommendedPackage=DiagnosticIumprDenominatorGroup
Base ARElement, ARObject, CollectableElement, DiagnosticCommonElement, Identifiable,
MultilanguageReferrable, PackageableElement, Referrable
Attribute Type Mul. Kind Note
iumpr DiagnosticIumpr * ref This reference collects DiagnosticIumpr to a
DiagnosticIumprDenominatorGroup.
The modeling of DTCs for the OBD-II use case is pretty similar to the modeling of DTCs
for the UDS use case. In other words, DiagnosticTroubleCodeObd references the
DiagnosticTroubleCodeProps in the same way that this meta-class is referenced
from DiagnosticTroubleCodeUds.
Please note that the meta-class DiagnosticTroubleCodeObd is only applicable for
the implementation of OBD-II.
[TPS_DEXT_01111] Legislative freeze frame for the OBD-II case d For the imple-
mentation of OBD-II, the legislative freeze frame is obtained from running the OBD
Mode 0x02 service, modeled by means of meta-class DiagnosticPowertrain-
FreezeFrame. c()
DiagnosticCommonElement
DiagnosticMemoryDestination
+memoryDestination 0..*
DiagnosticCommonElement DiagnosticAbstractDataIdentifier
DiagnosticFreezeFrame DiagnosticDataIdentifier
«atpVariation» Tags:
«atpVariation,atpSplitable» vh.latestBindingTime =
preCompileTime
«atpVariation» Tags:
«atpVariation,atpSplitable»
vh.latestBindingTime =
preCompileTime «enumeration»
DiagnosticWwhObdDtcClassEnum
+extendedDataRecord 0..* +aging 0..1
demDtcWwhObdClassB1
DiagnosticCommonElement DiagnosticCommonElement demDtcWwhObdClassA
DiagnosticExtendedDataRecord DiagnosticAging demDtcWwhObdClassB2
demDtcWwhObdClassC
+ recordNumber :PositiveInteger «atpVariation» demDtcWwhObdClassNoInformation
+ trigger :DiagnosticRecordTriggerEnum + threshold :PositiveInteger [0..1]
+ update :Boolean
+ automaticEnd :Boolean
+ cycleAutostart :Boolean
+ cycleStatusStorage :Boolean
+ type :DiagnosticOperationCycleTypeEnum
«enumeration» «enumeration»
«enumeration»
DiagnosticOperationCycleTypeEnum DiagnosticSignificanceEnum
EnvironmentCaptureToReportingEnum
ignition fault
captureSynchronousToReporting
obdDrivingCycle occurence
captureAsynchronousToReporting
power
time
warmup
other
7 Functional Inhibition
7.1 Introduction
Conceptually, the Fim [14] is closely related to the Dem since it handles the relation of
functionality (expressed via the so-called function identifier, or in short-form: Fid) and
linked DiagnosticEvents.
Tags: atp.recommendedPackage=DiagnosticFimAliasEvents
Base ARElement, ARObject, CollectableElement, DiagnosticAbstractAliasEvent,
DiagnosticCommonElement, Identifiable, MultilanguageReferrable, Packageable
Element, Referrable
Attribute Type Mul. Kind Note
– – – – –
Class DiagnosticFunctionIdentifier
Package M2::AUTOSARTemplates::DiagnosticExtract::Fim
Note This meta-class represents a diagnostic function identifier (a.k.a. FID).
Tags: atp.recommendedPackage=DiagnosticFunctionIdentifiers
Base ARElement, ARObject, CollectableElement, DiagnosticCommonElement, Identifiable,
MultilanguageReferrable, PackageableElement, Referrable
Attribute Type Mul. Kind Note
– – – – –
Class DiagnosticInhibitSourceEventMapping
Package M2::AUTOSARTemplates::DiagnosticExtract::Fim
Note This meta-class represents the ability to map a DiagnosticFunctionInhibitSource
directly to alternatively one DiagnosticEvent or one DiagnosticFimSummaryEvent.
This model element shall be used if the approach via the alias events is not
applicable, i.e. when diagnostic events defined by the Dem are already available at
the time the Fim configuration within the diagnostic extract is created.
Tags: atp.recommendedPackage=DiagnosticInhibitSourceEventMappings
Base ARElement, ARObject, CollectableElement, DiagnosticCommonElement, Diagnostic
Mapping, Identifiable, MultilanguageReferrable, PackageableElement, Referrable
Attribute Type Mul. Kind Note
diagnostic DiagnosticEvent 0..1 ref This represents the reference to the diagnostic
Event event.
eventGrou DiagnosticFimE 0..1 ref This represents the reference to the event group
p ventGroup
inhibitionS DiagnosticFunct 0..1 ref This represents the reference to the inhibition
ource ionInhibitSource source.
Class DiagnosticFimAliasEventMapping
Package M2::AUTOSARTemplates::DiagnosticExtract::Dem::DiagnosticEvent
Note This meta-class represents the ability to model the mapping of a DiagnosticEvent to a
DiagnosticAliasEvent. By this means the "preliminary" modeling by way of a
DiagnosticAliasEvent is further substantiated.
Tags: atp.recommendedPackage=DiagnosticFimEventMappings
Base ARElement, ARObject, CollectableElement, DiagnosticCommonElement, Diagnostic
Mapping, Identifiable, MultilanguageReferrable, PackageableElement, Referrable
Attribute Type Mul. Kind Note
actualEven DiagnosticEvent 0..1 ref This represents the reference to the actual
t diagnostic event.
aliasEvent DiagnosticFimAl 0..1 ref This represents the reference to the alias event.
iasEvent
Class DiagnosticFimAliasEventGroup
Package M2::AUTOSARTemplates::DiagnosticExtract::Fim
Note This meta-class represents the ability to define an alias for a Fim summarized event.
This alias can be used in early phases of the configuration process until a further
refinement is possible.
Tags: atp.recommendedPackage=DiagnosticFimAliasEventGroups
Base ARElement, ARObject, CollectableElement, DiagnosticAbstractAliasEvent,
DiagnosticCommonElement, Identifiable, MultilanguageReferrable, Packageable
Element, Referrable
Attribute Type Mul. Kind Note
groupedAli DiagnosticFimAl * ref By means of this reference the grouping of
asEvent iasEvent DiagnosticAliasEvents within the
DiagnosticFimSummaryEvent can be specified.
Class DiagnosticFimAliasEventGroupMapping
Package M2::AUTOSARTemplates::DiagnosticExtract::Fim
Note This meta-class represents the ability to map a DiagnosticFimEventGroup to a
DiagnosticFimAliasEventGroup. By this means the "preliminary" modeling by way of a
DiagnosticFimAliasEventGroup is further substantiated.
Tags: atp.recommendedPackage=DiagnosticFimAliasEventGroupMappings
Base ARElement, ARObject, CollectableElement, DiagnosticCommonElement, Diagnostic
Mapping, Identifiable, MultilanguageReferrable, PackageableElement, Referrable
Attribute Type Mul. Kind Note
actualEven DiagnosticFimE 0..1 ref This represents the reference to the actual
t ventGroup summary event.
aliasEvent DiagnosticFimAl 0..1 ref This represents the reference to the alias
iasEventGroup summary event.
Ultimately, the modeling approach for the Fim starts at the definition of the concept of
a function itself by means of the meta-class DiagnosticFunctionIdentifier.
DiagnosticCommonElement
DiagnosticFunctionIdentifier
+functionIdentifier 0..1
«enumeration»
DiagnosticInhibitionMaskEnum
DiagnosticCommonElement lastFailed
DiagnosticFunctionIdentifierInhibit notTested
tested
+ inhibitionMask :DiagnosticInhibitionMaskEnum [0..1] testedAndFailed
+inhibitSource 0..*
Identifiable
DiagnosticFunctionInhibitSource
0..1 +inhibitionSource
DiagnosticAbstractAliasEvent DiagnosticAbstractAliasEvent
DiagnosticFimAliasEvent +groupedAliasEvent DiagnosticFimAliasEventGroup
0..*
DiagnosticCommonElement
DiagnosticFimEventGroup
DiagnosticCommonElement
DiagnosticEvent
+ agingAllowed :Boolean
+ clearEventBehavior :DiagnosticClearEventBehaviorEnum [0..1]
+ eventClearAllowed :DiagnosticEventClearAllowedEnum [0..1]
+ eventKind :DiagnosticEventKindEnum
+ prestorageFreezeFrame :Boolean
+ recoverableInSameOperationCycle :Boolean [0..1]
«atpVariation»
+ eventFailureCycleCounterThreshold :PositiveInteger [0..1]
Class DiagnosticFunctionIdentifierInhibit
Package M2::AUTOSARTemplates::DiagnosticExtract::Fim
Note This meta-class represents the ability to define the inhibition of a specific function
identifier within the Fim configuration.
Tags: atp.recommendedPackage=DiagnosticFunctionIdentifierInhibits
Base ARElement, ARObject, CollectableElement, DiagnosticCommonElement, Identifiable,
MultilanguageReferrable, PackageableElement, Referrable
Attribute Type Mul. Kind Note
functionIde DiagnosticFunct 0..1 ref This represents the corresponding function
ntifier ionIdentifier identifier.
inhibitSour DiagnosticFunct * aggr This represents a collection of
ce ionInhibitSource DiagnosticFunctionInhibitSource that contribute to
the configuration of the enclosing
DiagnosticFunctionIdentiferInhibit.
inhibitionM DiagnosticInhibi 0..1 attr This represents the value of the inhibition mask
ask tionMaskEnum behavior.
Class DiagnosticFunctionInhibitSource
Package M2::AUTOSARTemplates::DiagnosticExtract::Fim
Note This meta-class represents the ability to define an inhibition source in the context of
the Fim configuration.
Base ARObject, Identifiable, MultilanguageReferrable, Referrable
Attribute Type Mul. Kind Note
event DiagnosticFimAl 0..1 ref This represents the alias event appllicable for the
iasEvent referencing inhibition source.
eventGrou DiagnosticFimAl 0..1 ref This represents the event group applicable for the
p iasEventGroup referencing inhibition source.
Enumeration DiagnosticInhibitionMaskEnum
Package M2::AUTOSARTemplates::DiagnosticExtract::Fim
Note This meta-class represents the ability to define different kinds of inhibition mask
behavior.
Literal Description
lastFailed This represents the inhibition mask behavior "last failed".
Tags: atp.EnumerationValue=0
notTested This represents the inhibition mask behavior "not tested".
Tags: atp.EnumerationValue=1
tested This represents the inhibition mask behavior "tested".
Tags: atp.EnumerationValue=3
testedAnd This represents the inhibition mask behavior "tested and failed".
Failed
Tags: atp.EnumerationValue=2
Class DiagnosticFimEventGroup
Package M2::AUTOSARTemplates::DiagnosticExtract::Fim
Note This meta-class represents the ability to model a Fim event group, also known as a
summary event in Fim terminology. This represents a group of single diagnostic
events.
Tags: atp.recommendedPackage=DiagnosticFimEventGroups
Base ARElement, ARObject, CollectableElement, DiagnosticCommonElement, Identifiable,
MultilanguageReferrable, PackageableElement, Referrable
Attribute Type Mul. Kind Note
event DiagnosticEvent * ref This reference represents the way of grouping
diagnostic events into a summary event in the
context of the Fim.
DiagnosticCommonElement
DiagnosticFunctionIdentifier
+functionIdentifier 0..1
DiagnosticCommonElement
DiagnosticFunctionIdentifierInhibit
DiagnosticMapping
DiagnosticFimAliasEventMapping
DiagnosticAbstractAliasEvent DiagnosticCommonElement
DiagnosticFimAliasEvent DiagnosticEvent
+ agingAllowed :Boolean
+ clearEventBehavior :DiagnosticClearEventBehaviorEnum [0..1]
+ eventClearAllowed :DiagnosticEventClearAllowedEnum [0..1]
+ eventKind :DiagnosticEventKindEnum
+ prestorageFreezeFrame :Boolean
+ recoverableInSameOperationCycle :Boolean [0..1]
«atpVariation»
+ eventFailureCycleCounterThreshold :PositiveInteger [0..1]
DiagnosticCommonElement
DiagnosticFunctionIdentifier
+functionIdentifier 0..1
DiagnosticCommonElement «enumeration»
DiagnosticFunctionIdentifierInhibit DiagnosticInhibitionMaskEnum
+inhibitSource 0..*
Identifiable
DiagnosticFunctionInhibitSource
DiagnosticMapping
DiagnosticFimAliasEventGroupMapping
DiagnosticCommonElement DiagnosticAbstractAliasEvent
DiagnosticFimEventGroup DiagnosticFimAliasEventGroup
+event 0..*
DiagnosticCommonElement
DiagnosticEvent
+ agingAllowed :Boolean
+ clearEventBehavior :DiagnosticClearEventBehaviorEnum [0..1]
+ eventClearAllowed :DiagnosticEventClearAllowedEnum [0..1]
+ eventKind :DiagnosticEventKindEnum
+ prestorageFreezeFrame :Boolean
+ recoverableInSameOperationCycle :Boolean [0..1]
«atpVariation»
+ eventFailureCycleCounterThreshold :PositiveInteger [0..1]
DiagnosticMapping
DiagnosticSwMapping
DiagnosticFunctionIdentifier DiagnosticFimFunctionMapping
+mappedFunction
0..1
AtpStructureElement +mappedSwcServiceDependency
Identifiable
0..1 «instanceRef»
ServiceDependency
SwcServiceDependency +mappedFlatSwcServiceDependency
0..1
IdentCaption
BswServiceDependencyIdent +mappedBswServiceDependency
0..1
+ident 0..1
ServiceDependency
BswServiceDependency
Class DiagnosticFimFunctionMapping
Package M2::AUTOSARTemplates::DiagnosticExtract::ServiceMapping
Note This meta-class represents the ability to define a mapping between a function
identifier (FID) and the corresponding SwcServiceDependency in the application
software resp. basic software.
Tags: atp.recommendedPackage=DiagnosticFimFunctionMappings
Base ARElement, ARObject, CollectableElement, DiagnosticCommonElement, Diagnostic
Mapping, DiagnosticSwMapping, Identifiable, MultilanguageReferrable, Packageable
Element, Referrable
Attribute Type Mul. Kind Note
Class FunctionInhibitionNeeds
Package M2::AUTOSARTemplates::CommonStructure::ServiceNeeds
Note Specifies the abstract needs on the configuration of the Function Inhibition Manager
for one Function Identifier (FID). This class currently contains no attributes. Its name
can be regarded as a symbol identifying the FID from the viewpoint of the component
or module which owns this class.
Base ARObject, Identifiable, MultilanguageReferrable, Referrable, ServiceNeeds
Attribute Type Mul. Kind Note
– – – – –
8 Diagnostics on J1939
8.1 Introduction
Diagnostics on J1939 is to some extent similar to the “rest of the world”. In other words,
J1939 uses a Dcm and a Dem in a similar way as other communication networks do.
On the other hand, there are significant differences between J1939 and the “rest of
the world” that justify the creation of a separate chapter that focuses entirely on how a
diagnostic extract for J1939 shall look like.
That said, a support for Dcm-related model elements for J1939 is mainly happening
in the domain of the AUTOSAR System Template [6] rather than in the scope of this
document.
The actual configuration of services supported by the J1939Dcm is done by assigning
DMx messages in the System Description.
The mapping of the J1939DcmIPdus to the diagnostic services of J1939 Dcm happens
during derivation to EcuC.
In the following sections this document focuses on explaining the modeling with respect
to the Dem.
Class DiagnosticJ1939Spn
Package M2::AUTOSARTemplates::DiagnosticExtract::Dem::J1939
Note This meta-class represents the ability to model a J1939 Suspect Parameter Number
(SPN).
Tags: atp.recommendedPackage=DiagnosticJ1939Spns
Base ARElement, ARObject, CollectableElement, DiagnosticCommonElement, Identifiable,
MultilanguageReferrable, PackageableElement, Referrable
Attribute Type Mul. Kind Note
spn PositiveInteger 1 attr This attribute represents the concrete numerical
identification for the enclosing SPN.
+systemSignal 0..1
+ dynamicLength :Boolean
DiagnosticCommonElement
DiagnosticJ1939Node
+node 0..1
+nmNode 0..1
DiagnosticTroubleCode NmNode
DiagnosticTroubleCodeJ1939 J1939NmNode
Class DiagnosticJ1939FreezeFrame
Package M2::AUTOSARTemplates::DiagnosticExtract::Dem::J1939
Note This meta-class represents the ability to model a J1939 Freeze Frame.
Tags: atp.recommendedPackage=DiagnosticJ1939FreezeFrames
Base ARElement, ARObject, CollectableElement, DiagnosticCommonElement, Identifiable,
MultilanguageReferrable, PackageableElement, Referrable
Attribute Type Mul. Kind Note
node DiagnosticJ193 0..1 ref This represents the DiagnosticJ1939Node to
9Node which the J1939 freeze frame is associated.
spn (or- DiagnosticJ193 * ref This represents the collection of SPNs that make
dered) 9Spn the J1939 Freeze Frame.
Class DiagnosticJ1939ExpandedFreezeFrame
Package M2::AUTOSARTemplates::DiagnosticExtract::Dem::J1939
Note This meta-class represents the ability to model an expanded J1939 Freeze Frame.
Tags: atp.recommendedPackage=DiagnosticJ1939ExpandedFreezeFrames
Base ARElement, ARObject, CollectableElement, DiagnosticCommonElement, Identifiable,
MultilanguageReferrable, PackageableElement, Referrable
Attribute Type Mul. Kind Note
node DiagnosticJ193 0..1 ref This represents the DiagnosticJ1939Node to
9Node which the J1939 expanded freeze frame is
associated.
spn (or- DiagnosticJ193 * ref This represents the collection of SPNs that make
dered) 9Spn the expanded J1939 Freeze Frame.
Enumeration DiagnosticTroubleCodeJ1939DtcKindEnum
Package M2::AUTOSARTemplates::DiagnosticExtract::Dem::DiagnosticTroubleCode
Note This meta-class represents the ability to further specify a J1939 DTC in terms of its
semantics.
Literal Description
serviceOnly this represents a DTC that is only relevant for service in a garage, reported by e.g.
DM53.
Tags: atp.EnumerationValue=0
standard This represents a non-specific DTC reported by e.g. DM1.
Tags: atp.EnumerationValue=1
Class DiagnosticJ1939SpnMapping
Package M2::AUTOSARTemplates::DiagnosticExtract::Dem::J1939
Note This meta-class represents the ability to define a mapping between an SPN and a
SystemSignal. The existence of a mapping means that neither the SPN nor the
SystemSignal need to be updated if the relation between the two changes.
Tags: atp.recommendedPackage=DiagnosticJ1939SpnMappings
Base ARElement, ARObject, CollectableElement, DiagnosticCommonElement, Diagnostic
Mapping, Identifiable, MultilanguageReferrable, PackageableElement, Referrable
Attribute Type Mul. Kind Note
sendingNo DiagnosticJ193 * ref This additional reference has a supporting role in
de 9Node that it identifies all sending nodes of a given SPN.
It is positively possible thata given SPN is sent by
more than one node. Even tough the reference
targets the DiagnosticJ1939Node the semantics of
the reference is bound to the J1939NmNode that
is in turn referenced by the DiagnosticJ1939Node.
spn DiagnosticJ193 0..1 ref This reference goes to the SPN that shall be
9Spn associated with a SystemSignal.
systemSig SystemSignal 0..1 ref This reference goes to the SystemSignal that shall
nal be associated with an SPN.
Class DiagnosticJ1939Node
Package M2::AUTOSARTemplates::DiagnosticExtract::Dem::J1939
Note This meta-class represents the diagnostic configuration of a J1939 Nm node, which in
turn represents a "virtual Ecu" on the J1939 communication bus.
Tags: atp.recommendedPackage=DiagnosticJ1939Nodes
Base ARElement, ARObject, CollectableElement, DiagnosticCommonElement, Identifiable,
MultilanguageReferrable, PackageableElement, Referrable
Attribute Type Mul. Kind Note
nmNode J1939NmNode 0..1 ref This represents the reference to the "virtual Ecu"
to which the enclosing DiagnosticJ1939Node is
associated.
Class DiagnosticTroubleCodeJ1939
Package M2::AUTOSARTemplates::DiagnosticExtract::Dem::DiagnosticTroubleCode
Note This meta-class represents the ability to model specific trouble-code related
properties for J1939.
Tags: atp.recommendedPackage=DiagnosticTroubleCodes
Base ARElement, ARObject, CollectableElement, DiagnosticCommonElement, Diagnostic
TroubleCode, Identifiable, MultilanguageReferrable, PackageableElement, Referrable
Attribute Type Mul. Kind Note
dtcProps DiagnosticTroub 0..1 ref Defined properties associated with the J1939
leCodeProps DTC.
fmi PositiveInteger 0..1 attr This attribute represents the behavior of the
Failure Mode Indicator.
kind DiagnosticTroub 0..1 attr This attribute further specifies the DTC in terms of
leCodeJ1939Dt its semantics.
cKindEnum
node DiagnosticJ193 0..1 ref This represents the related DiagnosticJ1939Node.
9Node
spn DiagnosticJ193 0..1 ref This represents the releated SPN.
9Spn
AtpInstanceRef
ComponentInCompositionInstanceRef
+swComponentPrototype 0..1
1 0..*
{redefines {ordered,
atpTarget} subsets
+targetComponent +contextComponent atpContextElement}
AtpPrototype DiagnosticCommonElement
SwComponentPrototype DiagnosticJ1939SwMapping
+swComponentPrototype
0..1 «instanceRef»
DiagnosticCommonElement
+node
DiagnosticJ1939Node
0..1
Class DiagnosticJ1939SwMapping
Package M2::AUTOSARTemplates::DiagnosticExtract::SwMapping
Note This meta-class represents the ability to map a piece of application software to a
J1939DiagnosticNode. By this means the diagnostic configuration can be associated
with the application software.
Tags: atp.recommendedPackage=DiagnosticJ1939SwMappings
Base ARElement, ARObject, CollectableElement, DiagnosticCommonElement, Identifiable,
MultilanguageReferrable, PackageableElement, Referrable
Attribute Type Mul. Kind Note
node DiagnosticJ193 0..1 ref This represents the mapped
9Node DiagnosticJ1939Node.
swCompon SwComponentP 0..1 iref This represents the mapped
entPrototy rototype SwComponentPrototype.
pe
Stereotypes: atpSplitable
Tags: atp.Splitkey=shortName
An instance ref specifies a navigation path from any M0 tree-instance of the base
(which is a classifier) to a leaf (which is an instance of the target).
Base ARObject
Attribute Type Mul. Kind Note
atpBase AtpClassifier 1 ref This is the base from which the navigaion path
starts.
Stereotypes: atpAbstract
Class BaseTypeDirectDefinition
Package M2::MSR::AsamHdo::BaseTypes
Note This BaseType is defined directly (as opposite to a derived BaseType)
Base ARObject, BaseTypeDefinition
Attribute Type Mul. Kind Note
baseType BaseTypeEnco 1 attr This specifies, how an object of the current
Encoding dingString BaseType is encoded, e.g. in an ECU within a
message sequence.
Tags: xml.sequenceOffset=90
baseType PositiveInteger 0..1 attr Describes the length of the data type specified in
Size the container in bits.
Tags: xml.sequenceOffset=70
byteOrder ByteOrderEnum 0..1 attr This attribute specifies the byte order of the base
type.
Tags: xml.sequenceOffset=110
maxBaseT PositiveInteger 0..1 attr Describes the maximum length of the BaseType in
ypeSize bits.
Tags: atp.Status=obsolete
xml.sequenceOffset=80
memAlign PositiveInteger 0..1 attr This attribute describes the alignment of the
ment memory object in bits. E.g. "8" specifies, that the
object in question is aligned to a byte while "32"
specifies that it is aligned four byte. If the value is
set to "0" the meaning shall be interpreted as
"unspecified".
Tags: xml.sequenceOffset=100
nativeDecl NativeDeclarati 0..1 attr This attribute describes the declaration of such a
aration onString base type in the native programming language,
primarily in the Programming language C. This
can then be used by a code generator to include
the necessary declarations into a header file. For
example
BaseType with
shortName: "MyUnsignedInt"
nativeDeclaration: "unsigned short"
Results in
typedef unsigned short MyUnsignedInt;
Tags: xml.sequenceOffset=120
Class BswModuleDescription
Package M2::AUTOSARTemplates::BswModuleTemplate::BswOverview
Note Root element for the description of a single BSW module or BSW cluster. In case it
describes a BSW module, the short name of this element equals the name of the
BSW module.
Tags: atp.recommendedPackage=BswModuleDescriptions
Base ARElement, ARObject, AtpBlueprint, AtpBlueprintable, AtpClassifier, AtpFeature, Atp
StructureElement, CollectableElement, Identifiable, MultilanguageReferrable,
PackageableElement, Referrable
Attribute Type Mul. Kind Note
bswModul BswModuleDep * aggr Describes the dependency to another BSW
eDepende endency module.
ncy
Stereotypes: atpSplitable; atpVariation
Tags: atp.Splitkey=shortName, variation
Point.shortLabel
vh.latestBindingTime=preCompileTime
xml.sequenceOffset=20
bswModul SwComponentD 0..1 aggr This adds a documentation to the BSW module.
eDocumen ocumentation
tation Stereotypes: atpSplitable; atpVariation
Tags: atp.Splitkey=bswModuleDocumentation,
variationPoint.shortLabel
vh.latestBindingTime=preCompileTime
xml.sequenceOffset=6
expectedE BswModuleEntr * ref Indicates an entry which is required by this
ntry y module. Replacement of outgoingCallback /
requiredEntry.
Stereotypes: atpSplitable
Tags: atp.Splitkey=shortName
xml.sequenceOffset=65
moduleId PositiveInteger 0..1 attr Refers to the BSW Module Identifier defined by
the AUTOSAR standard. For non-standardized
modules, a proprietary identifier can be optionally
chosen.
Tags: xml.sequenceOffset=5
providedCli BswModuleClie * aggr Specifies that this module provides a client server
entServerE ntServerEntry entry which can be called from another parition or
ntry core.This entry is declared locally to this context
and will be connected to the
requiredClientServerEntry of another or the same
module via the configuration of the BSW
Scheduler.
Class CompositionSwComponentType
Package M2::AUTOSARTemplates::SWComponentTemplate::Composition
Note A CompositionSwComponentType aggregates SwComponentPrototypes (that in turn
are typed by SwComponentTypes) as well as SwConnectors for primarily connecting
SwComponentPrototypes among each others and towards the surface of the
CompositionSwComponentType. By this means hierarchical structures of
software-components can be created.
Tags: atp.recommendedPackage=SwComponentTypes
Base ARElement, ARObject, AtpBlueprint, AtpBlueprintable, AtpClassifier, AtpType,
CollectableElement, Identifiable, MultilanguageReferrable, PackageableElement,
Referrable, SwComponentType
Attribute Type Mul. Kind Note
component SwComponentP * aggr The instantiated components that are part of this
rototype composition. The aggregation of
SwComponentPrototype is subject to variability
with the purpose to support the conditional
existence of a SwComponentPrototype. Please be
aware: if the conditional existence of
SwComponentPrototypes is resolved post-build
the deselected SwComponentPrototypes are still
contained in the ECUs build but the instances are
inactive in in that they are not scheduled by the
RTE.
Stereotypes: atpSplitable
Tags: atp.Splitkey=constantValueMapping
Stereotypes: atpSplitable
Tags: atp.Splitkey=dataTypeMapping
instantiatio InstantiationRT * aggr This allows to define instantiation specific
nRTEEven EEventProps properties for RTE Events, in particular for
tProps instance specific scheduling.
Class CompuMethod
Package M2::MSR::AsamHdo::ComputationMethod
Note This meta-class represents the ability to express the relationship between a physical
value and the mathematical representation.
Note that this is still independent of the technical implementation in data types. It only
specifies the formula how the internal value corresponds to its physical pendant.
Tags: atp.recommendedPackage=CompuMethods
Base ARElement, ARObject, AtpBlueprint, AtpBlueprintable, CollectableElement,
Identifiable, MultilanguageReferrable, PackageableElement, Referrable
Attribute Type Mul. Kind Note
compuInter Compu 0..1 aggr This specifies the computation from internal
nalToPhys values to physical values.
Tags: xml.sequenceOffset=80
compuPhy Compu 0..1 aggr This represents the computation from physical
sToInternal values to the internal values.
Tags: xml.sequenceOffset=90
displayFor DisplayFormatS 0..1 attr This property specifies, how the physical value
mat tring shall be displayed e.g. in documents or
measurement and calibration tools.
Tags: xml.sequenceOffset=20
unit Unit 0..1 ref This is the physical unit of the Physical values for
which the CompuMethod applies.
Tags: xml.sequenceOffset=30
Class DataConstr
Package M2::MSR::AsamHdo::Constraints::GlobalConstraints
Note This meta-class represents the ability to specify constraints on data.
Tags: atp.recommendedPackage=DataConstrs
Base ARElement, ARObject, AtpBlueprint, AtpBlueprintable, CollectableElement,
Identifiable, MultilanguageReferrable, PackageableElement, Referrable
Attribute Type Mul. Kind Note
dataConstr DataConstrRule * aggr This is one particular rule within the data
Rule constraints.
Class DiagEventDebounceMonitorInternal
Package M2::AUTOSARTemplates::CommonStructure::ServiceNeeds
Note This meta-class represents the ability to indicate that the pre-debounce algorithm
shall be used by the Dem for this diagnostic monitor.
Enumeration DiagnosticCompareTypeEnum
Package M2::AUTOSARTemplates::DiagnosticExtract::Dcm::DiagnosticService::
EnvironmentalCondition
Note Enumeration for the type of a comparison of values usually expressed by the
following operators: ==, !=, <, <=, >, >=
Literal Description
isEqual equal
Tags: atp.EnumerationValue=0
isGreaterOr greater than or equal
Equal
Tags: atp.EnumerationValue=5
isGreater greater than
Than
Tags: atp.EnumerationValue=4
isLessOr less than or equal
Equal
Tags: atp.EnumerationValue=3
isLessThan less than
Tags: atp.EnumerationValue=2
isNotEqual not equal
Tags: atp.EnumerationValue=1
Enumeration DiagnosticLogicalOperatorEnum
Package M2::AUTOSARTemplates::DiagnosticExtract::Dcm::DiagnosticService::
EnvironmentalCondition
Note Logical AND and OR operation (&&, ||)
Literal Description
logicalAnd Logical AND
Tags: atp.EnumerationValue=0
logicalOr Logical OR
Tags: atp.EnumerationValue=1
Class EcuInstance
Package M2::AUTOSARTemplates::SystemTemplate::Fibex::FibexCore::CoreTopology
Note ECUInstances are used to define the ECUs used in the topology. The type of the ECU
is defined by a reference to an ECU specified with the ECU resource description.
Tags: atp.recommendedPackage=EcuInstances
Base ARObject, CollectableElement, FibexElement, Identifiable, MultilanguageReferrable,
PackageableElement, Referrable
Attribute Type Mul. Kind Note
associated ISignalIPduGro * ref With this reference it is possible to identify which
ComIPduG up ISignalIPduGroups are applicable for which
roup CommunicationConnector/ ECU.
Tags: atp.Status=obsolete
ethSwitchP Boolean 0..1 attr Defines whether the derivation of
ortGroupD SwitchPortGroups based on VLAN and/or
erivation CouplingPort.pncMapping shall be performed for
this EcuInstance. If not defined the derivation shall
not be done.
partition EcuPartition * aggr Optional definition of Partitions within an Ecu.
pnResetTi TimeValue 0..1 attr Specifies the runtime of the reset timer in
me seconds. This reset time is valid for the reset of
PN requests in the EIRA and in the ERA.
pncPrepar TimeValue 0..1 attr Time in seconds the PNC state machine shall wait
eSleepTim in PNC_PREPARE_SLEEP.
er
sleepMode Boolean 1 attr Specifies whether the ECU instance may be put to
Supported a "low power mode"
• true: sleep mode is supported
• false: sleep mode is not supported
Class ISignal
Package M2::AUTOSARTemplates::SystemTemplate::Fibex::FibexCore::CoreCommunication
Note Signal of the Interaction Layer. The RTE supports a "signal fan-out" where the same
System Signal is sent in different SignalIPdus to multiple receivers.
To support the RTE "signal fan-out" each SignalIPdu contains ISignals. If the same
System Signal is to be mapped into several SignalIPdus there is one ISignal needed
for each ISignalToIPduMapping.
ISignals describe the Interface between the Precompile configured RTE and the
potentially Postbuild configured Com Stack (see ECUC Parameter Mapping).
Tags: atp.recommendedPackage=ISignals
Base ARObject, CollectableElement, FibexElement, Identifiable, MultilanguageReferrable,
PackageableElement, Referrable
Attribute Type Mul. Kind Note
dataTransf DataTransforma 0..1 ref Optional reference to a DataTransformation which
ormation tion represents the transformer chain that is used to
transform the data that shall be placed inside this
ISignal.
If the policy
"networkRepresentationFromComSpec" is chosen
the network representation from the ComSpec
that is aggregated by the PortPrototype shall be
used. If the "override" policy is chosen the
requirements specified in the PortInterface and in
the ComSpec are not fulfilled by the
networkRepresentationProps. In case the System
Description doesn’t use a complete Software
Component Description (VFB View) the "legacy"
policy can be chosen.
iSignalPro ISignalProps 0..1 aggr Additional optional ISignal properties that may be
ps stored in different files.
Stereotypes: atpSplitable
Tags: atp.Splitkey=iSignalProps
iSignalTyp ISignalTypeEnu 0..1 attr This attribute defines whether this iSignal is an
e m array that results in a UINT8_N / UINT8_DYN
ComSignalType in the COM configuration or a
primitive type.
initValue ValueSpecificati 0..1 aggr Optional definition of a ISignal’s initValue in case
on the System Description doesn’t use a complete
Software Component Description (VFB View).
This supports the inclusion of legacy system
signals.
Class ISignalIPduGroup
Package M2::AUTOSARTemplates::SystemTemplate::Fibex::FibexCore::CoreCommunication
Note The AUTOSAR COM Layer is able to start and to stop sending and receiving
configurable groups of I-Pdus during runtime. An ISignalIPduGroup contains either
ISignalIPdus or ISignalIPduGroups.
Tags: atp.recommendedPackage=ISignaliPduGroup
Base ARObject, CollectableElement, FibexElement, Identifiable, MultilanguageReferrable,
PackageableElement, Referrable
Attribute Type Mul. Kind Note
communic Communication 1 attr This attribute determines in which direction IPdus
ationDirecti DirectionType that are contained in this IPduGroup will be
on transmitted (communication direction can be
either In or Out).
communic String 1 attr This attribute defines the use-case for this
ationMode ISignalIPduGroup (e.g. diagnostic, debugging
etc.). For example, in a diagnostic mode all IPdus
- which are not involved in diagnostic - are
disabled. The use cases are not limited to a fixed
enumeration and can be specified as a string.
containedI ISignalIPduGro * ref An I-Pdu group can be included in other I-Pdu
SignalIPdu up groups. Contained I-Pdu groups shall not be
Group referenced by the EcuInstance.
iSignalIPd ISignalIPdu * ref Reference to a set of Signal I-Pdus, which are
u contained in the ISignal I-Pdu Group.
Stereotypes: atpVariation
Tags: vh.latestBindingTime=postBuild
nmPdu NmPdu * ref Reference to a set of NmPdus with NmUserData,
which are contained in the ISignalIPduGroup.
Stereotypes: atpVariation
Tags: vh.latestBindingTime=postBuild
Tags: xml.sequenceOffset=-60
category CategoryString 0..1 attr The category is a keyword that specializes the
semantics of the Identifiable. It affects the
expected existence of attributes and the
applicability of constraints.
Tags: xml.sequenceOffset=-50
adminData AdminData 0..1 aggr This represents the administrative data for the
identifiable object.
Tags: xml.sequenceOffset=-40
annotation Annotation * aggr Possibility to provide additional notes while
defining a model element (e.g. the ECU
Configuration Parameter Values). These are not
intended as documentation but are mere design
notes.
Tags: xml.sequenceOffset=-25
introductio Documentation 0..1 aggr This represents more information about how the
n Block object in question is built or is used. Therefore it is
a DocumentationBlock.
Tags: xml.sequenceOffset=-30
uuid String 0..1 attr The purpose of this attribute is to provide a
globally unique identifier for an instance of a
meta-class. The values of this attribute should be
globally unique strings prefixed by the type of
identifier. For example, to include a DCE UUID as
defined by The Open Group, the UUID would be
preceded by "DCE:". The values of this attribute
may be used to support merging of different
AUTOSAR models. The form of the UUID
(Universally Unique Identifier) is taken from a
standard defined by the Open Group (was Open
Software Foundation). This standard is widely
used, including by Microsoft for COM (GUIDs) and
by many companies for DCE, which is based on
CORBA. The method for generating these 128-bit
IDs is published in the standard and the
effectiveness and uniqueness of the IDs is not in
practice disputed. If the id namespace is omitted,
DCE is assumed. An example is
"DCE:2fac1234-31f8-11b4-a222-08002b34c003".
The uuid attribute has no semantic meaning for an
AUTOSAR model and there is no requirement for
AUTOSAR tools to manage the timestamp.
Tags: xml.attribute=true
Stereotypes: atpSplitable
Tags: atp.Splitkey=dataTypeMapping
exclusiveA ExclusiveArea * aggr This specifies an ExclusiveArea for this
rea InternalBehavior. The exclusiveArea is local to the
component resp. module. The aggregation of
ExclusiveAreas is subject to variability. Note: the
number of ExclusiveAreas might vary due to the
conditional existence of RunnableEntities or
BswModuleEntities.
Tags: atp.recommendedPackage=CommunicationClusters
Base ARObject, AbstractCanCluster, CollectableElement, CommunicationCluster, Fibex
Element, Identifiable, MultilanguageReferrable, PackageableElement, Referrable
Attribute Type Mul. Kind Note
networkId PositiveInteger 0..1 attr This represents the network ID for the J1939
cluster.
request2S Boolean 0..1 attr Enables support for the Request2 PGN (RQST2).
upport
usesAddre Boolean 0..1 attr Defines whether the nodes attached to this
ssArbitratio channel use an initial address claim, and whether
n they react to contending address claims of other
nodes. True: The initial address claim is sent, and
the node reacts to address claims of other nodes.
False: The node only sends an address claim
upon request, and does not care for contending
address claims.
Class J1939DcmIPdu
Package M2::AUTOSARTemplates::SystemTemplate::Fibex::FibexCore::CoreCommunication
Note Represents the IPdus handled by J1939Dcm.
Tags: atp.recommendedPackage=Pdus
Base ARObject, CollectableElement, FibexElement, IPdu, Identifiable, Multilanguage
Referrable, PackageableElement, Pdu, Referrable
Attribute Type Mul. Kind Note
diagnostic PositiveInteger 0..1 attr This attribute is used to identify the actual DMx
MessageT message, e.g 1 means DM01, etc.
ype
Class J1939NmNode
Package M2::AUTOSARTemplates::SystemTemplate::NetworkManagement
Note J1939 specific NM Node attributes.
Base ARObject, Identifiable, MultilanguageReferrable, NmNode, Referrable
Attribute Type Mul. Kind Note
nodeName J1939NodeNam 0..1 aggr NodeName configuration
e
Class ModeDeclaration
Package M2::AUTOSARTemplates::CommonStructure::ModeDeclaration
Note Declaration of one Mode. The name and semantics of a specific mode is not defined
in the meta-model.
Base ARObject, AtpClassifier, AtpFeature, AtpStructureElement, Identifiable,
MultilanguageReferrable, Referrable
Attribute Type Mul. Kind Note
value PositiveInteger 0..1 attr The RTE shall take the value of this attribute for
generating the source code representation of this
ModeDeclaration.
Class ModeDeclarationGroup
Package M2::AUTOSARTemplates::CommonStructure::ModeDeclaration
Note A collection of Mode Declarations. Also, the initial mode is explicitly identified.
Tags: atp.recommendedPackage=ModeDeclarationGroups
Base ARElement, ARObject, AtpBlueprint, AtpBlueprintable, AtpClassifier, AtpType,
CollectableElement, Identifiable, MultilanguageReferrable, PackageableElement,
Referrable
Attribute Type Mul. Kind Note
Stereotypes: atpVariation
Tags: vh.latestBindingTime=blueprintDerivation
Time
modeMana ModeErrorBeha 0..1 aggr This represents the ability to define the error
gerErrorBe vior behavior expected by the mode manager in case
havior of errors on the mode user side (e.g. terminated
mode user).
modeTran ModeTransition * aggr This represents the avaliable ModeTransitions of
sition the ModeDeclarationGroup
modeUser ModeErrorBeha 0..1 aggr This represents the definition of the error behavior
ErrorBeha vior expected by the mode user in case of errors on
vior the mode manager side (e.g. terminated mode
manager).
onTransitio PositiveInteger 0..1 attr The value of this attribute shall be taken into
nValue account by the RTE generator for
programmatically representing a value used for
the transition between two statuses.
Class ModeDeclarationGroupPrototype
Package M2::AUTOSARTemplates::CommonStructure::ModeDeclaration
Note The ModeDeclarationGroupPrototype specifies a set of Modes
(ModeDeclarationGroup) which is provided or required in the given context.
Base ARObject, AtpFeature, AtpPrototype, Identifiable, MultilanguageReferrable,
Referrable
Attribute Type Mul. Kind Note
swCalibrati SwCalibrationA 0..1 attr This allows for specifying whether or not the
onAccess ccessEnum enclosing ModeDeclarationGroupPrototype can
be measured at run-time.
type ModeDeclaratio 1 tref The "collection of ModeDeclarations" ( =
nGroup ModeDeclarationGroup) supported by a
component
Stereotypes: isOfType
Class ModeInBswModuleDescriptionInstanceRef
Package M2::AUTOSARTemplates::BswModuleTemplate::BswOverview::InstanceRefs
Note
Base ARObject,AtpInstanceRef
Attribute Type Mul. Kind Note
Primitive NameToken
Package M2::AUTOSARTemplates::GenericStructure::GeneralTemplateClasses::Primitive
Types
Note This is an identifier as used in xml, e.g. xml-names. Basic difference to Identifier is
the fact that it can contain "-".
Class PPortPrototype
Package M2::AUTOSARTemplates::SWComponentTemplate::Components
Note Component port providing a certain port interface.
Base ARObject, AbstractProvidedPortPrototype, AtpBlueprintable, AtpFeature, Atp
Prototype, Identifiable, MultilanguageReferrable, PortPrototype, Referrable
Attribute Type Mul. Kind Note
providedInt PortInterface 1 tref The interface that this port provides.
erface
Stereotypes: isOfType
isService Boolean 1 attr This flag is set if the PortInterface is to be used for
communication between an
• ApplicationSwComponentType or
• ServiceProxySwComponentType or
• SensorActuatorSwComponentType or
• ComplexDeviceDriverSwComponentType
• ServiceSwComponentType
• EcuAbstractionSwComponentType
Tags: xml.enforceMinMultiplicity=true;
xml.sequenceOffset=-100
shortName ShortNameFrag * aggr This specifies how the Referrable.shortName is
Fragment ment composed of several shortNameFragments.
Tags: xml.sequenceOffset=-90
Class SenderReceiverInterface
Package M2::AUTOSARTemplates::SWComponentTemplate::PortInterface
Note A sender/receiver interface declares a number of data elements to be sent and
received.
Tags: atp.recommendedPackage=PortInterfaces
Base ARElement, ARObject, AtpBlueprint, AtpBlueprintable, AtpClassifier, AtpType,
CollectableElement, DataInterface, Identifiable, MultilanguageReferrable,
PackageableElement, PortInterface, Referrable
Attribute Type Mul. Kind Note
dataEleme VariableDataPr 1..* aggr The data elements of this
nt ototype SenderReceiverInterface.
invalidation InvalidationPolic * aggr InvalidationPolicy for a particular dataElement
Policy y
Class SwBaseType
Package M2::MSR::AsamHdo::BaseTypes
Note This meta-class represents a base type used within ECU software.
Tags: atp.recommendedPackage=BaseTypes
Base ARElement, ARObject, AtpBlueprint, AtpBlueprintable, BaseType, Collectable
Element, Identifiable, MultilanguageReferrable, PackageableElement, Referrable
Attribute Type Mul. Kind Note
– – – – –
Class SwComponentPrototype
Package M2::AUTOSARTemplates::SWComponentTemplate::Composition
Note Role of a software component within a composition.
Base ARObject, AtpFeature, AtpPrototype, Identifiable, MultilanguageReferrable,
Referrable
Attribute Type Mul. Kind Note
type SwComponentT 1 tref Type of the instance.
ype
Stereotypes: isOfType
Stereotypes: atpVariation
Tags: vh.latestBindingTime=preCompileTime
swCompon SwComponentD 0..1 aggr This adds a documentation to the
entDocum ocumentation SwComponentType.
entation
Stereotypes: atpSplitable; atpVariation
Tags: atp.Splitkey=swComponentDocumentation,
variationPoint.shortLabel
vh.latestBindingTime=preCompileTime
xml.sequenceOffset=-10
unitGroup UnitGroup * ref This allows for the specification of which
UnitGroups are relevant in the context of
referencing SwComponentType.
Class System
Package M2::AUTOSARTemplates::SystemTemplate
Note The top level element of the System Description. The System description defines five
major elements: Topology, Software, Communication, Mapping and Mapping
Constraints.
The System element directly aggregates the elements describing the Software,
Mapping and Mapping Constraints; it contains a reference to an ASAM FIBEX
description specifying Communication and Topology.
Tags: atp.recommendedPackage=Systems
Base ARElement, ARObject, AtpClassifier, AtpFeature, AtpStructureElement, Collectable
Element, Identifiable, MultilanguageReferrable, PackageableElement, Referrable
Attribute Type Mul. Kind Note
clientIdDefi ClientIdDefinitio * ref Set of Client Identifiers that are used for inter-ECU
nitionSet nSet client-server communication in the System.
containerI ByteOrderEnum 0..1 attr Defines the byteOrder of the header in
PduHeade ContainerIPdus.
rByteOrder
ecuExtract RevisionLabelSt 0..1 attr Version number of the Ecu Extract.
Version ring
fibexEleme FibexElement * ref Reference to ASAM FIBEX elements specifying
nt Communication and Topology.
Stereotypes: atpVariation
Tags: vh.latestBindingTime=postBuild
j1939Shar J1939SharedAd * aggr Collection of J1939Clusters that share a common
edAddress dressCluster address space for the routing of messages.
Cluster
Stereotypes: atpSplitable; atpVariation
Tags: atp.Splitkey=shortName, variation
Point.shortLabel
vh.latestBindingTime=postBuild
mapping SystemMapping * aggr Aggregation of all mapping aspects (mapping of
SW components to ECUs, mapping of data
elements to signals, and mapping constraints).
Class SystemSignal
Package M2::AUTOSARTemplates::SystemTemplate::Fibex::FibexCore::CoreCommunication
Note The system signal represents the communication system’s view of data exchanged
between SW components which reside on different ECUs. The system signals allow
to represent this communication in a flattened structure, with exactly one system
signal defined for each data element prototype sent and received by connected SW
component instances.
Tags: atp.recommendedPackage=SystemSignals
Base ARElement, ARObject, CollectableElement, Identifiable, MultilanguageReferrable,
PackageableElement, Referrable
Attribute Type Mul. Kind Note
dynamicLe Boolean 1 attr The length of dynamic length signals is variable in
ngth run-time. Only a maximum length of such a signal
is specified in the configuration (attribute length in
ISignal element).
physicalPr SwDataDefProp 0..1 aggr Specification of the physical representation.
ops s
Class Unit
Package M2::MSR::AsamHdo::Units
Note This is a physical measurement unit. All units that might be defined should stem from
SI units. In order to convert one unit into another factor and offset are defined.
For the calculation from SI-unit to the defined unit the factor (factorSiToUnit ) and the
offset (offsetSiToUnit ) are applied as follows:
x [{unit}] := y * [{siUnit}] * factorSiToUnit [[unit]/{siUnit}] +
offsetSiToUnit [{unit}]
For the calculation from a unit to SI-unit the reciprocal of the factor (factorSiToUnit )
and the negation of the offset (offsetSiToUnit ) are applied.
y {siUnit} := (x*{unit} - offsetSiToUnit [{unit}]) / (factorSiToUnit
[[unit]/{siUnit}]
Tags: atp.recommendedPackage=Units
Base ARElement, ARObject, CollectableElement, Identifiable, MultilanguageReferrable,
PackageableElement, Referrable
Attribute Type Mul. Kind Note
displayNa SingleLanguage 0..1 aggr This specifies how the unit shall be displayed in
me UnitNames documents or in user interfaces of tools.The
displayName corresponds to the Unit.Display in an
ASAM MCD-2MC file.
Tags: xml.sequenceOffset=20
factorSiTo Float 0..1 attr This is the factor for the conversion from SI Units
Unit to units.
Tags: xml.sequenceOffset=30
offsetSiTo Float 0..1 attr This is the offset for the conversion from and to
Unit siUnits.
Tags: xml.sequenceOffset=40
physicalDi PhysicalDimens 0..1 ref This association represents the physical
mension ion dimension to which the unit belongs to. Note that
only values with units of the same physical
dimensions might be converted.
Tags: xml.sequenceOffset=50
Number Heading
[TPS_DEXT_01000] AUTOSAR diagnostics supports two kinds of data identifiers
[TPS_DEXT_01001] Definition of a fixed-sized array
[TPS_DEXT_01002] Definition of a variable-sized array
DiagnosticContributionSet is the central part of the DiagnosticEx-
[TPS_DEXT_01003]
tract
DiagnosticContributionSet defines the scope of the DiagnosticEx-
[TPS_DEXT_01004]
tract
[TPS_DEXT_01005] DiagnosticContributionSet can exist independently
The role of DiagnosticServiceTables in the context of a Diagnostic-
[TPS_DEXT_01006]
ContributionSet
[TPS_DEXT_01007] Common properties of a DiagnosticExtract
DiagnosticContributionSet defines the scope for the application of the
[TPS_DEXT_01008]
common diagnostic properties
[TPS_DEXT_01009] Limited support for the configuration of custom diagnostic services
[TPS_DEXT_01010] Configuration of custom diagnostic services
[TPS_DEXT_01011] Semantics of DiagnosticSession.id
Rationale for the modeling of the multiplicity of DiagnosticAccessPermis-
[TPS_DEXT_01012]
sion.securityLevel
Specification of sub-functions by means of attribute DiagnosticService-
[TPS_DEXT_01013]
Instance.category
[TPS_DEXT_01014] Possible values of the category attribute for diagnostic services
[TPS_DEXT_01015] Meaning of attributes of DiagnosticIOControl
[TPS_DEXT_01016] The capability returnControlToEcu
[TPS_DEXT_01017] Meaning of DiagnosticIOControl.dataIdentifier
Number Heading
[TPS_DEXT_01018] InputOutput Control does not define any sub-functions
Correspondence of category values to numerical values mentioned in the
[TPS_DEXT_01019]
ISO 14229-1
[TPS_DEXT_01020] Manufacturer-specific values for sub-functions of service EcuReset
[TPS_DEXT_01021] Semantics of DiagnosticEcuReset.customSubFunctionNumber
[TPS_DEXT_01022] ClearDiagnosticInformation does not define any sub-functions
[TPS_DEXT_01023] WriteMemoryByAddress does not define any sub-functions
[TPS_DEXT_01024] ReadMemoryByAddress does not define any sub-functions
[TPS_DEXT_01025] TransferExit does not define any sub-functions
[TPS_DEXT_01026] DataTransfer does not define any sub-functions
[TPS_DEXT_01027] RequestDownload does not define any sub-functions
[TPS_DEXT_01028] RequestUpload does not define any sub-functions
Correspondence of category values to numerical values mentioned in the
[TPS_DEXT_01029]
ISO 14229-1
Manufacturer-specific values for sub-functions of service Communication-
[TPS_DEXT_01030]
Control
[TPS_DEXT_01031] Semantics of DiagnosticComControl.customSubFunctionNumber
Impact of the DiagnosticComControlClass on the state management for
[TPS_DEXT_01032]
CommunicationClusters
[TPS_DEXT_01033] Semantics of triggers in the context of a DiagnosticResponseOnEvent
[TPS_DEXT_01034] Sub-functions of the service ReadDTCInformation
Existence of DiagnosticRoutine.stop and DiagnosticRoutine.re-
[TPS_DEXT_01035]
questResult
[TPS_DEXT_01036] Work-flow within the execution of the diagnostic service SecurityAccess
[TPS_DEXT_01037] Semantics of DiagnosticSecurityAccess.requestSeedId
Motivation for making the reference DiagnosticSecurityAccess.secu-
[TPS_DEXT_01038]
rityLevelatpSplitable
[TPS_DEXT_01039] Identification of the sub-function of DiagnosticSessionControl
[TPS_DEXT_01040] Use case where the DiagnosticExtract refers to software-components
Semantics of attribute DiagnosticServiceDataMapping.diagnostic-
[TPS_DEXT_01041]
DataElement
[TPS_DEXT_01042] Dem uses DiagnosticServiceDataMapping
[TPS_DEXT_01043] Purpose of DiagnosticServiceSwMapping
[TPS_DEXT_01044] BswServiceDependency needs to act as the target of a reference
[TPS_DEXT_01045] Supported diagnostic services
ECU configuration is not suitable to be exchanged between partners in an ECU
[TPS_DEXT_01046]
development project
Differences in the development processes for diagnostics at automotive OEMs
[TPS_DEXT_01047]
and ECU suppliers
[TPS_DEXT_01048] Actual algorithm for the diagnostic event debouncing
[TPS_DEXT_01049] Consistency of DiagnosticServiceSwMapping with respect to routine IDs
[TPS_DEXT_01050] Consistency of DiagnosticServiceSwMapping with respect to data IDs
[TPS_DEXT_01051] Consistency of DiagnosticServiceSwMapping with respect to data IDs
Number Heading
[TPS_DEXT_01052] Existence of attribute DiagnosticServiceInstance.accessPermission
[TPS_DEXT_01053] Existence of DiagnosticSecurityAccess.securityLevel
[TPS_DEXT_01054] Existence of DiagnosticDataByIdentifier.dataIdentifier
[TPS_DEXT_01055] Standardized values of DiagnosticContributionSet.category
[TPS_DEXT_01056] Applicable values for DiagnosticEcuReset.category
[TPS_DEXT_01057] Allowed values of DiagnosticComControl.category
Standardized values for DiagnosticDynamicallyDefineDataIdenti-
[TPS_DEXT_01058]
fier.category
[TPS_DEXT_01059] Applicable values for DiagnosticPeriodicRate.category
[TPS_DEXT_01060] Applicable values for DiagnosticReadDTCInformation.category
[TPS_DEXT_01061] Supported scenarios for the definition of access permission
Existence of DiagnosticServiceClass.accessPermissionValidity
[TPS_DEXT_01062]
in an incomplete model
Existence of DiagnosticServiceClass.accessPermissionValidity
[TPS_DEXT_01063]
in a complete model
[TPS_DEXT_01064] Textually formulated content attached to DiagnosticTroubleCode
Different approaches to provide semi-formal textual content attached to a Di-
[TPS_DEXT_01065]
agnosticTroubleCode
[TPS_DEXT_01066] Standardized values of DiagnosticTroubleCode.introduction.trace
[TPS_DEXT_01067] Textually formulated content attached to DiagnosticEvent
[TPS_DEXT_01068] Textual description with respect to the DiagnosticEvent
Standardized values of DiagnosticEvent.introduction.structure-
[TPS_DEXT_01069]
dReq
Description of textually semi-formal formulated pre- and post-conditions for the
[TPS_DEXT_01070]
validity of DiagnosticAccessPermission
Standardized values of DiagnosticAccessPermission.introduc-
[TPS_DEXT_01071]
tion.structuredReq
[TPS_DEXT_01072] Purpose of attribute DiagnosticDataIdentifier.representsVin
[TPS_DEXT_01073] Diagnostic properties that are specific to an individual EcuInstance
Difference between the attributes DiagnosticComCon-
[TPS_DEXT_01074]
trol.specificChannel and DiagnosticComControl.subNodeChannel
standardized values for the attribute DiagnosticControlDTCSet-
[TPS_DEXT_01075]
ting.category
[TPS_DEXT_01076] Identification of sub-functions of diagnostic service ControlDTCSetting
[TPS_DEXT_01077] Modeling of DiagnosticRoutine
Not possible to use the attribute category for the identification of the sub-
[TPS_DEXT_01078]
function of diagnostic service RoutineControl
[TPS_DEXT_01079] Modeling of the arguments to a DiagnosticRoutine
[TPS_DEXT_01080] Diagnostic Routine needs to be started
[TPS_DEXT_01081] Modeling of DiagnosticSessionControl
[TPS_DEXT_01082] Existence of DiagnosticSessionControl.diagnosticSession
[TPS_DEXT_01083] Semantics of a DiagnosticEvent
[TPS_DEXT_01084] DiagnosticEvent can be connected to one or multiple indicators
Number Heading
[TPS_DEXT_01085] Semantics of DiagnosticConditionGroups
[TPS_DEXT_01086] Reference to DiagnosticOperationCycle
[TPS_DEXT_01087] Semantics of DiagnosticOperationCycle
[TPS_DEXT_01088] Semantics of DiagnosticRoutine.id
[TPS_DEXT_01089] Definition of an identifier of a DiagnosticIOControl
Diagnostic service RequestFileTransfer does not define any sub-
[TPS_DEXT_01090]
functions
ISO 14229-1 reserves values of DiagnosticTroubleCodeGroup.group-
[TPS_DEXT_03000]
Number
[TPS_DEXT_03001] Different types of conditions
[TPS_DEXT_03002] Two kind of mappings
[TPS_DEXT_03003] Semantics of DiagnosticEventToTroubleCodeUdsMapping
[TPS_DEXT_03004] DiagnosticEvent and DiagnosticDebounceAlgorithmProps
[TPS_DEXT_03005] Existence of DiagnosticEventToDebounceAlgorithmMapping
[TPS_DEXT_03006] Values of the individual DiagnosticStorageConditions
[TPS_DEXT_03007] Semantics of DiagnosticEventPortMapping
[TPS_DEXT_03008] Semantics of DiagnosticExtendedDataRecord
[TPS_DEXT_03009] Semantics of DiagnosticFreezeFrame
Combination of DiagnosticConditions to DiagnosticCondition-
[TPS_DEXT_03010]
Groups
[TPS_DEXT_03011] Clearing request for a DiagnosticEvent
[TPS_DEXT_03012] Three kinds of DTCs
[TPS_DEXT_03013] Common properties of a DTC
[TPS_DEXT_03014] Semantics of DiagnosticTroubleCodeGroup
EnableConditions have to be put into a DiagnosticEnableCondition-
[TPS_DEXT_03015]
Group
StorageConditions have to be put into a DiagnosticStorageCondi-
[TPS_DEXT_03016]
tionGroup
[TPS_DEXT_03017] Semantics of DiagnosticOperationCyclePortMapping
[TPS_DEXT_03018] Semantics of DiagnosticEnableConditionPortMapping
[TPS_DEXT_03019] Semantics of DiagnosticStorageConditionPortMapping
[TPS_DEXT_03020] Semantics of DiagnosticDemProvidedDataMapping
[TPS_DEXT_03021] Aging
[TPS_DEXT_03022] Different kinds of DiagnosticIndicators
Table B.1: Added Specification Items in 4.2.1
Number Heading
[constr_1324] Existence of attribute DiagnosticDataIdentifier.representsVin
Allowed attributes of SwDataDefProps for DiagnosticDataElement.sw-
[constr_1325]
DataDefProps
[constr_1326] Existence of a variable-sized array
Number Heading
[constr_1327] Multiplicity of DiagnosticContributionSet.ecuInstance
Number Heading
Existence of attribute DiagnosticDebounceAlgorithmProps.debounceCoun-
[constr_1359]
terStorage
Usage of DiagEventDebounceMonitorInternal is not supported in the context
[constr_1360]
of DiagnosticDebounceAlgorithmProps
Number of DiagnosticEventToEnableConditionGroupMapping elements per
[constr_1361]
DiagnosticEvent
Number of DiagnosticEventToStorageConditionGroupMapping elements
[constr_1362]
per DiagnosticEvent
[constr_1365] Multiplicity of DiagnosticResponseOnEvent.event
[constr_1366] Event ID in the context of diagnostic service ResponseOnEvent shall be unique
[constr_1376] Multiplicity of reference DiagnosticTroubleCodeProps.memoryDestination
[constr_1377] Existence of reference DiagnosticTroubleCodeProps.memoryDestination
[constr_1378] Value of DiagnosticMemoryDestinationUserDefined.memoryId
[constr_1379] Existence of DiagnosticMemoryDestinationPrimary
[constr_1380] Existence of DiagnosticMemoryDestinationMirror
Table B.2: Added Constraints in R4.2.1
none
none
none
Number Heading
none
none
Number Heading
Relation between a DiagnosticServiceTable and one or more Diagnos-
[TPS_DEXT_01091]
ticConnections
[TPS_DEXT_01092] Semantics of DiagnosticParameterIdentifier
[TPS_DEXT_01093] Definition of legislative freeze frame for WWWH-OBD
Semantics of meta-class DiagnosticTroubleCodeUdsToTrouble-
[TPS_DEXT_01094]
CodeObdMapping
Definition of “alias” diagnostic event for the creation of a Fim configuration in
[TPS_DEXT_01095]
the diagnostic extract
[TPS_DEXT_01096] Semantics of DiagnosticFunctionInhibitSource
Standardized value of StructuredReq.category for the modeling of Diag-
[TPS_DEXT_01097]
nosticFunctionInhibitSource
[TPS_DEXT_01098] Semantics of attribute DiagnosticFunctionInhibitSource.event
Semantics of attribute DiagnosticFunctionInhibitSource.event-
[TPS_DEXT_01099]
Group
[TPS_DEXT_01100] Consequence of the existence of DiagnosticFimAliasEventMapping
Consequence of the existence of DiagnosticFimAliasEventGroupMap-
[TPS_DEXT_01101]
ping
[TPS_DEXT_01102] Semantics of DiagnosticFimFunctionMapping
[TPS_DEXT_01103] Semantics of meta-class DiagnosticJ1939SpnMapping
Difference between DiagnosticJ1939FreezeFrame and Diagnos-
[TPS_DEXT_01104]
ticJ1939ExpandedFreezeFrame
Relation of DiagnosticJ1939Spn to DiagnosticJ1939FreezeFrame
[TPS_DEXT_01105]
and DiagnosticJ1939ExpandedFreezeFrame
[TPS_DEXT_01106] Relation of Controller Application to SPN
[TPS_DEXT_01107] Definition of service-only DTC
[TPS_DEXT_01108] Purpose of the DiagnosticJ1939SwMapping
[TPS_DEXT_01110] Standardized values of DiagnosticIumprGroup.category
[TPS_DEXT_01111] Legislative freeze frame for the OBD-II case
Number Heading
[TPS_DEXT_01112] Definition of a diagnostic trouble code for the implementation of WWH-OBD
[TPS_DEXT_01113] Evaluation of a DiagnosticEnvConditionFormula
[TPS_DEXT_01114] DiagnosticEnvConditionFormula that has no parts
[TPS_DEXT_01115] DiagnosticEnvConditionFormula that has one part
[TPS_DEXT_01116] DiagnosticEnvConditionFormula that has more than one part
[TPS_DEXT_01117] Semantics of DiagnosticEnvConditionFormula.nrcValue
[TPS_DEXT_01118] Semantics of DiagnosticEnvDataCondition
[TPS_DEXT_01119] Semantics of DiagnosticEnvModeCondition
Comparison of the value of a ModeDeclarationGroupPrototype with a
[TPS_DEXT_01120]
ModeDeclaration
[TPS_DEXT_01121] Semantics of DiagnosticFunctionIdentifier
[TPS_DEXT_01122] Indication whether a EcuInstance supports OBD
[TPS_DEXT_01124] Semantics of meta-class DiagnosticProtocol
Support for diagnostic service RequestCurrentPowertrainDiagnostic-
[TPS_DEXT_01125]
Data
[TPS_DEXT_01126] Support of OBD service RequestPowertrainFreezeFrameData
[TPS_DEXT_01127] Semantics of meta-class DiagnosticRequestEmissionRelatedDTC
[TPS_DEXT_01128] Semantics of meta-class DiagnosticClearResetEmissionRelatedInfo
Support for OBD diagnostic service RequestOnBoardMonitoringTestRe-
[TPS_DEXT_01129]
sults
[TPS_DEXT_01130] Support of OBD diagnostic service RequestControlOfOnBoardDevice
[TPS_DEXT_01131] Support for OBD diagnostic service RequestVehicleInformation
Support for OBD diagnostic service RequestEmissionRelatedDiagnos-
[TPS_DEXT_01132]
ticTroubleCodesPermanentStatus
[TPS_DEXT_01133] Support for WWH-OBD within the diagnostic extract
Definition of a DiagnosticDataElement used in the context of a DID ob-
[TPS_DEXT_01134]
tained by sender-receiver communication
Definition of a DiagnosticDataElement used in the context of a DID ob-
[TPS_DEXT_01135]
tained by client/server communication
Definition of a DiagnosticDataElement used in the context of a diagnostic
[TPS_DEXT_01136]
routine
[TPS_DEXT_01137] Applicability of DiagnosticDataIdentifier.didSize
[TPS_DEXT_01138] Applicability of DiagnosticDataIdentifier.supportInfoByte
[TPS_DEXT_01139] Semantics of the references from DiagnosticAccessPermission
Table B.4: Added Traceabless in 4.3.0
Number Heading
[TPS_DEXT_01006] The role of DiagnosticServiceTables
[TPS_DEXT_01052] Existence of attribute DiagnosticServiceInstance.accessPermission
[TPS_DEXT_01060] Applicable values for DiagnosticReadDTCInformation.category
Number Heading
Difference between the attributes DiagnosticComControlClass.speci-
[TPS_DEXT_01074]
ficChannel and DiagnosticComControlClass.subNodeChannel
[TPS_DEXT_03003] Semantics of DiagnosticEventToTroubleCodeUdsMapping
Table B.5: Changed Traceables in R4.3.0
Number Heading
Standardized values for DiagnosticDynamicallyDefineDataIdenti-
[TPS_DEXT_01058]
fier.category
[TPS_DEXT_01059] Applicable values for DiagnosticPeriodicRate.category
Table B.6: Deleted Traceables in R4.3.0
Number Heading
Value of DiagnosticProtocol.serviceTable vs. DiagnosticServic-
[constr_1405]
eTable.protocolKind
DiagnosticServiceTable.diagnosticConnection vs. DiagnosticProto-
[constr_1406]
col.diagnosticConnection
Existence of DiagnosticMemoryIdentifier.memoryHighAddressLabel vs.
[constr_1411]
DiagnosticMemoryIdentifier.memoryHighAddress
Existence of DiagnosticMemoryIdentifier.memoryLowAddressLabel vs.
[constr_1412]
DiagnosticMemoryIdentifier.memoryLowAddress
[constr_1419] Value of DiagnosticSecurityLevel.accessDataRecordSize
Number Heading
[constr_1460] Restrictions for the value of DiagnosticInfoType.id
[constr_1461] Restrictions for the value of DiagnosticTestRoutineIdentifier.id
[constr_1462] Restrictions for the value of DiagnosticTestResult.testIdentifier.id
[constr_1464] Allowed value range of DiagnosticEnvConditionFormula.nrcValue
Number Heading
Allowed attributes of SwDataDefProps for DiagnosticDataElement.sw-
[constr_1325]
DataDefProps
[constr_1327] Multiplicity of DiagnosticEcuInstanceProps.ecuInstance
none
Number Heading
Values contained in DiagnosticExtract shall be taken for the derivation
[TPS_DEXT_01140]
of basic software modules
Table B.9: Added Traceables in 4.3.1
Number Heading
[TPS_DEXT_01087] Semantics of DiagnosticOperationCycle
Table B.10: Changed Traceables in 4.3.1
Number Heading
[TPS_DEXT_01073] Diagnostic properties that are specific to an individual EcuInstance
Table B.11: Deleted Traceables in 4.3.1
Number Heading
extendedDataRecord.recordNumber shall be unique within primary fault mem-
[constr_1509]
ory
[constr_1510] extendedDataRecord.recordNumber shall be unique within mirror fault memory
extendedDataRecord.recordNumber shall be unique within user-defined fault
[constr_1511]
memory
[constr_1512] freezeFrame.recordNumber shall be unique within primary fault memory
[constr_1513] freezeFrame.recordNumber shall be unique within mirror fault memory
[constr_1514] freezeFrame.recordNumber shall be unique within user-defined fault memory
Reference from DiagnosticRoutineControl to DiagnosticAccessPermis-
[constr_1515]
sion has no meaning
Table B.12: Added Constraints in 4.3.1
Number Heading
Allowed attributes of SwDataDefProps for DiagnosticDataElement.sw-
[constr_1325]
DataDefProps
[constr_1450] Service mapping for ODB mode 0x01 for DiagnosticParameterIdentifier
[constr_1451] Service mapping for OBD mode 0x09 for DiagnosticInfoType
Table B.13: Changed Constraints in 4.3.1
Number Heading
[constr_1356] Value of recordNumber shall be unique
[constr_1358] Value of recordNumber shall be unique
Table B.14: Deleted Constraints in 4.3.1
C Glossary
Artifact This is a Work Product Definition that provides a description and definition for
tangible work product types. Artifacts may be composed of other artifacts ([21]).
At a high level, an artifact is represented as a single conceptual file.
AUTOSAR Tool This is a software tool which supports one or more tasks defined as
AUTOSAR tasks in the methodology. Depending on the supported tasks, an
AUTOSAR tool can act as an authoring tool, a converter tool, a processor tool or
as a combination of those (see separate definitions).
AUTOSAR Authoring Tool An AUTOSAR Tool used to create and modify AUTOSAR
XML Descriptions. Example: System Description Editor.
AUTOSAR Converter Tool An AUTOSAR Tool used to create AUTOSAR XML files by
converting information from other AUTOSAR XML files. Example: ECU Flattener
AUTOSAR Definition This is the definition of parameters which can have values. One
could say that the parameter values are Instances of the definitions. But in the
meta model hierarchy of AUTOSAR, definitions are also instances of the meta
model and therefore considered as a description. Examples for AUTOSAR def-
initions are: EcucParameterDef, PostBuildVariantCriterion, SwSys-
temconst.
AUTOSAR XML Description In AUTOSAR this means "filled Template". In fact an
AUTOSAR XML description is the XML representation of an AUTOSAR model.
The AUTOSAR XML description can consist of several files. Each individual file
represents an AUTOSAR partial model and shall validate successfully against the
AUTOSAR XML schema.
AUTOSAR Meta-Model This is an UML2.0 model that defines the language for de-
scribing AUTOSAR systems. The AUTOSAR meta-model is an UML represen-
tation of the AUTOSAR templates. UML2.0 class diagrams are used to describe
the attributes and their interrelationships. Stereotypes, UML tags and OCL ex-
pressions (object constraint language) are used for defining specific semantics
and constraints.
AUTOSAR Meta-Model Tool The AUTOSAR Meta-Model Tool is the tool that gener-
ates different views (class tables, list of constraints, diagrams, XML Schema etc.)
on the AUTOSAR meta-model.
AUTOSAR Model This is a representation of an AUTOSAR product. The AUTOSAR
model represents aspects suitable to the intended use according to the
AUTOSAR methodology.
Strictly speaking, this is an instance of the AUTOSAR meta-model. The infor-
mation contained in the AUTOSAR model can be anything that is representable
according to the AUTOSAR meta-model.
Profile Authoring Support Data Data that is used for efficient authoring of a profile.
E.g. list of referable constraints, meta-classes, meta-attributes or other reusable
model assets (blueprints)
Profile Authoring Tool A specialized AUTOSAR Tool which focuses on the authoring
of profiles for data exchange points. It e.g. provides support for the creation of
profiles from scratch, modification of existing profiles or composition of existing
profiles.
Profile Compatibility Checker Tool A specialized AUTOSAR Tool which focuses on
checking the compatibility of profiles for data exchange. Note that this compat-
ibility check includes manual compatibility checks by engineers and automated
assistance using more formal algorithms.
Profile Consistency Checker Tool A specialized AUTOSAR Tool which focuses on
checking the consistency of profiles.
Property A property is a structural feature of an object. As an example a “connector”
has the properties “receive port” and “send port”
Properties are made variant by the atpVariation.
Prototype This is the implementation of a role of a type within the definition of another
type. In other words a type may contain Prototypes that in turn are typed by
"Types". Each one of these prototypes becomes an instance when this type is
instantiated.
Type A type provides features that can appear in various roles of this type.
Value This is a particular value assigned to a “Definition”.
Variability Variability of a system is its quality to describe a set of variants. These
variants are characterized by variant specific property settings and / or selections.
As an example, such a system property selection manifests itself in a particular
“receive port” for a connection.
This is implemented using the atpVariation.
Variant A system variant is a concrete realization of a system, so that all its proper-
ties have been set respectively selected. The software system has no variability
anymore with respect to the binding time.
This is implemented using EvaluatedVariantSet.
Variation Binding A variant is the result of a variation binding process that resolves
the variability of the system by assigning particular values/selections to all the
system’s properties.
This is implemented by VariationPoint.
Variation Binding Time The variation binding time determines the step in the method-
ology at which the variability given by a set of variable properties is resolved.
D Modeling of InstanceRef
D.1 Introduction
The existence of so-called InstanceRefs is a direct consequence to the usage of the
type-prototype pattern for modeling within AUTOSAR. When referencing a pro-
totype it is also necessary to include a reference to the prototypes typed by their
corresponding types that in turn aggregate further prototypes to set up the context.
In other words, InstanceRefs are representing structured references that, on the
one hand, consist of references to context prototypes (indicated by a subsetting or
redefinition of atpContextElement) and finally a reference to the applicable target
prototype (indicated by a redefinition of atpTarget).
Note that it is not uncommon to have more than a single context in the modeling of
particular InstanceRefs.
For the reader of specifications, the modeling of InstanceRefs manifests as a UML
dependency stereotyped instanceRef drawn from one meta-class to another.
This is a simplified indication that the source of the dependency implements an In-
stanceRef to the meta-class at the target of the dependency. Again, in most cases
this is everything a reader needs to understand in order to figure out the modeling.
The formal modeling of InstanceRefs is done by creating subclasses of the abstract
meta-class AtpInstanceRef.
Wherever a more detailed understanding of the modeling is advised in the context of
the specific chapter of this document, the modeling of a specific subclasses of AtpIn-
stanceRef is explained directly in the context of the corresponding chapter.
In all other cases, a deeper understanding of the modeling of particular subclasses of
AtpInstanceRefs can be obtained from reading this chapter.
Class tables included in this chapter are not fully filled out in the sense that most of the
notes inside the class tables are missing.
The primary purpose of these class tables is to provide information about the in-
tended order in which InstanceRefs are serialized in M1 AUTOSAR models.
In particular, the information about the order in serialized M1 models can be obtained
from the value of the tag xml.sequenceOffset of each attribute of an InstanceRef
meta-class.
For more information about the general concept of modeling AtpInstanceRef (e.g.
the conceptual background of redefining or subsetting an association from a subclass
of AtpInstanceRef to other meta-classes) please refer to [22].
D.2 Modeling
Class DataPrototypeInSystemInstanceRef
Package M2::AUTOSARTemplates::DiagnosticExtract::InstanceRefs
Note
Base ARObject,AtpInstanceRef
Attribute Type Mul. Kind Note
base System 1 ref This represents the base of the InstanceRef
Stereotypes: atpDerived
Tags: xml.sequenceOffset=10
contextCo SwComponentP * ref Tags: xml.sequenceOffset=30
mponent rototype
contextDat ApplicationCom * ref Tags: xml.sequenceOffset=50
aPrototype positeElementD
(ordered) ataPrototype
contextPor PortPrototype 1 ref This represents the PortPrototype that is
t contained in the InstanceRef.
Tags: xml.sequenceOffset=40
contextRo RootSwCompos 0..1 ref Tags: xml.sequenceOffset=20
otComposi itionPrototype
tion
targetData DataPrototype 1 ref This represents the target of the InstanceRef
Prototype
Tags: xml.sequenceOffset=60
ARElement
AtpStructureElement
System
1
{redefines atpBase}
«atpVariation,atpSplitable»
+rootSoftwareComposition 0..1
AtpPrototype
CompositionSwComponentType
Identifiable +softwareComposition
«isOfType»
«atpDerived» RootSwCompositionPrototype
1
{redefines
+contextRootComposition 0..1 atpType}
{redefines
atpContextElement}
«atpVariation,atpSplitable»
AtpInstanceRef
DataPrototypeInSystemInstanceRef
0..* +component
AtpPrototype
+contextComponent
SwComponentPrototype
0..*
{subsets
atpContextElement}
«isOfType»
1
{redefines
+targetDataPrototype atpContextElement} 1
{redefines 1
AtpPrototype +contextPort atpContextElement} {redefines atpType} +type
DataPrototype ARElement
AtpBlueprintable
AtpPrototype AtpBlueprint
+port AtpBlueprintable
PortPrototype AtpType
0..* 0..*«atpVariation,atpSplitable» SwComponentType
{ordered,
subsets
+contextDataPrototype atpContextElement}
ApplicationCompositeElementDataPrototype
+targetDataPrototype 1
{redefines atpContextElement}
+mappedDataElement 0..1
AtpInstanceRef
DataPrototypeInSystemInstanceRef
Class SwcServiceDependencyInSystemInstanceRef
Package M2::AUTOSARTemplates::DiagnosticExtract::InstanceRefs
Note
Base ARObject,AtpInstanceRef
Attribute Type Mul. Kind Note
AtpInstanceRef ARElement
SwcServiceDependencyInSystemInstanceRef AtpStructureElement
System
+base
+ containerIPduHeaderByteOrder :ByteOrderEnum [0..1]
+ ecuExtractVersion :RevisionLabelString [0..1]
0..1
+ pncVectorLength :PositiveInteger [0..1]
{redefines
+ pncVectorOffset :PositiveInteger [0..1]
atpBase}
+ systemVersion :RevisionLabelString
«atpVariation,atpSplitable»
+rootSoftwareComposition 0..1
AtpPrototype
+contextRootSwComposition Identifiable
RootSwCompositionPrototype
1
{subsets
atpContextElement} *
ARElement
AtpBlueprint
AtpBlueprintable
AtpType
«isOfType» SwComponentType
+type 1
1 {redefines atpType}
+softwareComposition {redefines atpType}
CompositionSwComponentType
«isOfType»
«atpVariation,atpSplitable»
+component 0..*
+contextSwComponentPrototype AtpPrototype
AtomicSwComponentType
SwComponentPrototype
0..*
{subsets
atpContextElement}
1
«atpVariation,atpSplitable»
{redefines
+targetSwcServiceDependency atpTarget}
+internalBehavior 0..1
AtpStructureElement
InternalBehavior
Identifiable
+serviceDependency SwcInternalBehavior
ServiceDependency
SwcServiceDependency 0..* «atpVariation,atpSplitable» + handleTerminationAndRestart :HandleTerminationAndRestartEnum
+ supportsMultipleInstantiation :Boolean
Class PModeInSystemInstanceRef
Package M2::AUTOSARTemplates::DiagnosticExtract::InstanceRefs
Note
Base ARObject,AtpInstanceRef
Attribute Type Mul. Kind Note
base System 1 ref Stereotypes: atpDerived
Tags: xml.sequenceOffset=10
contextCo SwComponentP 1..* ref Tags: xml.sequenceOffset=30
mponent rototype
contextCo RootSwCompos 1 ref Tags: xml.sequenceOffset=20
mposition itionPrototype
contextMo ModeDeclaratio 1 ref Tags: xml.sequenceOffset=50
deDeclarat nGroupPrototyp
ionGroup e
contextPP AbstractProvide 1 ref Tags: xml.sequenceOffset=40
ort dPortPrototype
targetMod ModeDeclaratio 1 ref Tags: xml.sequenceOffset=60
e n
DiagnosticEnvModeElement
DiagnosticEnvSwcModeElement
«instanceRef»
+mode 1 +mode 1
AtpStructureElement AtpInstanceRef
Identifiable PModeInSystemInstanceRef
ModeDeclaration
1 +targetMode
+ value :PositiveInteger [0..1] {redefines atpTarget}
AtpPrototype +contextModeDeclarationGroup
ModeDeclarationGroupPrototype
1
+ swCalibrationAccess :SwCalibrationAccessEnum [0..1]
{subsets atpContextElement}
PortPrototype
AbstractProvidedPortPrototype +contextPPort
1
{subsets atpContextElement}
AtpPrototype
+contextComponent
SwComponentPrototype
1..*
{subsets atpContextElement}
AtpPrototype
Identifiable +contextComposition
RootSwCompositionPrototype
1
{subsets atpContextElement}
+rootSoftwareComposition 0..1
«atpVariation,atpSplitable»
ARElement
AtpStructureElement
System
+base «atpDerived»
+ containerIPduHeaderByteOrder :ByteOrderEnum [0..1]
+ ecuExtractVersion :RevisionLabelString [0..1] 1
+ pncVectorLength :PositiveInteger [0..1] {redefines atpBase}
+ pncVectorOffset :PositiveInteger [0..1]
+ systemVersion :RevisionLabelString
E Upstream Mapping
E.1 Introduction
This chapter describes the mapping of the ECU Configuration parameters (M1 model)
onto the meta-classes and attributes of the AUTOSAR upstream templates (System
Template, SW Component Template and ECU Resource Template).
The relationships between upstream templates and ECU Configuration are described
in order to answer typical questions like:
• How shall a supplier use the information in a System Description in order to fulfill
the needs defined by the systems engineer?
• How is a tool vendor supposed to generate an ECU Configuration Description out
of ECU Extract of System Description?
Please note that the tables contain the following columns:
bsw module: Name of BSW module
bsw context: Reference to parameter container
bsw type: Type of parameter
bsw param: Name of the BSW parameter
bsw desc: Description from the configuration document
m2 template: System Template, SW Component Template, ECU Resource Template
m2 param: Name of the upstream template parameter
m2 description: Description from the upstream template definition
mapping rule: Textual description on how to transform between M2 and BSW do-
mains
mapping type:
• local: no mapping needed since parameter local to BSW
• partial: some data can be automatically mapped but not all
• full: all data can be automatically mapped
E.2 Dcm
BSW Description
This container contains the configuration (DSD parameters) for a Service Identifier Table.
Please refer to ISO 14229-1, ISO 15031-5 and chapter "Verification of the Service Security
Access levels."
The possible service identifiers are defined in ISO 14229-1 and ISO 15031-5.
Template Description
This meta-class provides the ability to define common properties that are shared among all instances
of sub-classes of DiagnosticServiceInstance.
M2 Parameter
DiagnosticExtract::Dcm::DiagnosticService::CommonService::DiagnosticServiceClass
Mapping Rule Mapping Type
Service identifiers of the used DiagnosticServiceClass full
Mapping Status Mapping ID
valid up_Dcm_00042
Please refer to ISO 14229-1, ISO 15031-5 and chapter "Verification of the Diagnostic Ses-
sion".
DcmDsdSubServiceFnc EcucFunctionNameDef
BSW Description
Callback function of the ECU Supplier specific component for the particular service. The function’s
prototype is as described for <Module>_<DiagnosticService>_<SubService>.
The possible subservice identifiers are defined in ISO 14229-1 and ISO 15031-5.
Template Description
The category is a keyword that specializes the semantics of the Identifiable. It affects the expected
existence of attributes and the applicability of constraints.
M2 Parameter
GenericStructure::GeneralTemplateClasses::Identifiable::Identifiable.category
Mapping Rule Mapping Type
Numerical values of diagnostic service according to ISO 14229 correspond to
partial
values of DiagnosticServiceInstance.category.
Mapping Status Mapping ID
valid up_Dcm_00045
Please refer to ISO 14229-1, ISO 15031-5 and chapter "Verification of the Service Security
Access levels."
Please refer to ISO 14229-1, ISO 15031-5 and chapter "Verification of the Diagnostic Ses-
sion".
TRUE: when the second request (Client B) can not be processed, it shall be answered with
NRC21 BusyRepeatRequest.
FALSE: when the second request (Client B) can not be processed, it shall not be responded.
Template Description
Defines the reaction upon a second request (ClientB) that can not be processed (e.g. due to priority
assessment).
TRUE: when the second request (Client B) can not be processed, it shall be answered with
NRC21 BusyRepeatRequest.
FALSE: when the second request (Client B) can not be processed, it shall not be responded.
M2 Parameter
DiagnosticExtract::DiagnosticCommonProps::DiagnosticCommonProps.responseOnSecondDe-
clinedRequest
Mapping Rule Mapping Type
1:1 mapping full
Mapping Status Mapping ID
valid up_Dcm_00049
The CommunicationCluster is the main element to describe the topological connection of communi-
cating ECUs.
A cluster describes the ensemble of ECUs, which are linked by a communication medium of
arbitrary topology (bus, star, ring, ...). The nodes within the cluster share the same communication
protocol, which may be event-triggered, time-triggered or a combination of both.
Dcm/DcmConfigSet/DcmDsl/DcmDslProtocol/DcmDslProtocolRow/DcmDsl
Dcm
Connection/DcmDslMainConnection/DcmDslProtocolRx
BSW Parameter BSW Type
DcmDslProtocolRxPduRef EcucReferenceDef
BSW Description
Reference to a Pdu in EcuC that is used for this reception channel.
Template Description
The IPdu (Interaction Layer Protocol Data Unit) element is used to sum up all Pdus that are routed
by the PduR.
M2 Parameter
SystemTemplate::Fibex::FibexCore::CoreCommunication::IPdu
Mapping Rule Mapping Type
Reference to IPdu of xxxTpConnection for DiagnosticConnection.physicalRe-
full
quest / DiagnosticConnection.functionalRequest
Mapping Status Mapping ID
valid up_Dcm_00054
The PDU referenced by this transmission channel can produce meta data items of type TAR-
GET_ADDRESS_16 and SOURCE_ADDRESS_16.
Template Description
In the vast majority of cases a response is required. However, there are also cases where providing
the response is not possible and/or not allowed.
M2 Parameter
SystemTemplate::DiagnosticConnection::DiagnosticConnection.response
Mapping Rule Mapping Type
1:1 mapping full
Mapping Status Mapping ID
valid up_Dcm_00056
Template Description
AbstractCanPhysicalChannel:
Abstract class that is used to collect the common TtCAN and CAN PhysicalChannel attributes.
DiagnosticConnection.periodicResponseUudt:
Reference to UUDT responses.
M2 Parameter
SystemTemplate::Fibex::Fibex4Can::CanTopology::AbstractCanPhysicalChannel,
SystemTemplate::DiagnosticConnection::DiagnosticConnection.periodicResponseUudt,
Mapping Rule Mapping Type
If DiagnosticConnection.periodicResponseUudt exists and PhysicalChannel
full
given as AbstractCanPhysicalChannel.
Mapping Status Mapping ID
valid up_Dcm_00060
BSW Description
Template Description
SocketConnection:
The SoAd serves as a (De)Multiplexer between different PDU sources and the TCP/IP stack.
DiagnosticConnection.periodicResponseUudt:
Reference to UUDT responses.
EthernetPhysicalChannel:
The EthernetPhysicalChannel represents a VLAN or an untagged channel.
An untagged channel is modeled as an EthernetPhysicalChannel without an aggregated VLAN.
M2 Parameter
SystemTemplate::Fibex::Fibex4Ethernet::EthernetCommunication::SocketConnection,
SystemTemplate::DiagnosticConnection::DiagnosticConnection.periodicResponseUudt,
SystemTemplate::Fibex::Fibex4Ethernet::EthernetTopology::EthernetPhysicalChannel
Mapping Rule Mapping Type
If DiagnosticConnection.periodicResponseUudt exists and PhysicalChannel
full
given as EthernetPhysicalChannel.
Mapping Status Mapping ID
valid up_Dcm_00061
Template Description
DiagnosticConnection.responseOnEvent:
Reference to a ROE message.
CanTpConnection:
A connection identifies the sender and the receiver of this particular communication. The CanTp
module routes a Pdu through this connection.
BSW Description
Template Description
DiagnosticConnection.responseOnEvent:
Reference to a ROE message.
FlexrayTpConnection:
A connection identifies the sender and the receiver of this particular communication. The FlexRayTp
module routes a Pdu through this connection.
In a System Description the references to the PduPools are mandatory. In an ECU Extract
these references can be optional:
On unicast connections these references are always mandatory.
On multicast the txPduPool is mandatory on the sender side. The rxPduPool is mandatory on the
receiver side. On Gateway ECUs both references are mandatory.
M2 Parameter
SystemTemplate::DiagnosticConnection::DiagnosticConnection.responseOnEvent,
SystemTemplate::TransportProtocols::FlexrayTpConnection
Mapping Rule Mapping Type
In case DiagnosticConnection.responseOnEvent exists and TpConnection
full
Ident.ident belongs to FlexRayTpConnection
Mapping Status Mapping ID
valid up_Dcm_00063
Template Description
DiagnosticConnection.responseOnEvent:
Reference to a ROE message.
SocketConnection:
The SoAd serves as a (De)Multiplexer between different PDU sources and the TCP/IP stack.
M2 Parameter
SystemTemplate::DiagnosticConnection::DiagnosticConnection.responseOnEvent,
SystemTemplate::Fibex::Fibex4Ethernet::EthernetCommunication::SocketConnection
Mapping Rule Mapping Type
In case DiagnosticConnection.responseOnEvent exists and TpConnection
full
Ident.ident belongs to SocketConnection
Mapping Status Mapping ID
valid up_Dcm_00064
CanTpConnection:
A connection identifies the sender and the receiver of this particular communication. The CanTp
module routes a Pdu through this connection.
FlexrayTpConnection:
A connection identifies the sender and the receiver of this particular communication. The FlexRayTp
module routes a Pdu through this connection.
In a System Description the references to the PduPools are mandatory. In an ECU Extract
these references can be optional:
On unicast connections these references are always mandatory.
On multicast the txPduPool is mandatory on the sender side. The rxPduPool is mandatory on the
receiver side. On Gateway ECUs both references are mandatory.
M2 Parameter
SystemTemplate::DiagnosticConnection::DiagnosticConnection.physicalRequest,
SystemTemplate::TransportProtocols::FlexrayTpConnection
Mapping Rule Mapping Type
In case DiagnosticConnection.physicalRequest exists and TpConnection
full
Ident.ident belongs to FlexRayTpConnection
Mapping Status Mapping ID
valid up_Dcm_00066
DCM_UDS_ON_IP EcucEnumerationLiteralDef
BSW Description
Template Description
DiagnosticConnection.physicalRequest:
Reference to a physical request message.
SocketConnection:
The SoAd serves as a (De)Multiplexer between different PDU sources and the TCP/IP stack.
M2 Parameter
SystemTemplate::DiagnosticConnection::DiagnosticConnection.physicalRequest,
SystemTemplate::Fibex::Fibex4Ethernet::EthernetCommunication::SocketConnection
Mapping Rule Mapping Type
In case DiagnosticConnection.physicalRequest exists and TpConnection
full
Ident.ident belongs to a SocketConnection
Mapping Status Mapping ID
valid up_Dcm_00067
Template Description
AbstractCanPhysicalChannel:
Abstract class that is used to collect the common TtCAN and CAN PhysicalChannel attributes.
DiagnosticConnection.periodicResponseUudt:
Reference to UUDT responses.
M2 Parameter
SystemTemplate::Fibex::Fibex4Can::CanTopology::AbstractCanPhysicalChannel,
SystemTemplate::DiagnosticConnection::DiagnosticConnection.periodicResponseUudt,
Mapping Rule Mapping Type
If DiagnosticConnection.periodicResponseUudt exists and PhysicalChannel
full
given as AbstractCanPhysicalChannel.
Mapping Status Mapping ID
valid up_Dcm_00060
Template Description
SocketConnection:
The SoAd serves as a (De)Multiplexer between different PDU sources and the TCP/IP stack.
DiagnosticConnection.periodicResponseUudt:
Reference to UUDT responses.
EthernetPhysicalChannel:
The EthernetPhysicalChannel represents a VLAN or an untagged channel.
An untagged channel is modeled as an EthernetPhysicalChannel without an aggregated VLAN.
M2 Parameter
SystemTemplate::Fibex::Fibex4Ethernet::EthernetCommunication::SocketConnection,
SystemTemplate::DiagnosticConnection::DiagnosticConnection.periodicResponseUudt,
SystemTemplate::Fibex::Fibex4Ethernet::EthernetTopology::EthernetPhysicalChannel
Mapping Rule Mapping Type
If DiagnosticConnection.periodicResponseUudt exists and PhysicalChannel
full
given as EthernetPhysicalChannel.
Mapping Status Mapping ID
valid up_Dcm_00061
Template Description
DiagnosticConnection.responseOnEvent:
Reference to a ROE message.
CanTpConnection:
A connection identifies the sender and the receiver of this particular communication. The CanTp
module routes a Pdu through this connection.
Template Description
DiagnosticConnection.responseOnEvent:
Reference to a ROE message.
FlexrayTpConnection:
A connection identifies the sender and the receiver of this particular communication. The FlexRayTp
module routes a Pdu through this connection.
In a System Description the references to the PduPools are mandatory. In an ECU Extract
these references can be optional:
On unicast connections these references are always mandatory.
On multicast the txPduPool is mandatory on the sender side. The rxPduPool is mandatory on the
receiver side. On Gateway ECUs both references are mandatory.
M2 Parameter
SystemTemplate::DiagnosticConnection::DiagnosticConnection.responseOnEvent,
SystemTemplate::TransportProtocols::FlexrayTpConnection
Mapping Rule Mapping Type
In case DiagnosticConnection.responseOnEvent exists and TpConnection
full
Ident.ident belongs to FlexRayTpConnection
Mapping Status Mapping ID
valid up_Dcm_00063
Template Description
DiagnosticConnection.responseOnEvent:
Reference to a ROE message.
SocketConnection:
The SoAd serves as a (De)Multiplexer between different PDU sources and the TCP/IP stack.
M2 Parameter
SystemTemplate::DiagnosticConnection::DiagnosticConnection.responseOnEvent,
SystemTemplate::Fibex::Fibex4Ethernet::EthernetCommunication::SocketConnection
Mapping Rule Mapping Type
In case DiagnosticConnection.responseOnEvent exists and TpConnection
full
Ident.ident belongs to SocketConnection
Mapping Status Mapping ID
valid up_Dcm_00064
DCM_UDS_ON_CAN EcucEnumerationLiteralDef
BSW Description
UDS on CAN (ISO15765-3; ISO14229-1)
Template Description
DiagnosticConnection.physicalRequest:
Reference to a physical request message.
CanTpConnection:
A connection identifies the sender and the receiver of this particular communication. The CanTp
module routes a Pdu through this connection.
FlexrayTpConnection:
A connection identifies the sender and the receiver of this particular communication. The FlexRayTp
module routes a Pdu through this connection.
In a System Description the references to the PduPools are mandatory. In an ECU Extract
these references can be optional:
On unicast connections these references are always mandatory.
On multicast the txPduPool is mandatory on the sender side. The rxPduPool is mandatory on the
receiver side. On Gateway ECUs both references are mandatory.
M2 Parameter
SystemTemplate::DiagnosticConnection::DiagnosticConnection.physicalRequest,
SystemTemplate::TransportProtocols::FlexrayTpConnection
Mapping Rule Mapping Type
In case DiagnosticConnection.physicalRequest exists and TpConnection
full
Ident.ident belongs to FlexRayTpConnection
Mapping Status Mapping ID
valid up_Dcm_00066
Dcm/DcmConfigSet/DcmDsl/DcmDslProtocol/DcmDslProtocolRow/DcmDsl
Dcm
ProtocolType
BSW Parameter BSW Type
DCM_UDS_ON_IP EcucEnumerationLiteralDef
BSW Description
Template Description
DiagnosticConnection.physicalRequest:
Reference to a physical request message.
SocketConnection:
The SoAd serves as a (De)Multiplexer between different PDU sources and the TCP/IP stack.
M2 Parameter
SystemTemplate::DiagnosticConnection::DiagnosticConnection.physicalRequest,
SystemTemplate::Fibex::Fibex4Ethernet::EthernetCommunication::SocketConnection
Mapping Rule Mapping Type
In case DiagnosticConnection.physicalRequest exists and TpConnection
full
Ident.ident belongs to a SocketConnection
Mapping Status Mapping ID
valid up_Dcm_00067
This reference represents the semantics that all available channels shall be affected. It is still
necessary to refer to individual CommunicatuionClusters because there could be private Com-
municationClusters in the System Extract that are not subject to the service "communication control".
By referring to the applicable CommunicationClusters it can be made sure that only the affected
CommunicationClusters are accessed.
M2 Parameter
DiagnosticExtract::Dcm::DiagnosticService::CommunicationControl::DiagnosticComControl
Class.allChannels
Mapping Rule Mapping Type
1:1 mapping full
Mapping Status Mapping ID
valid up_Dcm_00072
true: Dcm module shall check the session, security and mode dependencies per source DIDs with
a ReadDataByIdentifier (0x22) with DID in the range 0xF200 to 0xF3FF
false: Dcm module shall not check the session, security and mode dependencies per source
DIDs with a ReadDataByIdentifier (0x22) with DID in the range 0xF200 to 0xF3FF
Template Description
If set to TRUE, the Dcm module shall check the session, security and mode dependencies per
source DIDs with a ReadDataByIdentifier (0x22) with DID in the range 0xF200 to 0xF3FF.
If set to FALSE. the Dcm module shall not check the session, security and mode dependen-
cies per source DIDs with a ReadDataByIdentifier (0x22) with DID in the range 0xF200 to 0xF3FF.
M2 Parameter
DiagnosticExtract::Dcm::DiagnosticService::DynamicallyDefineDataIdentifier::DiagnosticDynami-
callyDefineDataIdentifierClass.checkPerSourceId
Mapping Rule Mapping Type
1:1 mapping full
Mapping Status Mapping ID
valid up_Dcm_00079
BaseTypeDirectDefinition.baseTypeSize:
Describes the length of the data type specified in the container in bits.
M2 Parameter
DiagnosticExtract::CommonDiagnostics::DiagnosticDataElement.maxNumberOfElements,
AsamHdo::BaseTypes::BaseTypeDirectDefinition.baseTypeSize
Mapping Rule Mapping Type
S/R via array:
DcmDspDataByteSize= maxNumberOfElements * (baseTypeSize / 8)
full
C/S of FNC callback:
DcmDspDataByteSize= maxNumberOfElements
Note: 8 is the baseTypeSize of UINT8
Mapping Status Mapping ID
valid up_Dcm_00085
This is supposed to represent a reference to a BswServiceDependency. the latter is not derived from
Referrable and therefore this detour needs to be implemented to still let BswServiceDependency
become the target of a reference.
M2 Parameter
DiagnosticExtract::ServiceMapping::DiagnosticServiceSwMapping.mappedBswServiceDepen-
dency
Mapping Rule Mapping Type
It could be possible to get the FNC name via BswServiceDependency full
Mapping Status Mapping ID
valid up_Dcm_00080
DiagnosticIoControlNeeds.freezeCurrentStateSupported:
This attribute determines, if the referenced port supports temporary freezing of I/O value.
M2 Parameter
DiagnosticExtract::ServiceMapping::DiagnosticServiceSwMapping.mappedBswServiceDepen-
dency,
CommonStructure::ServiceNeeds::DiagnosticIoControlNeeds.freezeCurrentStateSupported
Mapping Rule Mapping Type
It could be possible to get the FNC name via BswServiceDependency full
Mapping Status Mapping ID
valid up_Dcm_00004
DiagnosticServiceSwMapping.mappedBswServiceDependency:
This is supposed to represent a reference to a BswServiceDependency. the latter is not derived from
Referrable and therefore this detour needs to be implemented to still let BswServiceDependency
become the target of a reference.
DiagnosticIoControlNeeds.resetToDefaultSupported:
This represents a flag for the existence of the ResetToDefault operation in the service interface.
M2 Parameter
DiagnosticExtract::ServiceMapping::DiagnosticServiceSwMapping.mappedBswServiceDepen-
dency,
CommonStructure::ServiceNeeds::DiagnosticIoControlNeeds.resetToDefaultSupported
Mapping Rule Mapping Type
It could be possible to get the FNC name via BswServiceDependency full
Mapping Status Mapping ID
valid up_Dcm_00005
DiagnosticServiceSwMapping.mappedBswServiceDependency:
This is supposed to represent a reference to a BswServiceDependency. the latter is not derived from
Referrable and therefore this detour needs to be implemented to still let BswServiceDependency
become the target of a reference.
DiagnosticIoControlNeeds.shortTermAdjustmentSupported:
This attribute determines, if the referenced port supports temporarily setting of I/O value to a specific
value provided by the diagnostic tester.
M2 Parameter
DiagnosticExtract::ServiceMapping::DiagnosticServiceSwMapping.mappedBswServiceDepen-
dency,
CommonStructure::ServiceNeeds::DiagnosticIoControlNeeds.shortTermAdjustmentSupported
Mapping Rule Mapping Type
It could be possible to get the FNC name via BswServiceDependency full
Mapping Status Mapping ID
valid up_Dcm_00006
BaseTypeDirectDefinition.baseTypeSize:
Describes the length of the data type specified in the container in bits.
DiagnosticValueNeeds.fixedLength:
This attribute controls whether the data length of the data is fixed.
M2 Parameter
AsamHdo::BaseTypes::BaseTypeDirectDefinition.baseTypeEncoding,
AsamHdo::BaseTypes::BaseTypeDirectDefinition.baseTypeSize,
CommonStructure::ServiceNeeds::DiagnosticValueNeeds.fixedLength
Mapping Rule Mapping Type
baseTypeEncoding = BOOLEAN
baseTypeSize = 1
maxNumberOfElements shall not exist
full
arraySizeSemantics shall not exist
BaseTypeDirectDefinition.baseTypeEncoding:
This specifies, how an object of the current BaseType is encoded, e.g. in an ECU within a message
sequence.
DiagnosticValueNeeds.fixedLength:
This attribute controls whether the data length of the data is fixed.
M2 Parameter
AsamHdo::BaseTypes::BaseTypeDirectDefinition.baseTypeSize,
AsamHdo::BaseTypes::BaseTypeDirectDefinition.baseTypeEncoding,
CommonStructure::ServiceNeeds::DiagnosticValueNeeds.fixedLength
Mapping Rule Mapping Type
baseTypeEncoding = 2C
baseTypeSize = 16
maxNumberOfElements shall not exist
full
arraySizeSemantics shall not exist
BaseTypeDirectDefinition.baseTypeEncoding:
This specifies, how an object of the current BaseType is encoded, e.g. in an ECU within a message
sequence.
DiagnosticDataElement.arraySizeSemantics:
This attribute controls the meaning of the value of the array size.
DiagnosticDataElement.maxNumberOfElements:
The existence of this attribute turns the data instance into an array of data. The attribute determines
the size of the array in terms of how many elements the array can take.
DiagnosticValueNeeds.fixedLength:
This attribute controls whether the data length of the data is fixed.
M2 Parameter
AsamHdo::BaseTypes::BaseTypeDirectDefinition.baseTypeSize,
AsamHdo::BaseTypes::BaseTypeDirectDefinition.baseTypeEncoding
DiagnosticExtract::CommonDiagnostics::DiagnosticDataElement.arraySizeSemantics
DiagnosticExtract::CommonDiagnostics::DiagnosticDataElement.maxNumberOfElements,
CommonStructure::ServiceNeeds::DiagnosticValueNeeds.fixedLength
BaseTypeDirectDefinition.baseTypeEncoding:
This specifies, how an object of the current BaseType is encoded, e.g. in an ECU within a message
sequence.
DiagnosticValueNeeds.fixedLength:
This attribute controls whether the data length of the data is fixed.
M2 Parameter
AsamHdo::BaseTypes::BaseTypeDirectDefinition.baseTypeSize,
AsamHdo::BaseTypes::BaseTypeDirectDefinition.baseTypeEncoding,
CommonStructure::ServiceNeeds::DiagnosticValueNeeds.fixedLength
Mapping Rule Mapping Type
baseTypeEncoding = 2C
baseTypeSize = 32
maxNumberOfElements shall not exist
full
arraySizeSemantics shall not exist
BaseTypeDirectDefinition.baseTypeSize:
Describes the length of the data type specified in the container in bits.
BaseTypeDirectDefinition.baseTypeEncoding:
This specifies, how an object of the current BaseType is encoded, e.g. in an ECU within a message
sequence.
DiagnosticDataElement.arraySizeSemantics:
This attribute controls the meaning of the value of the array size.
DiagnosticDataElement.maxNumberOfElements:
The existence of this attribute turns the data instance into an array of data. The attribute determines
the size of the array in terms of how many elements the array can take.
DiagnosticValueNeeds.fixedLength:
This attribute controls whether the data length of the data is fixed.
M2 Parameter
AsamHdo::BaseTypes::BaseTypeDirectDefinition.baseTypeSize,
AsamHdo::BaseTypes::BaseTypeDirectDefinition.baseTypeEncoding
DiagnosticExtract::CommonDiagnostics::DiagnosticDataElement.arraySizeSemantics
DiagnosticExtract::CommonDiagnostics::DiagnosticDataElement.maxNumberOfElements,
CommonStructure::ServiceNeeds::DiagnosticValueNeeds.fixedLength
Mapping Rule Mapping Type
baseTypeEncoding = 2C
baseTypeSize = 32
maxNumberOfElements exists and value is greater than 0 (cf. TPS_DEXT
_01001)
full
arraySizeSemantics either does not exist or exists and is set to ArraySize
SemanticsEnum.fixedSize (cf. TPS_DEXT_01001)
BaseTypeDirectDefinition.baseTypeEncoding:
This specifies, how an object of the current BaseType is encoded, e.g. in an ECU within a message
sequence.
DiagnosticValueNeeds.fixedLength:
This attribute controls whether the data length of the data is fixed.
M2 Parameter
AsamHdo::BaseTypes::BaseTypeDirectDefinition.baseTypeSize,
AsamHdo::BaseTypes::BaseTypeDirectDefinition.baseTypeEncoding,
CommonStructure::ServiceNeeds::DiagnosticValueNeeds.fixedLength
BaseTypeDirectDefinition.baseTypeEncoding:
This specifies, how an object of the current BaseType is encoded, e.g. in an ECU within a message
sequence.
DiagnosticDataElement.arraySizeSemantics:
This attribute controls the meaning of the value of the array size.
DiagnosticDataElement.maxNumberOfElements:
The existence of this attribute turns the data instance into an array of data. The attribute determines
the size of the array in terms of how many elements the array can take.
DiagnosticValueNeeds.fixedLength:
This attribute controls whether the data length of the data is fixed.
M2 Parameter
AsamHdo::BaseTypes::BaseTypeDirectDefinition.baseTypeSize,
AsamHdo::BaseTypes::BaseTypeDirectDefinition.baseTypeEncoding
DiagnosticExtract::CommonDiagnostics::DiagnosticDataElement.arraySizeSemantics
DiagnosticExtract::CommonDiagnostics::DiagnosticDataElement.maxNumberOfElements,
CommonStructure::ServiceNeeds::DiagnosticValueNeeds.fixedLength
Mapping Rule Mapping Type
baseTypeEncoding = 2C
baseTypeSize = 8
maxNumberOfElements exists and value is greater than 0 (cf. TPS_DEXT
_01001)
full
arraySizeSemantics either does not exist or exists and is set to ArraySize
SemanticsEnum.fixedSize (cf. TPS_DEXT_01001)
Dcm Dcm/DcmConfigSet/DcmDsp/DcmDspData/DcmDspDataType
BSW Parameter BSW Type
UINT16 EcucEnumerationLiteralDef
BSW Description
Type of the data is uint16.
Template Description
BaseTypeDirectDefinition.baseTypeEncoding:
This specifies, how an object of the current BaseType is encoded, e.g. in an ECU within a message
sequence.
BaseTypeDirectDefinition.baseTypeSize:
Describes the length of the data type specified in the container in bits.
DiagnosticValueNeeds.fixedLength:
This attribute controls whether the data length of the data is fixed.
M2 Parameter
AsamHdo::BaseTypes::BaseTypeDirectDefinition.baseTypeEncoding,
AsamHdo::BaseTypes::BaseTypeDirectDefinition.baseTypeSize,
CommonStructure::ServiceNeeds::DiagnosticValueNeeds.fixedLength
Mapping Rule Mapping Type
baseTypeEncoding = NONE, UTF-16
baseTypeSize = 16
maxNumberOfElements shall not exist
full
arraySizeSemantics shall not exist
BaseTypeDirectDefinition.baseTypeSize:
Describes the length of the data type specified in the container in bits.
DiagnosticDataElement.arraySizeSemantics:
This attribute controls the meaning of the value of the array size.
DiagnosticDataElement.maxNumberOfElements:
The existence of this attribute turns the data instance into an array of data. The attribute determines
the size of the array in terms of how many elements the array can take.
DiagnosticValueNeeds.fixedLength:
This attribute controls whether the data length of the data is fixed.
M2 Parameter
AsamHdo::BaseTypes::BaseTypeDirectDefinition.baseTypeEncoding,
AsamHdo::BaseTypes::BaseTypeDirectDefinition.baseTypeSize
DiagnosticExtract::CommonDiagnostics::DiagnosticDataElement.arraySizeSemantics
DiagnosticExtract::CommonDiagnostics::DiagnosticDataElement.maxNumberOfElements,
CommonStructure::ServiceNeeds::DiagnosticValueNeeds.fixedLength
Mapping Rule Mapping Type
baseTypeEncoding = NONE, UTF-16
baseTypeSize = 16
maxNumberOfElements exists and value is greater than 0 (cf. TPS_DEXT
_01001)
full
arraySizeSemantics either does not exist or exists and is set to ArraySize
SemanticsEnum.fixedSize (cf. TPS_DEXT_01001)
BaseTypeDirectDefinition.baseTypeSize:
Describes the length of the data type specified in the container in bits.
DiagnosticValueNeeds.fixedLength:
This attribute controls whether the data length of the data is fixed.
M2 Parameter
AsamHdo::BaseTypes::BaseTypeDirectDefinition.baseTypeEncoding,
AsamHdo::BaseTypes::BaseTypeDirectDefinition.baseTypeSize,
CommonStructure::ServiceNeeds::DiagnosticValueNeeds.fixedLength
Mapping Rule Mapping Type
baseTypeEncoding = NONE, UTF-32
baseTypeSize = 32
maxNumberOfElements shall not exist
full
arraySizeSemantics shall not exist
BaseTypeDirectDefinition.baseTypeSize:
Describes the length of the data type specified in the container in bits.
DiagnosticDataElement.arraySizeSemantics:
This attribute controls the meaning of the value of the array size.
DiagnosticDataElement.maxNumberOfElements:
The existence of this attribute turns the data instance into an array of data. The attribute determines
the size of the array in terms of how many elements the array can take.
DiagnosticValueNeeds.fixedLength:
This attribute controls whether the data length of the data is fixed.
M2 Parameter
AsamHdo::BaseTypes::BaseTypeDirectDefinition.baseTypeEncoding,
AsamHdo::BaseTypes::BaseTypeDirectDefinition.baseTypeSize
DiagnosticExtract::CommonDiagnostics::DiagnosticDataElement.arraySizeSemantics
DiagnosticExtract::CommonDiagnostics::DiagnosticDataElement.maxNumberOfElements,
CommonStructure::ServiceNeeds::DiagnosticValueNeeds.fixedLength
Mapping Rule Mapping Type
baseTypeEncoding = NONE, UTF-32
baseTypeSize = 32
maxNumberOfElements exists and value is greater than 0 (cf. TPS_DEXT
_01001)
full
arraySizeSemantics either does not exist or exists and is set to ArraySize
SemanticsEnum.fixedSize (cf. TPS_DEXT_01001)
BaseTypeDirectDefinition.baseTypeSize:
Describes the length of the data type specified in the container in bits.
DiagnosticValueNeeds.fixedLength:
This attribute controls whether the data length of the data is fixed.
M2 Parameter
AsamHdo::BaseTypes::BaseTypeDirectDefinition.baseTypeEncoding,
AsamHdo::BaseTypes::BaseTypeDirectDefinition.baseTypeSize,
CommonStructure::ServiceNeeds::DiagnosticValueNeeds.fixedLength
Mapping Rule Mapping Type
baseTypeEncoding = NONE, WINDOWS-1252, UTF-8, BCD-P, BCD-UP
baseTypeSize = 8
maxNumberOfElements shall not exist
full
arraySizeSemantics shall not exist
BaseTypeDirectDefinition.baseTypeSize:
Describes the length of the data type specified in the container in bits.
DiagnosticDataElement.arraySizeSemantics:
This attribute controls the meaning of the value of the array size.
DiagnosticDataElement.maxNumberOfElements:
The existence of this attribute turns the data instance into an array of data. The attribute determines
the size of the array in terms of how many elements the array can take.
DiagnosticValueNeeds.fixedLength:
This attribute controls whether the data length of the data is fixed.
M2 Parameter
AsamHdo::BaseTypes::BaseTypeDirectDefinition.baseTypeEncoding,
AsamHdo::BaseTypes::BaseTypeDirectDefinition.baseTypeSize
DiagnosticExtract::CommonDiagnostics::DiagnosticDataElement.arraySizeSemantics
DiagnosticExtract::CommonDiagnostics::DiagnosticDataElement.maxNumberOfElements,
CommonStructure::ServiceNeeds::DiagnosticValueNeeds.fixedLength
Mapping Rule Mapping Type
baseTypeEncoding = NONE, WINDOWS-1252, UTF-8, BCD-P, BCD-UP
baseTypeSize = 8
maxNumberOfElements exists and value is greater than 0 (cf. TPS_DEXT
_01002) full
arraySizeSemantics exists and is set to ArraySizeSemanticsEnum.variableSize
(cf. TPS_DEXT_01002) Derivation from DiagnosticValueNeeds.fixedLength=0
possible.
Mapping Status Mapping ID
valid up_Dcm_00007
BaseTypeDirectDefinition.baseTypeSize:
Describes the length of the data type specified in the container in bits.
DiagnosticDataElement.arraySizeSemantics:
This attribute controls the meaning of the value of the array size.
DiagnosticDataElement.maxNumberOfElements:
The existence of this attribute turns the data instance into an array of data. The attribute determines
the size of the array in terms of how many elements the array can take.
DiagnosticValueNeeds.fixedLength:
This attribute controls whether the data length of the data is fixed.
M2 Parameter
AsamHdo::BaseTypes::BaseTypeDirectDefinition.baseTypeEncoding,
AsamHdo::BaseTypes::BaseTypeDirectDefinition.baseTypeSize
DiagnosticExtract::CommonDiagnostics::DiagnosticDataElement.arraySizeSemantics
DiagnosticExtract::CommonDiagnostics::DiagnosticDataElement.maxNumberOfElements,
CommonStructure::ServiceNeeds::DiagnosticValueNeeds.fixedLength
Mapping Rule Mapping Type
baseTypeEncoding = NONE, WINDOWS-1252, UTF-8, BCD-P, BCD-UP
baseTypeSize = 8
maxNumberOfElements exists and value is greater than 0 (cf. TPS_DEXT
_01001)
full
arraySizeSemantics either does not exist or exists and is set to ArraySize
SemanticsEnum.fixedSize (cf. TPS_DEXT_01001)
BSW Description
The DCM will access the Data using the functions that are defined in parameters of type Ecuc-
FunctionNameDef (but without DcmDspDataReadDataLengthFnc) in the DcmDspData container.
DCM_E_PENDING return is allowed. OpStatus is existing as IN parameter.
Template Description
The software-component processes the request in background but still the Dcm has to issue the call
again to eventually obtain the result of the request.
M2 Parameter
CommonStructure::ServiceNeeds::DiagnosticProcessingStyleEnum.processingStyleAsynchronous
Mapping Rule Mapping Type
DiagnosticServiceSwMapping is having a BswServiceDependency and Ser-
viceNeeds::DiagnosticProcessingStyleEnum is equal to processingStyleAsyn- full
chronous
Mapping Status Mapping ID
valid up_Dcm_00250
Note that this is still independent of the technical implementation in data types. It only speci-
fies the formula how the internal value corresponds to its physical pendant.
M2 Parameter
AsamHdo::ComputationMethod::CompuMethod
Mapping Rule Mapping Type
This mapping applies if the CompuMethod.category is set to values TEXTTABL
full
E or SCALE_LINEAR_AND_TEXTTABLE.
Mapping Status Mapping ID
valid up_Dcm_00097
DcmDspDiagnosisRepresentationDataValue EcucIntegerParamDef
BSW Description
The data value in the diagnosis representation.
Template Description
This represents a textual constant in the computation method.
M2 Parameter
AsamHdo::ComputationMethod::CompuConstTextContent.vt
Mapping Rule Mapping Type
1:1 mapping full
Mapping Status Mapping ID
valid up_Dcm_00098
CompuScale.upperLimit:
This specifies the upper limit of a of the scale.
M2 Parameter
AsamHdo::ComputationMethod::CompuScale.lowerLimit,
AsamHdo::ComputationMethod::CompuScale.upperLimit
Mapping Rule Mapping Type
1:1 mapping full
Mapping Status Mapping ID
valid up_Dcm_00099
DiagnosticDataIdentifier.supportInfoByte:
This attribute represents the supported information associated with the DiagnosticDataIdentifier.
M2 Parameter
DiagnosticExtract::CommonDiagnostics::DiagnosticParameter.supportInfo,
DiagnosticExtract::CommonDiagnostics::DiagnosticDataIdentifier.supportInfoByte
Mapping Rule Mapping Type
1:1 mapping full
Mapping Status Mapping ID
valid up_Dcm_00282
DcmSubElementInImplDataElementInstanceRef EcucInstanceReferenceDef
BSW Description
Instance Reference to the primitve sub-element (at any level) of composite data in a port which shall
be read.
Supported are VariableDataPrototypes in SenderReceiverInterfaces and NvDataInterfaces and Pa-
rameterDataPrototypes in ParameterInterfaces (read only).
This reference is applicable if the AutosarDataPrototype is typed with a ImplementationDataType of
category STRUCTURE or ARRAY.
Please note that in case of ARRAY the index attribute in the target reference has to be set to select
a single array element.
Template Description
This represents the dataElement in the application software that is accessed for diagnostic purpose.
M2 Parameter
DiagnosticExtract::ServiceMapping::DiagnosticServiceDataMapping.mappedDataElement
Mapping Rule Mapping Type
DiagnosticServiceDataMapping maps to a primitive element within a compos-
ite data, where the AutosarDataPrototype is typed with a ApplicationComposite full
DataType ImplementationDataType of category STRUCTURE or ARRAY.
Mapping Status Mapping ID
valid up_Dcm_00102
DiagnosticDynamicDataIdentifier:
This meta-class represents the ability to define a diagnostic data identifier (DID) at run-time.
M2 Parameter
DiagnosticExtract::CommonDiagnostics::DiagnosticDataIdentifier
DiagnosticExtract::CommonDiagnostics::DiagnosticDynamicDataIdentifier
Mapping Rule Mapping Type
1:1 mapping full
Mapping Status Mapping ID
valid up_Dcm_00178
DiagnosticValueNeeds.didNumber:
This represents a Data identifier for the diagnostic value.
This allows to predefine the DID number if the responsible function developer has received a
particular requirement from the OEM or from a standardization body.
M2 Parameter
DiagnosticExtract::CommonDiagnostics::DiagnosticAbstractDataIdentifier.id,
CommonStructure::ServiceNeeds::DiagnosticValueNeeds.didNumber
Mapping Rule Mapping Type
1:1 mapping full
Mapping Status Mapping ID
valid up_Dcm_00002
Template Description
DiagnosticIOControl.freezeCurrentState:
Setting this attribute to true represents the ability of the Dcm to execute a freezeCurrentState.
DiagnosticIoControlNeeds.freezeCurrentStateSupported:
This attribute determines, if the referenced port supports temporary freezing of I/O value.
M2 Parameter
DiagnosticExtract::Dcm::DiagnosticService::IOControl::DiagnosticIOControl.freezeCurrentState,
CommonStructure::ServiceNeeds::DiagnosticIoControlNeeds.freezeCurrentStateSupported
Mapping Rule Mapping Type
1:1 mapping full
Mapping Status Mapping ID
valid up_Dcm_00035
DiagnosticIoControlNeeds.resetToDefaultSupported:
This represents a flag for the existence of the ResetToDefault operation in the service interface.
M2 Parameter
DiagnosticExtract::Dcm::DiagnosticService::IOControl::DiagnosticIOControl.resetToDefault,
CommonStructure::ServiceNeeds::DiagnosticIoControlNeeds.resetToDefaultSupported
Mapping Rule Mapping Type
1:1 mapping full
Mapping Status Mapping ID
valid up_Dcm_00036
DiagnosticIoControlNeeds.shortTermAdjustmentSupported:
This attribute determines, if the referenced port supports temporarily setting of I/O value to a specific
value provided by the diagnostic tester.
M2 Parameter
DiagnosticExtract::Dcm::DiagnosticService::IOControl::DiagnosticIOControl.shortTermAdjustment,
CommonStructure::ServiceNeeds::DiagnosticIoControlNeeds.shortTermAdjustmentSupported
Mapping Rule Mapping Type
1:1 mapping full
DiagnosticDynamicDataIdentifier:
This meta-class represents the ability to define a diagnostic data identifier (DID) at run-time.
M2 Parameter
DiagnosticExtract::CommonDiagnostics::DiagnosticDataIdentifier,
DiagnosticExtract::CommonDiagnostics::DiagnosticDynamicDataIdentifier
Mapping Rule Mapping Type
true: in case the DiagnosticAbstractDataIdentifier for the DID value is aggre-
gated by DiagnosticDynamicDataIdentifier false: in case the DiagnosticAbstract full
DataIdentifier for the DID value is aggregated by DiagnosticDataIdentifier
Mapping Status Mapping ID
valid up_Dcm_00110
BSW Description
Defines the subfunction ID
Template Description
This represents the maximum number of source elements of the dynamically created DID.
M2 Parameter
DiagnosticExtract::Dcm::DiagnosticService::DynamicallyDefineDataIdentifier::DiagnosticDynami-
callyDefineDataIdentifier.maxSourceElement
Mapping Rule Mapping Type
1:1 mapping full
Mapping Status Mapping ID
valid up_Dcm_00107
BSW Description
Answer to EcuReset service should come before the reset.
Template Description
Answer to EcuReset service should come before the reset.
M2 Parameter
DiagnosticExtract::Dcm::DiagnosticService::EcuReset::DiagnosticResponseToEcuReset
Enum.respondBeforeReset
Mapping Rule Mapping Type
1:1 mapping full
Mapping Status Mapping ID
valid up_Dcm_00246
BSW Description
Value of the memory device identifier used.
Dcm/DcmConfigSet/DcmDsp/DcmDspMemory/DcmDspMemoryIdInfo/Dcm
Dcm
DspReadMemoryRangeByLabelInfo
BSW Parameter BSW Type
DcmDspReadMemoryRangeSecurityLevelRef EcucReferenceDef
BSW Description
Link to the Security Access Levels needed for read access on this memory address. If there is no
reference, no check of security level shall be done.
Template Description
This represents the associated DiagnosticSecurityLevels
M2 Parameter
DiagnosticExtract::Dcm::DiagnosticAccessPermission.securityLevel
Mapping Rule Mapping Type
DiagnosticMemoryIdentifier referenced in the role memoryRange is referenced
by a DiagnosticReadMemoryByAddress The accessPermission holds the secu- full
rity level information.
Mapping Status Mapping ID
valid up_Dcm_00120
M2 Parameter
DiagnosticExtract::Dcm::DiagnosticService::MemoryByAddress::DiagnosticMemoryIdenti-
fier.memoryLowAddress
Mapping Rule Mapping Type
1:1 mapping full
Mapping Status Mapping ID
valid up_Dcm_00127
min:
A negative value and zero is not allowed.
Template Description
DiagnosticPeriodicRate.period:
This represents the period of the DiagnosticPeriodicRate in seconds.
DiagnosticPeriodicRate.periodicRateCategory:
This attribute represents the category of the periodic rate.
M2 Parameter
DiagnosticExtract::Dcm::DiagnosticService::ReadDataByPeriodicID::DiagnosticPeriodicRate.period
DiagnosticExtract::Dcm::DiagnosticService::ReadDataByPeriodicID::DiagnosticPeriodic
Rate.periodicRateCategory
Mapping Rule Mapping Type
The parameter shall exist if DiagnosticPeriodicRate.periodicRateCategory is set
full
to DiagnosticPeriodicRateCategoryEnum.periodicRateFast.
Mapping Status Mapping ID
valid up_Dcm_00129
min:
A negative value and zero is not allowed.
Template Description
DiagnosticPeriodicRate.period:
This represents the period of the DiagnosticPeriodicRate in seconds.
DiagnosticPeriodicRate.periodicRateCategory:
This attribute represents the category of the periodic rate.
M2 Parameter
DiagnosticExtract::Dcm::DiagnosticService::ReadDataByPeriodicID::DiagnosticPeriodicRate.period
DiagnosticExtract::Dcm::DiagnosticService::ReadDataByPeriodicID::DiagnosticPeriodic
Rate.periodicRateCategory
Mapping Rule Mapping Type
The parameter shall exist if DiagnosticPeriodicRate.periodicRateCategory is set
full
to DiagnosticPeriodicRateCategoryEnum.periodicRateMedium.
Mapping Status Mapping ID
valid up_Dcm_00130
min:
A negative value and zero is not allowed.
Template Description
DiagnosticPeriodicRate.period:
This represents the period of the DiagnosticPeriodicRate in seconds.
DiagnosticPeriodicRate.periodicRateCategory:
This attribute represents the category of the periodic rate.
M2 Parameter
DiagnosticExtract::Dcm::DiagnosticService::ReadDataByPeriodicID::DiagnosticPeriodicRate.period
DiagnosticExtract::Dcm::DiagnosticService::ReadDataByPeriodicID::DiagnosticPeriodic
Rate.periodicRateCategory
Mapping Rule Mapping Type
The parameter shall exist if DiagnosticPeriodicRate.periodicRateCategory is set
full
to DiagnosticPeriodicRateCategoryEnum.periodicRateSlow.
Mapping Status Mapping ID
valid up_Dcm_00131
M2 Parameter
DiagnosticExtract::CommonDiagnostics::DiagnosticParameterIdentifier
Mapping Rule Mapping Type
1:1 mapping full
Mapping Status Mapping ID
valid
DiagnosticDataElement.maxNumberOfElements:
The existence of this attribute turns the data instance into an array of data. The attribute determines
the size of the array in terms of how many elements the array can take.
M2 Parameter
AsamHdo::BaseTypes::BaseTypeDirectDefinition.baseTypeSize,
DiagnosticExtract::CommonDiagnostics::DiagnosticDataElement.maxNumberOfElements
Mapping Rule Mapping Type
S/R via array:
DcmDspPidDataByteSize= maxNumberOfElements * (baseTypeSize / 8)
full
C/S of FNC callback:
DcmDspPidDataByteSize= maxNumberOfElements
Note: 8 is the baseTypeSize of UINT8
Mapping Status Mapping ID
valid up_Dcm_00285
DcmDspPidDataSupportInfoRef EcucReferenceDef
BSW Description
Reference to DcmDspPidSupportInfo
Template Description
This represents the supported information associated with the DiagnosticParameterIdentifier.
M2 Parameter
DiagnosticExtract::CommonDiagnostics::DiagnosticParameterIdentifier.supportInfoByte
Mapping Rule Mapping Type
Shall refer to the DiagnosticParameterIdentifier.supportInfoByte of the enclosing
full
DiagnosticParameterIdentifier
Mapping Status Mapping ID
valid
Note that this is still independent of the technical implementation in data types. It only speci-
fies the formula how the internal value corresponds to its physical pendant.
M2 Parameter
AsamHdo::ComputationMethod::CompuMethod
Mapping Rule Mapping Type
This mapping applies if the CompuMethod.category is set to values TEXTTABL
full
E or SCALE_LINEAR_AND_TEXTTABLE.
Mapping Status Mapping ID
valid up_Dcm_00097
M2 Parameter
AsamHdo::ComputationMethod::CompuConstTextContent.vt
Mapping Rule Mapping Type
1:1 mapping full
Mapping Status Mapping ID
valid up_Dcm_00098
CompuScale.upperLimit:
This specifies the upper limit of a of the scale.
M2 Parameter
AsamHdo::ComputationMethod::CompuScale.lowerLimit,
AsamHdo::ComputationMethod::CompuScale.upperLimit
Mapping Rule Mapping Type
1:1 mapping full
Mapping Status Mapping ID
valid up_Dcm_00099
BSW Description
Most significant byte shall be stored at the highest address
Template Description
This attribute specifies the byte order of the base type.
M2 Parameter
AsamHdo::BaseTypes::BaseTypeDirectDefinition.byteOrder
Mapping Rule Mapping Type
BaseTypeDirectDefinition.byteOrder ==ByteOrderEnum.mostSignificantByte
full
Last
Mapping Status Mapping ID
valid
BaseTypeDirectDefinition.baseTypeSize:
Describes the length of the data type specified in the container in bits.
M2 Parameter
AsamHdo::BaseTypes::BaseTypeDirectDefinition.baseTypeEncoding,
AsamHdo::BaseTypes::BaseTypeDirectDefinition.baseTypeSize
Mapping Rule Mapping Type
referenced by swDataDefProps of the DiagnosticParameter
with the role DiagnosticParameterIdentifier.dataElement
full
baseTypeEncoding = BOOLEAN
baseTypeSize = 1
Mapping Status Mapping ID
valid
BaseTypeDirectDefinition.baseTypeSize:
Describes the length of the data type specified in the container in bits.
M2 Parameter
AsamHdo::BaseTypes::BaseTypeDirectDefinition.baseTypeEncoding,
AsamHdo::BaseTypes::BaseTypeDirectDefinition.baseTypeSize
Mapping Rule Mapping Type
referenced by swDataDefProps of the DiagnosticParameter
with the role DiagnosticParameterIdentifier.dataElement
full
baseTypeEncoding = 2C
baseTypeSize = 16
Mapping Status Mapping ID
valid up_Dcm_00154
BaseTypeDirectDefinition.baseTypeEncoding:
This specifies, how an object of the current BaseType is encoded, e.g. in an ECU within a message
sequence.
DiagnosticDataElement.arraySizeSemantics:
This attribute controls the meaning of the value of the array size.
DiagnosticDataElement.maxNumberOfElements:
The existence of this attribute turns the data instance into an array of data. The attribute determines
the size of the array in terms of how many elements the array can take.
M2 Parameter
AsamHdo::BaseTypes::BaseTypeDirectDefinition.baseTypeSize,
AsamHdo::BaseTypes::BaseTypeDirectDefinition.baseTypeEncoding,
DiagnosticExtract::CommonDiagnostics::DiagnosticDataElement.arraySizeSemantics,
DiagnosticExtract::CommonDiagnostics::DiagnosticDataElement.maxNumberOfElements,
Mapping Rule Mapping Type
baseTypeEncoding = 2C
baseTypeSize = 16
maxNumberOfElements exists and value is greater than 0 (cf. TPS_DEXT
full
_01001)
arraySizeSemantics either does not exist or exists and is set to ArraySizeSe-
manticsEnum.fixedSize (cf. TPS_DEXT_01001)
Mapping Status Mapping ID
valid up_Dcm_00160
BaseTypeDirectDefinition.baseTypeSize:
Describes the length of the data type specified in the container in bits.
M2 Parameter
AsamHdo::BaseTypes::BaseTypeDirectDefinition.baseTypeEncoding,
AsamHdo::BaseTypes::BaseTypeDirectDefinition.baseTypeSize
BaseTypeDirectDefinition.baseTypeEncoding:
This specifies, how an object of the current BaseType is encoded, e.g. in an ECU within a message
sequence.
DiagnosticDataElement.arraySizeSemantics:
This attribute controls the meaning of the value of the array size.
DiagnosticDataElement.maxNumberOfElements:
The existence of this attribute turns the data instance into an array of data. The attribute determines
the size of the array in terms of how many elements the array can take.
M2 Parameter
AsamHdo::BaseTypes::BaseTypeDirectDefinition.baseTypeSize,
AsamHdo::BaseTypes::BaseTypeDirectDefinition.baseTypeEncoding,
DiagnosticExtract::CommonDiagnostics::DiagnosticDataElement.arraySizeSemantics,
DiagnosticExtract::CommonDiagnostics::DiagnosticDataElement.maxNumberOfElements,
Mapping Rule Mapping Type
baseTypeEncoding = 2C
baseTypeSize = 32
maxNumberOfElements exists and value is greater than 0 (cf. TPS_DEXT
full
_01001)
arraySizeSemantics either does not exist or exists and is set to ArraySizeSe-
manticsEnum.fixedSize (cf. TPS_DEXT_01001)
Mapping Status Mapping ID
valid up_Dcm_00166
Template Description
BaseTypeDirectDefinition.baseTypeEncoding:
This specifies, how an object of the current BaseType is encoded, e.g. in an ECU within a message
sequence.
BaseTypeDirectDefinition.baseTypeSize:
Describes the length of the data type specified in the container in bits.
M2 Parameter
AsamHdo::BaseTypes::BaseTypeDirectDefinition.baseTypeEncoding,
AsamHdo::BaseTypes::BaseTypeDirectDefinition.baseTypeSize
Mapping Rule Mapping Type
referenced by swDataDefProps of the DiagnosticParameter
with the role DiagnosticParameterIdentifier.dataElement
full
baseTypeEncoding = 2C
baseTypeSize = 8
Mapping Status Mapping ID
valid
BaseTypeDirectDefinition.baseTypeEncoding:
This specifies, how an object of the current BaseType is encoded, e.g. in an ECU within a message
sequence.
DiagnosticDataElement.arraySizeSemantics:
This attribute controls the meaning of the value of the array size.
DiagnosticDataElement.maxNumberOfElements:
The existence of this attribute turns the data instance into an array of data. The attribute determines
the size of the array in terms of how many elements the array can take.
M2 Parameter
AsamHdo::BaseTypes::BaseTypeDirectDefinition.baseTypeSize,
AsamHdo::BaseTypes::BaseTypeDirectDefinition.baseTypeEncoding,
DiagnosticExtract::CommonDiagnostics::DiagnosticDataElement.arraySizeSemantics,
DiagnosticExtract::CommonDiagnostics::DiagnosticDataElement.maxNumberOfElements,
Mapping Rule Mapping Type
baseTypeEncoding = 2C
baseTypeSize = 8
maxNumberOfElements exists and value is greater than 0 (cf. TPS_DEXT
full
_01001)
arraySizeSemantics either does not exist or exists and is set to ArraySizeSe-
manticsEnum.fixedSize (cf. TPS_DEXT_01001)
Mapping Status Mapping ID
valid up_Dcm_00153
BaseTypeDirectDefinition.baseTypeSize:
Describes the length of the data type specified in the container in bits.
M2 Parameter
AsamHdo::BaseTypes::BaseTypeDirectDefinition.baseTypeEncoding,
AsamHdo::BaseTypes::BaseTypeDirectDefinition.baseTypeSize
Mapping Rule Mapping Type
referenced by swDataDefProps of the DiagnosticParameter
with the role DiagnosticParameterIdentifier.dataElement
full
baseTypeEncoding = NONE, UTF-16
baseTypeSize = 16
Mapping Status Mapping ID
valid up_Dcm_00205
BaseTypeDirectDefinition.baseTypeSize:
Describes the length of the data type specified in the container in bits.
DiagnosticDataElement.arraySizeSemantics:
This attribute controls the meaning of the value of the array size.
DiagnosticDataElement.maxNumberOfElements:
The existence of this attribute turns the data instance into an array of data. The attribute determines
the size of the array in terms of how many elements the array can take.
M2 Parameter
AsamHdo::BaseTypes::BaseTypeDirectDefinition.baseTypeEncoding,
AsamHdo::BaseTypes::BaseTypeDirectDefinition.baseTypeSize,
DiagnosticExtract::CommonDiagnostics::DiagnosticDataElement.arraySizeSemantics,
DiagnosticExtract::CommonDiagnostics::DiagnosticDataElement.maxNumberOfElements,
Mapping Rule Mapping Type
baseTypeEncoding = NONE, UTF-16
baseTypeSize = 16
maxNumberOfElements exists and value is greater than 0 (cf. TPS_DEXT
full
_01001)
arraySizeSemantics either does not exist or exists and is set to ArraySizeSe-
manticsEnum.fixedSize (cf. TPS_DEXT_01001)
Mapping Status Mapping ID
valid up_Dcm_00132
BaseTypeDirectDefinition.baseTypeSize:
Describes the length of the data type specified in the container in bits.
M2 Parameter
AsamHdo::BaseTypes::BaseTypeDirectDefinition.baseTypeEncoding,
AsamHdo::BaseTypes::BaseTypeDirectDefinition.baseTypeSize
Mapping Rule Mapping Type
referenced by swDataDefProps of the DiagnosticParameter
with the role DiagnosticParameterIdentifier.dataElement
full
baseTypeEncoding = NONE, UTF-32
baseTypeSize = 32
Mapping Status Mapping ID
valid
BaseTypeDirectDefinition.baseTypeEncoding:
This specifies, how an object of the current BaseType is encoded, e.g. in an ECU within a message
sequence.
BaseTypeDirectDefinition.baseTypeSize:
Describes the length of the data type specified in the container in bits.
DiagnosticDataElement.arraySizeSemantics:
This attribute controls the meaning of the value of the array size.
DiagnosticDataElement.maxNumberOfElements:
The existence of this attribute turns the data instance into an array of data. The attribute determines
the size of the array in terms of how many elements the array can take.
M2 Parameter
AsamHdo::BaseTypes::BaseTypeDirectDefinition.baseTypeEncoding,
AsamHdo::BaseTypes::BaseTypeDirectDefinition.baseTypeSize,
DiagnosticExtract::CommonDiagnostics::DiagnosticDataElement.arraySizeSemantics,
DiagnosticExtract::CommonDiagnostics::DiagnosticDataElement.maxNumberOfElements,
Mapping Rule Mapping Type
baseTypeEncoding = NONE, UTF-32
baseTypeSize = 32
maxNumberOfElements exists and value is greater than 0 (cf. TPS_DEXT
full
_01001)
arraySizeSemantics either does not exist or exists and is set to ArraySizeSe-
manticsEnum.fixedSize (cf. TPS_DEXT_01001)
Mapping Status Mapping ID
valid up_Dcm_00133
BaseTypeDirectDefinition.baseTypeSize:
Describes the length of the data type specified in the container in bits.
M2 Parameter
AsamHdo::BaseTypes::BaseTypeDirectDefinition.baseTypeEncoding,
AsamHdo::BaseTypes::BaseTypeDirectDefinition.baseTypeSize
Mapping Rule Mapping Type
referenced by swDataDefProps of the DiagnosticParameter
with the role DiagnosticParameterIdentifier.dataElement
full
baseTypeEncoding = NONE, WINDOWS-1252, UTF-8, BCD-P, BCD-U
P
baseTypeSize = 8
Mapping Status Mapping ID
valid
BaseTypeDirectDefinition.baseTypeSize:
Describes the length of the data type specified in the container in bits.
DiagnosticDataElement.arraySizeSemantics:
This attribute controls the meaning of the value of the array size.
DiagnosticDataElement.maxNumberOfElements:
The existence of this attribute turns the data instance into an array of data. The attribute determines
the size of the array in terms of how many elements the array can take.
M2 Parameter
AsamHdo::BaseTypes::BaseTypeDirectDefinition.baseTypeEncoding,
AsamHdo::BaseTypes::BaseTypeDirectDefinition.baseTypeSize,
DiagnosticExtract::CommonDiagnostics::DiagnosticDataElement.arraySizeSemantics,
DiagnosticExtract::CommonDiagnostics::DiagnosticDataElement.maxNumberOfElements,
Mapping Rule Mapping Type
baseTypeEncoding = NONE, WINDOWS-1252, UTF-8, BCD-P, BCD-UP
baseTypeSize = 8
maxNumberOfElements exists and value is greater than 0 (cf. TPS_DEXT
full
_01002)
arraySizeSemantics exists and is set to ArraySizeSemanticsEnum.variableSize
(cf. TPS_DEXT_01002)
Mapping Status Mapping ID
valid up_Dcm_00134
BaseTypeDirectDefinition.baseTypeEncoding:
This specifies, how an object of the current BaseType is encoded, e.g. in an ECU within a message
sequence.
BaseTypeDirectDefinition.baseTypeSize:
Describes the length of the data type specified in the container in bits.
DiagnosticDataElement.arraySizeSemantics:
This attribute controls the meaning of the value of the array size.
DiagnosticDataElement.maxNumberOfElements:
The existence of this attribute turns the data instance into an array of data. The attribute determines
the size of the array in terms of how many elements the array can take.
M2 Parameter
AsamHdo::BaseTypes::BaseTypeDirectDefinition.baseTypeEncoding,
AsamHdo::BaseTypes::BaseTypeDirectDefinition.baseTypeSize,
DiagnosticExtract::CommonDiagnostics::DiagnosticDataElement.arraySizeSemantics,
DiagnosticExtract::CommonDiagnostics::DiagnosticDataElement.maxNumberOfElements,
Mapping Rule Mapping Type
baseTypeEncoding = NONE, WINDOWS-1252, UTF-8, BCD-P, BCD-UP
baseTypeSize = 8
maxNumberOfElements exists and value is greater than 0 (cf. TPS_DEXT
full
_01001)
arraySizeSemantics either does not exist or exists and is set to ArraySizeSe-
manticsEnum.fixedSize (cf. TPS_DEXT_01001)
Mapping Status Mapping ID
valid up_Dcm_00172
Template Description
This represents the ability to define a mapping of a diagnostic service to a software-component. This
kind of service mapping is applicable for the usage of SenderReceiverInterfaces.
M2 Parameter
DiagnosticExtract::ServiceMapping::DiagnosticServiceDataMapping
Mapping Rule Mapping Type
DiagnosticServiceDataMapping.diagnosticDataElement refers to a Diagnostic
DataElement that in turn is aggregated in the PID definition where the PortPro-
full
totype referenced in the role mappedDataElement.contextPort refers to a Data
Interface where attribute isService is set to false.
Mapping Status Mapping ID
valid up_Dcm_00256
USE_DATA_SENDER_RECEIVER_AS_SERVICE EcucEnumerationLiteralDef
BSW Description
Template Description
This represents the ability to define a mapping of a diagnostic service to a software-component. This
kind of service mapping is applicable for the usage of SenderReceiverInterfaces.
M2 Parameter
DiagnosticExtract::ServiceMapping::DiagnosticServiceDataMapping
Mapping Rule Mapping Type
DiagnosticServiceDataMapping.diagnosticDataElement refers to a Diagnostic
DataElement that in turn is aggregated in the PID definition where the PortPro-
full
totype referenced in the role mappedDataElement.contextPort refers to a Data
Interface where attribute isService is set to true.
Mapping Status Mapping ID
valid up_Dcm_00257
Template Description
This represents the ability to define a mapping of a diagnostic service to a software-component or a
basic-software module. If the former is used then this kind of service mapping is applicable for the
usage of ClientServerInterfaces.
M2 Parameter
DiagnosticExtract::ServiceMapping::DiagnosticServiceSwMapping
Mapping Rule Mapping Type
DiagnosticServiceSwMapping.diagnosticDataElement refers to a Diagnostic
DataElement that in turn is aggregated in the PID definition. DiagnosticService full
SwMapping.mappedSwcServiceDependency shall exist.
Mapping Status Mapping ID
valid up_Dcm_00255
Template Description
This represents the ability to define a mapping of a diagnostic service to a software-component or a
basic-software module. If the former is used then this kind of service mapping is applicable for the
usage of ClientServerInterfaces.
M2 Parameter
DiagnosticExtract::ServiceMapping::DiagnosticServiceSwMapping
Mapping Rule Mapping Type
Template Description
ObdPidServiceNeeds.parameterId:
Standardized parameter identifier (PID) according to the OBD standard specified in attribute
"standard".
DiagnosticParameterIdentifier.id:
This is the numerical identifier used to identify the DiagnosticParameterIdentifier in the scope of
diagnostic workflow (see SAE J1979-DA).
M2 Parameter
CommonStructure::ServiceNeeds::ObdPidServiceNeeds.parameterId,
DiagnosticExtract::CommonDiagnostics::DiagnosticParameterIdentifier.id
Mapping Rule Mapping Type
1:1 mapping full
Mapping Status Mapping ID
valid up_Dcm_00028
DiagnosticPowertrainFreezeFrame.pid:
This represents the PID associated with this instance of the OBD mode 0x02 service.
M2 Parameter
DiagnosticExtract::Dcm::ObdService::Mode_0x01_RequestCurrentPowertrainDiagnosticData::Di-
agnosticRequestCurrentPowertrainData.pid,
DiagnosticExtract::Dcm::ObdService::Mode_0x02_RequestPowertrainFreezeFrameData::Diagnos-
ticPowertrainFreezeFrame.pid
Mapping Rule Mapping Type
DiagnosticTestRoutineIdentifier.id:
This represents the numerical id of the DiagnosticTestIdentifier (see SAE J1979-DA).
M2 Parameter
CommonStructure::ServiceNeeds::ObdControlServiceNeeds.testId,
DiagnosticExtract::Dcm::ObdService::Mode_0x08_RequestControlOfOnBoardDevice::Diagnostic
TestRoutineIdentifier.id
Mapping Rule Mapping Type
The value shall be taken from DiagnosticRequestControlOfOnBoardDevice.test
full
Id.id if available.
Mapping Status Mapping ID
valid up_Dcm_00030
Template Description
This attribute represents the ability to define a status mask for the triggering of an ROE response on
the change of a DTC.
M2 Parameter
DiagnosticExtract::Dcm::DiagnosticService::ResponseOnEvent::DiagnosticDtcChangeTrigger.dtc
StatusMask
Mapping Rule Mapping Type
1:1 mapping full
Mapping Status Mapping ID
valid up_Dcm_00295
Template Description
This means that the ResponseOnEvent is initially cleared.
M2 Parameter
DiagnosticExtract::Dcm::DiagnosticService::ResponseOnEvent::DiagnosticInitialEventStatus
Enum.returnOnEventCleared
Mapping Rule Mapping Type
1:1 mapping full
Mapping Status Mapping ID
valid up_Dcm_00138
Template Description
This means that the ResponseOnEvent is initially stopped.
M2 Parameter
DiagnosticExtract::Dcm::DiagnosticService::ResponseOnEvent::DiagnosticInitialEventStatus
Enum.returnOnEventStopped
Mapping Rule Mapping Type
1:1 mapping full
Mapping Status Mapping ID
valid up_Dcm_00139
This container contains a sub-set of EventWindowTimes supported by the Dcm, to limit the
Ecu resources.
Template Description
This attribute clarifies the validity of the eventWindow
M2 Parameter
DiagnosticExtract::Dcm::DiagnosticService::ResponseOnEvent::DiagnosticEventWindow.event
WindowTime
Mapping Rule Mapping Type
1:1 mapping full
Mapping Status Mapping ID
valid up_Dcm_00140
Template Description
This means that the window extends to this and the following cycle.
M2 Parameter
DiagnosticExtract::Dcm::DiagnosticService::ResponseOnEvent::DiagnosticEventWindowTime
Enum.eventWindowCurrentAndFollowingCycle
Mapping Rule Mapping Type
1:1 mapping full
Mapping Status Mapping ID
valid up_Dcm_00141
Template Description
This means that the window is limited to the current cycle.
M2 Parameter
DiagnosticExtract::Dcm::DiagnosticService::ResponseOnEvent::DiagnosticEventWindowTime
Enum.eventWindowCurrentCycle
Mapping Rule Mapping Type
1:1 mapping full
Mapping Status Mapping ID
valid up_Dcm_00142
Template Description
This means that the window extents without a border.
M2 Parameter
DiagnosticExtract::Dcm::DiagnosticService::ResponseOnEvent::DiagnosticEventWindowTime
Enum.eventWindowInfinite
Mapping Rule Mapping Type
1:1 mapping full
Mapping Status Mapping ID
valid up_Dcm_00143
Dcm Dcm/DcmConfigSet/DcmDsp/DcmDspRoe
BSW Parameter BSW Type
DcmDspRoeInterMessageTime EcucFloatParamDef
BSW Description
Provide the minimum time in seconds between two transmissions of ROE event. It is used for the
delay between two different consecutive Roe transmissions.
Template Description
Provide the minimum time in seconds between two consecutive transmissions of an ROE event.
M2 Parameter
DiagnosticExtract::Dcm::DiagnosticService::ResponseOnEvent::DiagnosticResponseOnEvent
Class.interMessageTime
Mapping Rule Mapping Type
1:1 mapping full
Mapping Status Mapping ID
valid up_Dcm_00145
DiagnosticRoutineNeeds.diagRoutineType:
This denotes the type of diagnostic routine which is implemented by the referenced server port.
M2 Parameter
DiagnosticExtract::CommonDiagnostics::DiagnosticRoutine.requestResult,
CommonStructure::ServiceNeeds::DiagnosticRoutineNeeds.diagRoutineType
Mapping Rule Mapping Type
OR full
DiagnosticRoutineNeeds.diagRoutineTyoe == asynchronous
Mapping Status Mapping ID
valid up_Dcm_00026
The ordering defined via the index attribute of the subcontainers in this list represents the
order of the dataOutN elements in the XXX_RequestResult function call.
Template Description
This represents the related dataElement of the DiagnosticParameter
M2 Parameter
DiagnosticExtract::CommonDiagnostics::DiagnosticParameter.dataElement
Mapping Rule Mapping Type
1:1 mapping full
Mapping Status Mapping ID
valid up_Dcm_00149
Note that this is still independent of the technical implementation in data types. It only speci-
fies the formula how the internal value corresponds to its physical pendant.
M2 Parameter
AsamHdo::ComputationMethod::CompuMethod
Mapping Rule Mapping Type
This mapping applies if the CompuMethod.category is set to values TEXTTABL
full
E or SCALE_LINEAR_AND_TEXTTABLE.
Mapping Status Mapping ID
valid up_Dcm_00097
Template Description
This represents a textual constant in the computation method.
M2 Parameter
AsamHdo::ComputationMethod::CompuConstTextContent.vt
Mapping Rule Mapping Type
1:1 mapping full
Mapping Status Mapping ID
valid up_Dcm_00098
CompuScale.upperLimit:
This specifies the upper limit of a of the scale.
M2 Parameter
AsamHdo::ComputationMethod::CompuScale.lowerLimit,
AsamHdo::ComputationMethod::CompuScale.upperLimit
Mapping Rule Mapping Type
1:1 mapping full
Mapping Status Mapping ID
valid up_Dcm_00099
BaseTypeDirectDefinition.baseTypeSize:
Describes the length of the data type specified in the container in bits.
M2 Parameter
AsamHdo::BaseTypes::BaseTypeDirectDefinition.baseTypeEncoding,
AsamHdo::BaseTypes::BaseTypeDirectDefinition.baseTypeSize
Mapping Rule Mapping Type
referenced by swDataDefProps of the DiagnosticParameter
with the role DiagnosticRequestRoutineResults.response
full
baseTypeEncoding = BOOLEAN
baseTypeSize = 1
Mapping Status Mapping ID
valid up_Dcm_00199
BaseTypeDirectDefinition.baseTypeSize:
Describes the length of the data type specified in the container in bits.
M2 Parameter
AsamHdo::BaseTypes::BaseTypeDirectDefinition.baseTypeEncoding,
AsamHdo::BaseTypes::BaseTypeDirectDefinition.baseTypeSize
Mapping Rule Mapping Type
referenced by swDataDefProps of the DiagnosticParameter
with the role DiagnosticRequestRoutineResults.response
full
baseTypeEncoding = 2C
baseTypeSize = 16
Mapping Status Mapping ID
valid up_Dcm_00156
BaseTypeDirectDefinition.baseTypeEncoding:
This specifies, how an object of the current BaseType is encoded, e.g. in an ECU within a message
sequence.
BaseTypeDirectDefinition.baseTypeSize:
Describes the length of the data type specified in the container in bits.
DiagnosticDataElement.maxNumberOfElements:
The existence of this attribute turns the data instance into an array of data. The attribute determines
the size of the array in terms of how many elements the array can take.
DiagnosticDataElement.arraySizeSemantics:
This attribute controls the meaning of the value of the array size.
M2 Parameter
AsamHdo::BaseTypes::BaseTypeDirectDefinition.baseTypeEncoding,
AsamHdo::BaseTypes::BaseTypeDirectDefinition.baseTypeSize,
DiagnosticExtract::CommonDiagnostics::DiagnosticDataElement.maxNumberOfElements,
DiagnosticExtract::CommonDiagnostics::DiagnosticDataElement.arraySizeSemantics
Mapping Rule Mapping Type
referenced by swDataDefProps of the DiagnosticParameter
with the role DiagnosticRequestRoutineResults.response
baseTypeEncoding = 2C
baseTypeSize = 16 full
maxNumberOfElements exists and value is greater than 0 (cf. TPS_DEXT
_01001)
arraySizeSemantics either does not exist or exists and is set to ArraySize
SemanticsEnum.fixedSize (cf. TPS_DEXT_01001)
Mapping Status Mapping ID
valid up_Dcm_00156
BaseTypeDirectDefinition.baseTypeSize:
Describes the length of the data type specified in the container in bits.
M2 Parameter
AsamHdo::BaseTypes::BaseTypeDirectDefinition.baseTypeEncoding,
AsamHdo::BaseTypes::BaseTypeDirectDefinition.baseTypeSize
Mapping Rule Mapping Type
BaseTypeDirectDefinition.baseTypeSize:
Describes the length of the data type specified in the container in bits.
DiagnosticDataElement.maxNumberOfElements:
The existence of this attribute turns the data instance into an array of data. The attribute determines
the size of the array in terms of how many elements the array can take.
DiagnosticDataElement.arraySizeSemantics:
This attribute controls the meaning of the value of the array size.
M2 Parameter
AsamHdo::BaseTypes::BaseTypeDirectDefinition.baseTypeEncoding,
AsamHdo::BaseTypes::BaseTypeDirectDefinition.baseTypeSize,
DiagnosticExtract::CommonDiagnostics::DiagnosticDataElement.maxNumberOfElements,
DiagnosticExtract::CommonDiagnostics::DiagnosticDataElement.arraySizeSemantics
Mapping Rule Mapping Type
referenced by swDataDefProps of the DiagnosticParameter
with the role DiagnosticRequestRoutineResults.response
baseTypeEncoding = 2C
baseTypeSize = 32 full
maxNumberOfElements exists and value is greater than 0 (cf. TPS_DEXT
_01001)
arraySizeSemantics either does not exist or exists and is set to ArraySize
SemanticsEnum.fixedSize (cf. TPS_DEXT_01001)
Mapping Status Mapping ID
valid up_Dcm_00163
BaseTypeDirectDefinition.baseTypeSize:
Describes the length of the data type specified in the container in bits.
M2 Parameter
AsamHdo::BaseTypes::BaseTypeDirectDefinition.baseTypeEncoding,
AsamHdo::BaseTypes::BaseTypeDirectDefinition.baseTypeSize
Mapping Rule Mapping Type
referenced by swDataDefProps of the DiagnosticParameter
with the role DiagnosticRequestRoutineResults.response
full
baseTypeEncoding = 2C
baseTypeSize = 8
Mapping Status Mapping ID
valid up_Dcm_00201
BaseTypeDirectDefinition.baseTypeSize:
Describes the length of the data type specified in the container in bits.
DiagnosticDataElement.maxNumberOfElements:
The existence of this attribute turns the data instance into an array of data. The attribute determines
the size of the array in terms of how many elements the array can take.
DiagnosticDataElement.arraySizeSemantics:
This attribute controls the meaning of the value of the array size.
M2 Parameter
AsamHdo::BaseTypes::BaseTypeDirectDefinition.baseTypeEncoding,
AsamHdo::BaseTypes::BaseTypeDirectDefinition.baseTypeSize,
DiagnosticExtract::CommonDiagnostics::DiagnosticDataElement.maxNumberOfElements,
DiagnosticExtract::CommonDiagnostics::DiagnosticDataElement.arraySizeSemantics
Mapping Rule Mapping Type
baseTypeEncoding = 2C
baseTypeSize = 8 full
maxNumberOfElements exists and value is greater than 0 (cf. TPS_DEXT
_01001)
arraySizeSemantics either does not exist or exists and is set to ArraySize
SemanticsEnum.fixedSize (cf. TPS_DEXT_01001)
Mapping Status Mapping ID
valid up_Dcm_00201
BaseTypeDirectDefinition.baseTypeSize:
Describes the length of the data type specified in the container in bits.
M2 Parameter
AsamHdo::BaseTypes::BaseTypeDirectDefinition.baseTypeEncoding,
AsamHdo::BaseTypes::BaseTypeDirectDefinition.baseTypeSize
Mapping Rule Mapping Type
referenced by swDataDefProps of the DiagnosticParameter
with the role DiagnosticRequestRoutineResults.response
full
baseTypeEncoding = NONE, UTF-16
baseTypeSize = 16
Mapping Status Mapping ID
valid up_Dcm_00207
BaseTypeDirectDefinition.baseTypeEncoding:
This specifies, how an object of the current BaseType is encoded, e.g. in an ECU within a message
sequence.
BaseTypeDirectDefinition.baseTypeSize:
Describes the length of the data type specified in the container in bits.
DiagnosticDataElement.arraySizeSemantics:
This attribute controls the meaning of the value of the array size.
DiagnosticDataElement.maxNumberOfElements:
The existence of this attribute turns the data instance into an array of data. The attribute determines
the size of the array in terms of how many elements the array can take.
M2 Parameter
AsamHdo::BaseTypes::BaseTypeDirectDefinition.baseTypeEncoding,
AsamHdo::BaseTypes::BaseTypeDirectDefinition.baseTypeSize,
DiagnosticExtract::CommonDiagnostics::DiagnosticDataElement.arraySizeSemantics,
DiagnosticExtract::CommonDiagnostics::DiagnosticDataElement.maxNumberOfElements
Mapping Rule Mapping Type
referenced by swDataDefProps of the DiagnosticParameter
with the role DiagnosticRequestRoutineResults.response
BaseTypeDirectDefinition.baseTypeSize:
Describes the length of the data type specified in the container in bits.
M2 Parameter
AsamHdo::BaseTypes::BaseTypeDirectDefinition.baseTypeEncoding,
AsamHdo::BaseTypes::BaseTypeDirectDefinition.baseTypeSize
Mapping Rule Mapping Type
BaseTypeDirectDefinition.baseTypeSize:
Describes the length of the data type specified in the container in bits.
DiagnosticDataElement.arraySizeSemantics:
This attribute controls the meaning of the value of the array size.
DiagnosticDataElement.maxNumberOfElements:
The existence of this attribute turns the data instance into an array of data. The attribute determines
the size of the array in terms of how many elements the array can take.
M2 Parameter
AsamHdo::BaseTypes::BaseTypeDirectDefinition.baseTypeEncoding,
AsamHdo::BaseTypes::BaseTypeDirectDefinition.baseTypeSize,
DiagnosticExtract::CommonDiagnostics::DiagnosticDataElement.arraySizeSemantics,
DiagnosticExtract::CommonDiagnostics::DiagnosticDataElement.maxNumberOfElements
Mapping Rule Mapping Type
referenced by swDataDefProps of the DiagnosticParameter
with the role DiagnosticRequestRoutineResults.response
BaseTypeDirectDefinition.baseTypeSize:
Describes the length of the data type specified in the container in bits.
M2 Parameter
AsamHdo::BaseTypes::BaseTypeDirectDefinition.baseTypeEncoding,
AsamHdo::BaseTypes::BaseTypeDirectDefinition.baseTypeSize
Mapping Rule Mapping Type
referenced by swDataDefProps of the DiagnosticParameter
with the role DiagnosticRequestRoutineResults.response
full
baseTypeEncoding = NONE, WINDOWS-1252, UTF-8, BCD-P, BCD-U
P
baseTypeSize = 8
Mapping Status Mapping ID
valid up_Dcm_00167
BaseTypeDirectDefinition.baseTypeSize:
Describes the length of the data type specified in the container in bits.
DiagnosticDataElement.arraySizeSemantics:
This attribute controls the meaning of the value of the array size.
DiagnosticDataElement.maxNumberOfElements:
The existence of this attribute turns the data instance into an array of data. The attribute determines
the size of the array in terms of how many elements the array can take.
M2 Parameter
AsamHdo::BaseTypes::BaseTypeDirectDefinition.baseTypeEncoding,
AsamHdo::BaseTypes::BaseTypeDirectDefinition.baseTypeSize,
DiagnosticExtract::CommonDiagnostics::DiagnosticDataElement.arraySizeSemantics,
DiagnosticExtract::CommonDiagnostics::DiagnosticDataElement.maxNumberOfElements
Mapping Rule Mapping Type
This is only valid for the last signal and when DcmDspRoutineSignalType is set to VARI-
ABLE_LENGTH.
Template Description
BaseTypeDirectDefinition.baseTypeEncoding:
This specifies, how an object of the current BaseType is encoded, e.g. in an ECU within a message
sequence.
BaseTypeDirectDefinition.baseTypeSize:
Describes the length of the data type specified in the container in bits.
DiagnosticDataElement.maxNumberOfElements:
The existence of this attribute turns the data instance into an array of data. The attribute determines
the size of the array in terms of how many elements the array can take.
DiagnosticDataElement.arraySizeSemantics:
This attribute controls the meaning of the value of the array size.
M2 Parameter
AsamHdo::BaseTypes::BaseTypeDirectDefinition.baseTypeEncoding,
AsamHdo::BaseTypes::BaseTypeDirectDefinition.baseTypeSize,
DiagnosticExtract::CommonDiagnostics::DiagnosticDataElement.maxNumberOfElements,
DiagnosticExtract::CommonDiagnostics::DiagnosticDataElement.arraySizeSemantics
Mapping Rule Mapping Type
referenced by swDataDefProps of the DiagnosticParameter
with the role DiagnosticRequestRoutineResults.response
baseTypeEncoding = NONE
baseTypeSize = 8
full
arraySizeSemantics = variableSize
maxNumberOfElements exists and value is greater than 0 (cf. TPS_DEXT
_01002)
arraySizeSemantics exists and is set to ArraySizeSemanticsEnum.variableSize
(cf. TPS_DEXT_01002)
DiagnosticRoutineNeeds.ridNumber:
This represents a routine identifier for the diagnostic routine.
This allows to predefine the RID number if the a function developer has received a particular
requirement from the OEM or from a standardization body.
M2 Parameter
DiagnosticExtract::CommonDiagnostics::DiagnosticRoutine.id,
CommonStructure::ServiceNeeds::DiagnosticRoutineNeeds.ridNumber
Mapping Rule Mapping Type
1:1 mapping full
Mapping Status Mapping ID
valid up_Dcm_00003
valid up_Dcm_00174
DiagnosticRoutineNeeds:
Specifies the general needs on the configuration of the Diagnostic Communication Manager (Dcm)
which are not related to a particular item (e.g. a PID). The main use case is the mapping of service
ports to the Dcm which are not related to a particular item.
M2 Parameter
DiagnosticExtract::CommonDiagnostics::DiagnosticRoutine.start,
CommonStructure::ServiceNeeds::DiagnosticRoutineNeeds
Mapping Rule Mapping Type
A routine always comes with a start routine, independently of whether the exe-
full
cution is done synchronously or asynchronously.
Mapping Status Mapping ID
valid up_Dcm_00024
Template Description
This represents the request parameters.
M2 Parameter
DiagnosticExtract::CommonDiagnostics::DiagnosticStartRoutine.request
Mapping Rule Mapping Type
1:1 mapping full
Mapping Status Mapping ID
valid up_Dcm_00176
The ordering defined via the index attribute of the subcontainers in this list represents the
order of the dataInN elements in the XXX_Start function call.
Template Description
This represents the related dataElement of the DiagnosticParameter
M2 Parameter
DiagnosticExtract::CommonDiagnostics::DiagnosticParameter.dataElement
Mapping Rule Mapping Type
1:1 mapping full
Mapping Status Mapping ID
valid up_Dcm_00177
Note that this is still independent of the technical implementation in data types. It only speci-
fies the formula how the internal value corresponds to its physical pendant.
M2 Parameter
AsamHdo::ComputationMethod::CompuMethod
CompuScale.upperLimit:
This specifies the upper limit of a of the scale.
M2 Parameter
AsamHdo::ComputationMethod::CompuScale.lowerLimit,
AsamHdo::ComputationMethod::CompuScale.upperLimit
Mapping Rule Mapping Type
1:1 mapping full
Mapping Status Mapping ID
valid up_Dcm_00099
BOOLEAN EcucEnumerationLiteralDef
BSW Description
Type of the signal is boolean.
Template Description
BaseTypeDirectDefinition.baseTypeEncoding:
This specifies, how an object of the current BaseType is encoded, e.g. in an ECU within a message
sequence.
BaseTypeDirectDefinition.baseTypeSize:
Describes the length of the data type specified in the container in bits.
M2 Parameter
AsamHdo::BaseTypes::BaseTypeDirectDefinition.baseTypeEncoding,
AsamHdo::BaseTypes::BaseTypeDirectDefinition.baseTypeSize
Mapping Rule Mapping Type
referenced by swDataDefProps of the DiagnosticParameter
with the role DiagnosticStartRoutine.request
full
baseTypeEncoding = BOOLEAN
baseTypeSize = 1
Mapping Status Mapping ID
valid up_Dcm_00196
BaseTypeDirectDefinition.baseTypeSize:
Describes the length of the data type specified in the container in bits.
M2 Parameter
AsamHdo::BaseTypes::BaseTypeDirectDefinition.baseTypeEncoding,
AsamHdo::BaseTypes::BaseTypeDirectDefinition.baseTypeSize
Mapping Rule Mapping Type
referenced by swDataDefProps of the DiagnosticParameter
with the role DiagnosticStartRoutine.request
full
baseTypeEncoding = 2C
baseTypeSize = 16
Mapping Status Mapping ID
valid up_Dcm_00155
SINT16_N EcucEnumerationLiteralDef
BSW Description
Type of the signal is sint16 array.
Template Description
BaseTypeDirectDefinition.baseTypeEncoding:
This specifies, how an object of the current BaseType is encoded, e.g. in an ECU within a message
sequence.
BaseTypeDirectDefinition.baseTypeSize:
Describes the length of the data type specified in the container in bits.
DiagnosticDataElement.maxNumberOfElements:
The existence of this attribute turns the data instance into an array of data. The attribute determines
the size of the array in terms of how many elements the array can take.
DiagnosticDataElement.arraySizeSemantics:
This attribute controls the meaning of the value of the array size.
M2 Parameter
AsamHdo::BaseTypes::BaseTypeDirectDefinition.baseTypeEncoding,
AsamHdo::BaseTypes::BaseTypeDirectDefinition.baseTypeSize,
DiagnosticExtract::CommonDiagnostics::DiagnosticDataElement.maxNumberOfElements,
DiagnosticExtract::CommonDiagnostics::DiagnosticDataElement.arraySizeSemantics
Mapping Rule Mapping Type
referenced by swDataDefProps of the DiagnosticParameter
with the role DiagnosticStartRoutine.request
baseTypeEncoding = 2C
baseTypeSize = 16 full
maxNumberOfElements exists and value is greater than 0 (cf. TPS_DEXT
_01001)
arraySizeSemantics either does not exist or exists and is set to ArraySize
SemanticsEnum.fixedSize (cf. TPS_DEXT_01001)
Mapping Status Mapping ID
valid up_Dcm_00155
BaseTypeDirectDefinition.baseTypeSize:
Describes the length of the data type specified in the container in bits.
M2 Parameter
AsamHdo::BaseTypes::BaseTypeDirectDefinition.baseTypeEncoding,
AsamHdo::BaseTypes::BaseTypeDirectDefinition.baseTypeSize
Mapping Rule Mapping Type
BaseTypeDirectDefinition.baseTypeSize:
Describes the length of the data type specified in the container in bits.
DiagnosticDataElement.maxNumberOfElements:
The existence of this attribute turns the data instance into an array of data. The attribute determines
the size of the array in terms of how many elements the array can take.
DiagnosticDataElement.arraySizeSemantics:
This attribute controls the meaning of the value of the array size.
M2 Parameter
AsamHdo::BaseTypes::BaseTypeDirectDefinition.baseTypeEncoding,
AsamHdo::BaseTypes::BaseTypeDirectDefinition.baseTypeSize,
DiagnosticExtract::CommonDiagnostics::DiagnosticDataElement.maxNumberOfElements,
DiagnosticExtract::CommonDiagnostics::DiagnosticDataElement.arraySizeSemantics
Mapping Rule Mapping Type
referenced by swDataDefProps of the DiagnosticParameter
with the role DiagnosticStartRoutine.request
baseTypeEncoding = 2C
baseTypeSize = 32 full
maxNumberOfElements exists and value is greater than 0 (cf. TPS_DEXT
_01001)
arraySizeSemantics either does not exist or exists and is set to ArraySize
SemanticsEnum.fixedSize (cf. TPS_DEXT_01001)
Mapping Status Mapping ID
valid up_Dcm_00164
BSW Description
Type of the signal is sint8.
Template Description
BaseTypeDirectDefinition.baseTypeEncoding:
This specifies, how an object of the current BaseType is encoded, e.g. in an ECU within a message
sequence.
BaseTypeDirectDefinition.baseTypeSize:
Describes the length of the data type specified in the container in bits.
M2 Parameter
AsamHdo::BaseTypes::BaseTypeDirectDefinition.baseTypeEncoding,
AsamHdo::BaseTypes::BaseTypeDirectDefinition.baseTypeSize
Mapping Rule Mapping Type
referenced by swDataDefProps of the DiagnosticParameter
with the role DiagnosticStartRoutine.request
full
baseTypeEncoding = 2C
baseTypeSize = 8
Mapping Status Mapping ID
valid up_Dcm_00200
BaseTypeDirectDefinition.baseTypeSize:
Describes the length of the data type specified in the container in bits.
DiagnosticDataElement.maxNumberOfElements:
The existence of this attribute turns the data instance into an array of data. The attribute determines
the size of the array in terms of how many elements the array can take.
DiagnosticDataElement.arraySizeSemantics:
This attribute controls the meaning of the value of the array size.
M2 Parameter
AsamHdo::BaseTypes::BaseTypeDirectDefinition.baseTypeEncoding,
AsamHdo::BaseTypes::BaseTypeDirectDefinition.baseTypeSize,
DiagnosticExtract::CommonDiagnostics::DiagnosticDataElement.maxNumberOfElements,
DiagnosticExtract::CommonDiagnostics::DiagnosticDataElement.arraySizeSemantics
Mapping Rule Mapping Type
baseTypeEncoding = 2C
baseTypeSize = 8 full
maxNumberOfElements exists and value is greater than 0 (cf. TPS_DEXT
_01001)
arraySizeSemantics either doesnot exist or exists and is set to ArraySize
SemanticsEnum.fixedSize (cf. TPS_DEXT_01001)
Mapping Status Mapping ID
valid up_Dcm_00200
BaseTypeDirectDefinition.baseTypeSize:
Describes the length of the data type specified in the container in bits.
M2 Parameter
AsamHdo::BaseTypes::BaseTypeDirectDefinition.baseTypeEncoding,
AsamHdo::BaseTypes::BaseTypeDirectDefinition.baseTypeSize
Mapping Rule Mapping Type
referenced by swDataDefProps of the DiagnosticParameter
with the role DiagnosticStartRoutine.request
full
baseTypeEncoding = NONE, UTF-16
baseTypeSize = 16
Mapping Status Mapping ID
valid up_Dcm_00204
BaseTypeDirectDefinition.baseTypeEncoding:
This specifies, how an object of the current BaseType is encoded, e.g. in an ECU within a message
sequence.
BaseTypeDirectDefinition.baseTypeSize:
Describes the length of the data type specified in the container in bits.
DiagnosticDataElement.arraySizeSemantics:
This attribute controls the meaning of the value of the array size.
DiagnosticDataElement.maxNumberOfElements:
The existence of this attribute turns the data instance into an array of data. The attribute determines
the size of the array in terms of how many elements the array can take.
M2 Parameter
AsamHdo::BaseTypes::BaseTypeDirectDefinition.baseTypeEncoding,
AsamHdo::BaseTypes::BaseTypeDirectDefinition.baseTypeSize,
DiagnosticExtract::CommonDiagnostics::DiagnosticDataElement.arraySizeSemantics,
DiagnosticExtract::CommonDiagnostics::DiagnosticDataElement.maxNumberOfElements
Mapping Rule Mapping Type
referenced by swDataDefProps of the DiagnosticParameter
with the role DiagnosticStartRoutine.request
BaseTypeDirectDefinition.baseTypeSize:
Describes the length of the data type specified in the container in bits.
M2 Parameter
AsamHdo::BaseTypes::BaseTypeDirectDefinition.baseTypeEncoding,
AsamHdo::BaseTypes::BaseTypeDirectDefinition.baseTypeSize
Mapping Rule Mapping Type
referenced by swDataDefProps of the DiagnosticParameter
with the role DiagnosticStartRoutine.request
full
baseTypeEncoding = NONE, UTF-32
baseTypeSize = 32
BaseTypeDirectDefinition.baseTypeSize:
Describes the length of the data type specified in the container in bits.
DiagnosticDataElement.arraySizeSemantics:
This attribute controls the meaning of the value of the array size.
DiagnosticDataElement.maxNumberOfElements:
The existence of this attribute turns the data instance into an array of data. The attribute determines
the size of the array in terms of how many elements the array can take.
M2 Parameter
AsamHdo::BaseTypes::BaseTypeDirectDefinition.baseTypeEncoding,
AsamHdo::BaseTypes::BaseTypeDirectDefinition.baseTypeSize,
DiagnosticExtract::CommonDiagnostics::DiagnosticDataElement.arraySizeSemantics,
DiagnosticExtract::CommonDiagnostics::DiagnosticDataElement.maxNumberOfElements
Mapping Rule Mapping Type
referenced by swDataDefProps of the DiagnosticParameter
with the role DiagnosticStartRoutine.request
BaseTypeDirectDefinition.baseTypeEncoding:
This specifies, how an object of the current BaseType is encoded, e.g. in an ECU within a message
sequence.
BaseTypeDirectDefinition.baseTypeSize:
Describes the length of the data type specified in the container in bits.
M2 Parameter
AsamHdo::BaseTypes::BaseTypeDirectDefinition.baseTypeEncoding,
AsamHdo::BaseTypes::BaseTypeDirectDefinition.baseTypeSize
Mapping Rule Mapping Type
referenced by swDataDefProps of the DiagnosticParameter
with the role DiagnosticStartRoutine.request
full
baseTypeEncoding = NONE, WINDOWS-1252, UTF-8, BCD-P, BCD-U
P
baseTypeSize = 8
Mapping Status Mapping ID
valid up_Dcm_00169
BaseTypeDirectDefinition.baseTypeSize:
Describes the length of the data type specified in the container in bits.
DiagnosticDataElement.arraySizeSemantics:
This attribute controls the meaning of the value of the array size.
DiagnosticDataElement.maxNumberOfElements:
The existence of this attribute turns the data instance into an array of data. The attribute determines
the size of the array in terms of how many elements the array can take.
M2 Parameter
AsamHdo::BaseTypes::BaseTypeDirectDefinition.baseTypeEncoding,
AsamHdo::BaseTypes::BaseTypeDirectDefinition.baseTypeSize,
DiagnosticExtract::CommonDiagnostics::DiagnosticDataElement.arraySizeSemantics,
DiagnosticExtract::CommonDiagnostics::DiagnosticDataElement.maxNumberOfElements
Mapping Rule Mapping Type
This is only valid for the last signal and when DcmDspRoutineSignalType is set to VARI-
ABLE_LENGTH.
Template Description
BaseTypeDirectDefinition.baseTypeEncoding:
This specifies, how an object of the current BaseType is encoded, e.g. in an ECU within a message
sequence.
BaseTypeDirectDefinition.baseTypeSize:
Describes the length of the data type specified in the container in bits.
DiagnosticDataElement.arraySizeSemantics:
This attribute controls the meaning of the value of the array size.
DiagnosticDataElement.maxNumberOfElements:
The existence of this attribute turns the data instance into an array of data. The attribute determines
the size of the array in terms of how many elements the array can take.
M2 Parameter
AsamHdo::BaseTypes::BaseTypeDirectDefinition.baseTypeEncoding,
AsamHdo::BaseTypes::BaseTypeDirectDefinition.baseTypeSize,
DiagnosticExtract::CommonDiagnostics::DiagnosticDataElement.arraySizeSemantics,
DiagnosticExtract::CommonDiagnostics::DiagnosticDataElement.maxNumberOfElements
Mapping Rule Mapping Type
referenced by swDataDefProps of the DiagnosticParameter
with the role DiagnosticStartRoutine.request
baseTypeEncoding = NONE
baseTypeSize = 8
full
arraySizeSemantics = variableSize
maxNumberOfElements exists and value is greater than 0 (cf. TPS_DEXT
_01002)
arraySizeSemantics exists and is set to ArraySizeSemanticsEnum.variableSize
(cf. TPS_DEXT_01002)
Mapping Status Mapping ID
valid up_Dcm_00219
The ordering defined via the index attribute of the subcontainers in this list represents the
order of the dataOutN elements in the XXX_Start function call.
Template Description
This represents the related dataElement of the DiagnosticParameter
M2 Parameter
DiagnosticExtract::CommonDiagnostics::DiagnosticParameter.dataElement
Mapping Rule Mapping Type
1:1 mapping full
Mapping Status Mapping ID
valid up_Dcm_00242
Note that this is still independent of the technical implementation in data types. It only speci-
fies the formula how the internal value corresponds to its physical pendant.
M2 Parameter
AsamHdo::ComputationMethod::CompuMethod
Mapping Rule Mapping Type
This mapping applies if the CompuMethod.category is set to values TEXTTABL
full
E or SCALE_LINEAR_AND_TEXTTABLE.
Mapping Status Mapping ID
valid up_Dcm_00097
CompuScale.lowerLimit:
This specifies the lower limit of the scale.
CompuScale.upperLimit:
This specifies the upper limit of a of the scale.
M2 Parameter
AsamHdo::ComputationMethod::CompuScale.lowerLimit,
AsamHdo::ComputationMethod::CompuScale.upperLimit
Mapping Rule Mapping Type
1:1 mapping full
Mapping Status Mapping ID
valid up_Dcm_00099
BaseTypeDirectDefinition.baseTypeSize:
Describes the length of the data type specified in the container in bits.
M2 Parameter
AsamHdo::BaseTypes::BaseTypeDirectDefinition.baseTypeEncoding,
AsamHdo::BaseTypes::BaseTypeDirectDefinition.baseTypeSize
Mapping Rule Mapping Type
referenced by swDataDefProps of the DiagnosticParameter
with the role DiagnosticStartRoutine.response
full
baseTypeEncoding = BOOLEAN
baseTypeSize = 1
Mapping Status Mapping ID
valid up_Dcm_00198
BaseTypeDirectDefinition.baseTypeEncoding:
This specifies, how an object of the current BaseType is encoded, e.g. in an ECU within a message
sequence.
BaseTypeDirectDefinition.baseTypeSize:
Describes the length of the data type specified in the container in bits.
M2 Parameter
AsamHdo::BaseTypes::BaseTypeDirectDefinition.baseTypeEncoding,
AsamHdo::BaseTypes::BaseTypeDirectDefinition.baseTypeSize
Mapping Rule Mapping Type
referenced by swDataDefProps of the DiagnosticParameter
with the role DiagnosticStartRoutine.response
full
baseTypeEncoding = 2C
baseTypeSize = 16
Mapping Status Mapping ID
valid up_Dcm_00157
BaseTypeDirectDefinition.baseTypeSize:
Describes the length of the data type specified in the container in bits.
DiagnosticDataElement.maxNumberOfElements:
The existence of this attribute turns the data instance into an array of data. The attribute determines
the size of the array in terms of how many elements the array can take.
DiagnosticDataElement.arraySizeSemantics:
This attribute controls the meaning of the value of the array size.
M2 Parameter
AsamHdo::BaseTypes::BaseTypeDirectDefinition.baseTypeEncoding,
AsamHdo::BaseTypes::BaseTypeDirectDefinition.baseTypeSize,
DiagnosticExtract::CommonDiagnostics::DiagnosticDataElement.maxNumberOfElements,
DiagnosticExtract::CommonDiagnostics::DiagnosticDataElement.arraySizeSemantics
Mapping Rule Mapping Type
referenced by swDataDefProps of the DiagnosticParameter
with the role DiagnosticStartRoutine.response
baseTypeEncoding = 2C
baseTypeSize = 16 full
maxNumberOfElements exists and value is greater than 0 (cf. TPS_DEXT
_01001)
arraySizeSemantics either does not exist or exists and is set to ArraySize
SemanticsEnum.fixedSize (cf. TPS_DEXT_01001)
BaseTypeDirectDefinition.baseTypeSize:
Describes the length of the data type specified in the container in bits.
M2 Parameter
AsamHdo::BaseTypes::BaseTypeDirectDefinition.baseTypeEncoding,
AsamHdo::BaseTypes::BaseTypeDirectDefinition.baseTypeSize
Mapping Rule Mapping Type
referenced by swDataDefProps of the DiagnosticParameter
with the role DiagnosticStartRoutine.response
full
baseTypeEncoding = 2C
baseTypeSize = 32
Mapping Status Mapping ID
valid up_Dcm_00161
BaseTypeDirectDefinition.baseTypeSize:
Describes the length of the data type specified in the container in bits.
DiagnosticDataElement.maxNumberOfElements:
The existence of this attribute turns the data instance into an array of data. The attribute determines
the size of the array in terms of how many elements the array can take.
DiagnosticDataElement.arraySizeSemantics:
This attribute controls the meaning of the value of the array size.
M2 Parameter
AsamHdo::BaseTypes::BaseTypeDirectDefinition.baseTypeEncoding,
AsamHdo::BaseTypes::BaseTypeDirectDefinition.baseTypeSize,
DiagnosticExtract::CommonDiagnostics::DiagnosticDataElement.maxNumberOfElements,
DiagnosticExtract::CommonDiagnostics::DiagnosticDataElement.arraySizeSemantics
Mapping Rule Mapping Type
referenced by swDataDefProps of the DiagnosticParameter
with the role DiagnosticStartRoutine.response
baseTypeEncoding = 2C
baseTypeSize = 32 full
maxNumberOfElements exists and value is greater than 0 (cf. TPS_DEXT
_01001)
arraySizeSemantics either does not exist or exists and is set to ArraySize
SemanticsEnum.fixedSize (cf. TPS_DEXT_01001)
Mapping Status Mapping ID
valid up_Dcm_00161
BaseTypeDirectDefinition.baseTypeSize:
Describes the length of the data type specified in the container in bits.
M2 Parameter
AsamHdo::BaseTypes::BaseTypeDirectDefinition.baseTypeEncoding,
AsamHdo::BaseTypes::BaseTypeDirectDefinition.baseTypeSize
Mapping Rule Mapping Type
referenced by swDataDefProps of the DiagnosticParameter
with the role DiagnosticStartRoutine.response
full
baseTypeEncoding = 2C
baseTypeSize = 8
Mapping Status Mapping ID
valid up_Dcm_00202
BaseTypeDirectDefinition.baseTypeEncoding:
This specifies, how an object of the current BaseType is encoded, e.g. in an ECU within a message
sequence.
BaseTypeDirectDefinition.baseTypeSize:
Describes the length of the data type specified in the container in bits.
DiagnosticDataElement.maxNumberOfElements:
The existence of this attribute turns the data instance into an array of data. The attribute determines
the size of the array in terms of how many elements the array can take.
DiagnosticDataElement.arraySizeSemantics:
This attribute controls the meaning of the value of the array size.
M2 Parameter
AsamHdo::BaseTypes::BaseTypeDirectDefinition.baseTypeEncoding,
AsamHdo::BaseTypes::BaseTypeDirectDefinition.baseTypeSize,
DiagnosticExtract::CommonDiagnostics::DiagnosticDataElement.maxNumberOfElements,
DiagnosticExtract::CommonDiagnostics::DiagnosticDataElement.arraySizeSemantics
Mapping Rule Mapping Type
referenced by swDataDefProps of the DiagnosticParameter
with the role DiagnosticStartRoutine.response
baseTypeEncoding = 2C
baseTypeSize = 8 full
maxNumberOfElements exists and value is greater than 0 (cf. TPS_DEXT
_01001)
arraySizeSemantics either does not exist or exists and is set to ArraySize
SemanticsEnum.fixedSize (cf. TPS_DEXT_01001)
Mapping Status Mapping ID
valid up_Dcm_00202
BaseTypeDirectDefinition.baseTypeSize:
Describes the length of the data type specified in the container in bits.
M2 Parameter
AsamHdo::BaseTypes::BaseTypeDirectDefinition.baseTypeEncoding,
AsamHdo::BaseTypes::BaseTypeDirectDefinition.baseTypeSize
Mapping Rule Mapping Type
referenced by swDataDefProps of the DiagnosticParameter
with the role DiagnosticStartRoutine.response
full
baseTypeEncoding = NONE, UTF-16
baseTypeSize = 16
BaseTypeDirectDefinition.baseTypeSize:
Describes the length of the data type specified in the container in bits.
DiagnosticDataElement.arraySizeSemantics:
This attribute controls the meaning of the value of the array size.
DiagnosticDataElement.maxNumberOfElements:
The existence of this attribute turns the data instance into an array of data. The attribute determines
the size of the array in terms of how many elements the array can take.
M2 Parameter
AsamHdo::BaseTypes::BaseTypeDirectDefinition.baseTypeEncoding,
AsamHdo::BaseTypes::BaseTypeDirectDefinition.baseTypeSize,
DiagnosticExtract::CommonDiagnostics::DiagnosticDataElement.arraySizeSemantics,
DiagnosticExtract::CommonDiagnostics::DiagnosticDataElement.maxNumberOfElements
Mapping Rule Mapping Type
referenced by swDataDefProps of the DiagnosticParameter
with the role DiagnosticStartRoutine.response
BaseTypeDirectDefinition.baseTypeEncoding:
This specifies, how an object of the current BaseType is encoded, e.g. in an ECU within a message
sequence.
BaseTypeDirectDefinition.baseTypeSize:
Describes the length of the data type specified in the container in bits.
M2 Parameter
AsamHdo::BaseTypes::BaseTypeDirectDefinition.baseTypeEncoding,
AsamHdo::BaseTypes::BaseTypeDirectDefinition.baseTypeSize
Mapping Rule Mapping Type
referenced by swDataDefProps of the DiagnosticParameter
with the role DiagnosticStartRoutine.response
full
baseTypeEncoding = NONE, UTF-32
baseTypeSize = 32
Mapping Status Mapping ID
valid up_Dcm_00215
BaseTypeDirectDefinition.baseTypeSize:
Describes the length of the data type specified in the container in bits.
DiagnosticDataElement.arraySizeSemantics:
This attribute controls the meaning of the value of the array size.
DiagnosticDataElement.maxNumberOfElements:
The existence of this attribute turns the data instance into an array of data. The attribute determines
the size of the array in terms of how many elements the array can take.
M2 Parameter
AsamHdo::BaseTypes::BaseTypeDirectDefinition.baseTypeEncoding,
AsamHdo::BaseTypes::BaseTypeDirectDefinition.baseTypeSize,
DiagnosticExtract::CommonDiagnostics::DiagnosticDataElement.arraySizeSemantics,
DiagnosticExtract::CommonDiagnostics::DiagnosticDataElement.maxNumberOfElements
Mapping Rule Mapping Type
referenced by swDataDefProps of the DiagnosticParameter
with the role DiagnosticStartRoutine.response
BaseTypeDirectDefinition.baseTypeSize:
Describes the length of the data type specified in the container in bits.
M2 Parameter
AsamHdo::BaseTypes::BaseTypeDirectDefinition.baseTypeEncoding,
AsamHdo::BaseTypes::BaseTypeDirectDefinition.baseTypeSize
Mapping Rule Mapping Type
referenced by swDataDefProps of the DiagnosticParameter
with the role DiagnosticStartRoutine.response
full
baseTypeEncoding = NONE, WINDOWS-1252, UTF-8, BCD-P, BCD-U
P
baseTypeSize = 8
Mapping Status Mapping ID
valid up_Dcm_00168
BaseTypeDirectDefinition.baseTypeSize:
Describes the length of the data type specified in the container in bits.
DiagnosticDataElement.arraySizeSemantics:
This attribute controls the meaning of the value of the array size.
DiagnosticDataElement.maxNumberOfElements:
The existence of this attribute turns the data instance into an array of data. The attribute determines
the size of the array in terms of how many elements the array can take.
M2 Parameter
AsamHdo::BaseTypes::BaseTypeDirectDefinition.baseTypeEncoding,
AsamHdo::BaseTypes::BaseTypeDirectDefinition.baseTypeSize,
DiagnosticExtract::CommonDiagnostics::DiagnosticDataElement.arraySizeSemantics,
DiagnosticExtract::CommonDiagnostics::DiagnosticDataElement.maxNumberOfElements
Mapping Rule Mapping Type
referenced by swDataDefProps of the DiagnosticParameter
with the role DiagnosticStartRoutine.response
This is only valid for the last signal and when DcmDspRoutineSignalType is set to VARI-
ABLE_LENGTH.
Template Description
BaseTypeDirectDefinition.baseTypeEncoding:
This specifies, how an object of the current BaseType is encoded, e.g. in an ECU within a message
sequence.
BaseTypeDirectDefinition.baseTypeSize:
Describes the length of the data type specified in the container in bits.
DiagnosticDataElement.arraySizeSemantics:
This attribute controls the meaning of the value of the array size.
DiagnosticDataElement.maxNumberOfElements:
The existence of this attribute turns the data instance into an array of data. The attribute determines
the size of the array in terms of how many elements the array can take.
M2 Parameter
AsamHdo::BaseTypes::BaseTypeDirectDefinition.baseTypeEncoding,
AsamHdo::BaseTypes::BaseTypeDirectDefinition.baseTypeSize,
DiagnosticExtract::CommonDiagnostics::DiagnosticDataElement.arraySizeSemantics,
DiagnosticExtract::CommonDiagnostics::DiagnosticDataElement.maxNumberOfElements
Mapping Rule Mapping Type
baseTypeEncoding = NONE
baseTypeSize = 8
full
arraySizeSemantics = variableSize
maxNumberOfElements exists and value is greater than 0 (cf. TPS_DEXT
_01002)
arraySizeSemantics exists and is set to ArraySizeSemanticsEnum.variableSize
(cf. TPS_DEXT_01002)
Mapping Status Mapping ID
valid up_Dcm_00216
DiagnosticRoutineNeeds.diagRoutineType:
This denotes the type of diagnostic routine which is implemented by the referenced server port.
M2 Parameter
DiagnosticExtract::CommonDiagnostics::DiagnosticRoutine.stop,
CommonStructure::ServiceNeeds::DiagnosticRoutineNeeds.diagRoutineType
Mapping Rule Mapping Type
1:1 mapping for DiagnosticRoutine.stop
OR full
DiagnosticRoutineNeeds.diagRoutineType == asynchronous
Mapping Status Mapping ID
valid up_Dcm_00025
DiagnosticExtract::ServiceMapping::DiagnosticServiceSwMapping.mappedBswServiceDepen-
dency
Mapping Rule Mapping Type
1:1 mapping full
Mapping Status Mapping ID
valid up_Dcm_00221
The ordering defined via the index attribute of the subcontainers in this list represents the
order of the dataInN elements in the XXX_Stop function call.
Template Description
This represents the related dataElement of the DiagnosticParameter
M2 Parameter
DiagnosticExtract::CommonDiagnostics::DiagnosticParameter.dataElement
Mapping Rule Mapping Type
1:1 mapping full
Mapping Status Mapping ID
valid up_Dcm_00222
Note that this is still independent of the technical implementation in data types. It only speci-
fies the formula how the internal value corresponds to its physical pendant.
M2 Parameter
AsamHdo::ComputationMethod::CompuMethod
Mapping Rule Mapping Type
This mapping applies if the CompuMethod.category is set to values TEXTTABL
full
E or SCALE_LINEAR_AND_TEXTTABLE.
Mapping Status Mapping ID
valid up_Dcm_00097
CompuScale.lowerLimit:
This specifies the lower limit of the scale.
CompuScale.upperLimit:
This specifies the upper limit of a of the scale.
M2 Parameter
AsamHdo::ComputationMethod::CompuScale.lowerLimit,
AsamHdo::ComputationMethod::CompuScale.upperLimit
Mapping Rule Mapping Type
1:1 mapping full
Mapping Status Mapping ID
valid up_Dcm_00099
BaseTypeDirectDefinition.baseTypeSize:
Describes the length of the data type specified in the container in bits.
M2 Parameter
AsamHdo::BaseTypes::BaseTypeDirectDefinition.baseTypeEncoding,
AsamHdo::BaseTypes::BaseTypeDirectDefinition.baseTypeSize
Mapping Rule Mapping Type
referenced by swDataDefProps of the DiagnosticParameter
with the role DiagnosticStopRoutine.request
full
baseTypeEncoding = BOOLEAN
baseTypeSize = 1
Mapping Status Mapping ID
valid up_Dcm_00194
BaseTypeDirectDefinition.baseTypeEncoding:
This specifies, how an object of the current BaseType is encoded, e.g. in an ECU within a message
sequence.
BaseTypeDirectDefinition.baseTypeSize:
Describes the length of the data type specified in the container in bits.
M2 Parameter
AsamHdo::BaseTypes::BaseTypeDirectDefinition.baseTypeEncoding,
AsamHdo::BaseTypes::BaseTypeDirectDefinition.baseTypeSize
Mapping Rule Mapping Type
referenced by swDataDefProps of the DiagnosticParameter
with the role DiagnosticStopRoutine.request
full
baseTypeEncoding = 2C
baseTypeSize = 16
Mapping Status Mapping ID
valid up_Dcm_00158
BaseTypeDirectDefinition.baseTypeSize:
Describes the length of the data type specified in the container in bits.
DiagnosticDataElement.arraySizeSemantics:
This attribute controls the meaning of the value of the array size.
DiagnosticDataElement.maxNumberOfElements:
The existence of this attribute turns the data instance into an array of data. The attribute determines
the size of the array in terms of how many elements the array can take.
M2 Parameter
AsamHdo::BaseTypes::BaseTypeDirectDefinition.baseTypeEncoding,
AsamHdo::BaseTypes::BaseTypeDirectDefinition.baseTypeSize,
DiagnosticExtract::CommonDiagnostics::DiagnosticDataElement.arraySizeSemantics,
DiagnosticExtract::CommonDiagnostics::DiagnosticDataElement.maxNumberOfElements
Mapping Rule Mapping Type
referenced by swDataDefProps of the DiagnosticParameter
with the role DiagnosticStopRoutine.request
baseTypeEncoding = 2C
baseTypeSize = 16 full
maxNumberOfElements exists and value is greater than 0 (cf. TPS_DEXT
_01001)
arraySizeSemantics either doesnot exist or exists and is set to ArraySize
SemanticsEnum.fixedSize (cf. TPS_DEXT_01001)
BaseTypeDirectDefinition.baseTypeSize:
Describes the length of the data type specified in the container in bits.
M2 Parameter
AsamHdo::BaseTypes::BaseTypeDirectDefinition.baseTypeEncoding,
AsamHdo::BaseTypes::BaseTypeDirectDefinition.baseTypeSize
Mapping Rule Mapping Type
referenced by swDataDefProps of the DiagnosticParameter
with the role DiagnosticStopRoutine.request
full
baseTypeEncoding = 2C
baseTypeSize = 32
Mapping Status Mapping ID
valid up_Dcm_00165
BaseTypeDirectDefinition.baseTypeSize:
Describes the length of the data type specified in the container in bits.
DiagnosticDataElement.arraySizeSemantics:
This attribute controls the meaning of the value of the array size.
DiagnosticDataElement.maxNumberOfElements:
The existence of this attribute turns the data instance into an array of data. The attribute determines
the size of the array in terms of how many elements the array can take.
M2 Parameter
AsamHdo::BaseTypes::BaseTypeDirectDefinition.baseTypeEncoding,
AsamHdo::BaseTypes::BaseTypeDirectDefinition.baseTypeSize,
DiagnosticExtract::CommonDiagnostics::DiagnosticDataElement.arraySizeSemantics,
DiagnosticExtract::CommonDiagnostics::DiagnosticDataElement.maxNumberOfElements
Mapping Rule Mapping Type
referenced by swDataDefProps of the DiagnosticParameter
with the role DiagnosticStopRoutine.request
baseTypeEncoding = 2C
baseTypeSize = 32 full
maxNumberOfElements exists and value is greater than 0 (cf. TPS_DEXT
_01001)
arraySizeSemantics either doesnot exist or exists and is set to ArraySize
SemanticsEnum.fixedSize (cf. TPS_DEXT_01001)
Mapping Status Mapping ID
valid up_Dcm_00165
BaseTypeDirectDefinition.baseTypeSize:
Describes the length of the data type specified in the container in bits.
M2 Parameter
AsamHdo::BaseTypes::BaseTypeDirectDefinition.baseTypeEncoding,
AsamHdo::BaseTypes::BaseTypeDirectDefinition.baseTypeSize
Mapping Rule Mapping Type
referenced by swDataDefProps of the DiagnosticParameter
with the role DiagnosticStopRoutine.request
full
baseTypeEncoding = 2C
baseTypeSize = 8
Mapping Status Mapping ID
valid up_Dcm_00247
BaseTypeDirectDefinition.baseTypeEncoding:
This specifies, how an object of the current BaseType is encoded, e.g. in an ECU within a message
sequence.
BaseTypeDirectDefinition.baseTypeSize:
Describes the length of the data type specified in the container in bits.
DiagnosticDataElement.arraySizeSemantics:
This attribute controls the meaning of the value of the array size.
DiagnosticDataElement.maxNumberOfElements:
The existence of this attribute turns the data instance into an array of data. The attribute determines
the size of the array in terms of how many elements the array can take.
M2 Parameter
AsamHdo::BaseTypes::BaseTypeDirectDefinition.baseTypeEncoding,
AsamHdo::BaseTypes::BaseTypeDirectDefinition.baseTypeSize,
DiagnosticExtract::CommonDiagnostics::DiagnosticDataElement.arraySizeSemantics,
DiagnosticExtract::CommonDiagnostics::DiagnosticDataElement.maxNumberOfElements
Mapping Rule Mapping Type
referenced by swDataDefProps of the DiagnosticParameter
with the role DiagnosticStopRoutine.request
baseTypeEncoding = 2C
baseTypeSize = 8 full
maxNumberOfElements exists and value is greater than 0 (cf. TPS_DEXT
_01001)
arraySizeSemantics either does not exist or exists and is set to ArraySize
SemanticsEnum.fixedSize (cf. TPS_DEXT_01001)
Mapping Status Mapping ID
valid up_Dcm_00247
BaseTypeDirectDefinition.baseTypeSize:
Describes the length of the data type specified in the container in bits.
M2 Parameter
AsamHdo::BaseTypes::BaseTypeDirectDefinition.baseTypeEncoding,
AsamHdo::BaseTypes::BaseTypeDirectDefinition.baseTypeSize
Mapping Rule Mapping Type
referenced by swDataDefProps of the DiagnosticParameter
with the role DiagnosticStopRoutine.request
full
baseTypeEncoding = NONE, UTF-16
baseTypeSize = 16
BaseTypeDirectDefinition.baseTypeSize:
Describes the length of the data type specified in the container in bits.
DiagnosticDataElement.arraySizeSemantics:
This attribute controls the meaning of the value of the array size.
DiagnosticDataElement.maxNumberOfElements:
The existence of this attribute turns the data instance into an array of data. The attribute determines
the size of the array in terms of how many elements the array can take.
M2 Parameter
AsamHdo::BaseTypes::BaseTypeDirectDefinition.baseTypeEncoding,
AsamHdo::BaseTypes::BaseTypeDirectDefinition.baseTypeSize,
DiagnosticExtract::CommonDiagnostics::DiagnosticDataElement.arraySizeSemantics,
DiagnosticExtract::CommonDiagnostics::DiagnosticDataElement.maxNumberOfElements
Mapping Rule Mapping Type
referenced by swDataDefProps of the DiagnosticParameter
with the role DiagnosticStopRoutine.request
BaseTypeDirectDefinition.baseTypeEncoding:
This specifies, how an object of the current BaseType is encoded, e.g. in an ECU within a message
sequence.
BaseTypeDirectDefinition.baseTypeSize:
Describes the length of the data type specified in the container in bits.
M2 Parameter
AsamHdo::BaseTypes::BaseTypeDirectDefinition.baseTypeEncoding,
AsamHdo::BaseTypes::BaseTypeDirectDefinition.baseTypeSize
Mapping Rule Mapping Type
baseTypeEncoding = NONE, UTF-32
full
baseTypeSize = 32
Mapping Status Mapping ID
valid up_Dcm_00214
BaseTypeDirectDefinition.baseTypeSize:
Describes the length of the data type specified in the container in bits.
DiagnosticDataElement.arraySizeSemantics:
This attribute controls the meaning of the value of the array size.
DiagnosticDataElement.maxNumberOfElements:
The existence of this attribute turns the data instance into an array of data. The attribute determines
the size of the array in terms of how many elements the array can take.
M2 Parameter
AsamHdo::BaseTypes::BaseTypeDirectDefinition.baseTypeEncoding,
AsamHdo::BaseTypes::BaseTypeDirectDefinition.baseTypeSize,
DiagnosticExtract::CommonDiagnostics::DiagnosticDataElement.arraySizeSemantics,
DiagnosticExtract::CommonDiagnostics::DiagnosticDataElement.maxNumberOfElements
Mapping Rule Mapping Type
baseTypeEncoding = NONE, UTF-32
baseTypeSize = 32
maxNumberOfElements exists and value is greater than 0 (cf. TPS_DEXT
full
_01001)
arraySizeSemantics either does not exist or exists and is set to ArraySizeSe-
manticsEnum.fixedSize (cf. TPS_DEXT_01001)
Mapping Status Mapping ID
valid up_Dcm_00214
Dcm/DcmConfigSet/DcmDsp/DcmDspRoutine/DcmDspStopRoutine/DcmDsp
Dcm
StopRoutineIn/DcmDspStopRoutineInSignal/DcmDspRoutineSignalType
BSW Parameter BSW Type
UINT8 EcucEnumerationLiteralDef
BSW Description
Type of the signal is uint8.
Template Description
BaseTypeDirectDefinition.baseTypeEncoding:
This specifies, how an object of the current BaseType is encoded, e.g. in an ECU within a message
sequence.
BaseTypeDirectDefinition.baseTypeSize:
Describes the length of the data type specified in the container in bits.
M2 Parameter
AsamHdo::BaseTypes::BaseTypeDirectDefinition.baseTypeEncoding,
AsamHdo::BaseTypes::BaseTypeDirectDefinition.baseTypeSize
Mapping Rule Mapping Type
referenced by swDataDefProps of the DiagnosticParameter
with the role DiagnosticStopRoutine.request
full
baseTypeEncoding = NONE, WINDOWS-1252, UTF-8, BCD-P, BCD-U
P
baseTypeSize = 8
Mapping Status Mapping ID
valid up_Dcm_00171
BaseTypeDirectDefinition.baseTypeSize:
Describes the length of the data type specified in the container in bits.
DiagnosticDataElement.arraySizeSemantics:
This attribute controls the meaning of the value of the array size.
DiagnosticDataElement.maxNumberOfElements:
The existence of this attribute turns the data instance into an array of data. The attribute determines
the size of the array in terms of how many elements the array can take.
M2 Parameter
AsamHdo::BaseTypes::BaseTypeDirectDefinition.baseTypeEncoding,
AsamHdo::BaseTypes::BaseTypeDirectDefinition.baseTypeSize,
DiagnosticExtract::CommonDiagnostics::DiagnosticDataElement.arraySizeSemantics,
DiagnosticExtract::CommonDiagnostics::DiagnosticDataElement.maxNumberOfElements
Mapping Rule Mapping Type
This is only valid for the last signal and when DcmDspRoutineSignalType is set to VARI-
ABLE_LENGTH.
Template Description
BaseTypeDirectDefinition.baseTypeEncoding:
This specifies, how an object of the current BaseType is encoded, e.g. in an ECU within a message
sequence.
BaseTypeDirectDefinition.baseTypeSize:
Describes the length of the data type specified in the container in bits.
DiagnosticDataElement.arraySizeSemantics:
This attribute controls the meaning of the value of the array size.
M2 Parameter
AsamHdo::BaseTypes::BaseTypeDirectDefinition.baseTypeEncoding,
AsamHdo::BaseTypes::BaseTypeDirectDefinition.baseTypeSize,
DiagnosticExtract::CommonDiagnostics::DiagnosticDataElement.arraySizeSemantics,
DiagnosticExtract::CommonDiagnostics::DiagnosticDataElement.arraySizeSemantics
Mapping Rule Mapping Type
referenced by swDataDefProps of the DiagnosticParameter
with the role DiagnosticStopRoutine.request
baseTypeEncoding = NONE
baseTypeSize = 8
full
arraySizeSemantics = variableSize
maxNumberOfElements exists and value is greater than 0 (cf. TPS_DEXT
_01002)
arraySizeSemantics exists and is set to ArraySizeSemanticsEnum.variableSize
(cf. TPS_DEXT_01002)
Mapping Status Mapping ID
valid up_Dcm_00218
The ordering defined via the index attribute of the subcontainers in this list represents the
order of the dataOutN elements in the XXX_Stop function call.
Template Description
This represents the related dataElement of the DiagnosticParameter
M2 Parameter
DiagnosticExtract::CommonDiagnostics::DiagnosticParameter.dataElement
Mapping Rule Mapping Type
1:1 mapping full
Mapping Status Mapping ID
valid up_Dcm_00223
This meta-class represents the ability to express the relationship between a physical value and the
mathematical representation.
Note that this is still independent of the technical implementation in data types. It only speci-
fies the formula how the internal value corresponds to its physical pendant.
M2 Parameter
AsamHdo::ComputationMethod::CompuMethod
Mapping Rule Mapping Type
This mapping applies if the CompuMethod.category is set to values TEXTTABL
full
E or SCALE_LINEAR_AND_TEXTTABLE.
Mapping Status Mapping ID
valid up_Dcm_00097
CompuScale.upperLimit:
This specifies the upper limit of a of the scale.
M2 Parameter
AsamHdo::ComputationMethod::CompuScale.lowerLimit,
AsamHdo::ComputationMethod::CompuScale.upperLimit
Mapping Rule Mapping Type
1:1 mapping full
Mapping Status Mapping ID
valid up_Dcm_00099
BaseTypeDirectDefinition.baseTypeSize:
Describes the length of the data type specified in the container in bits.
M2 Parameter
AsamHdo::BaseTypes::BaseTypeDirectDefinition.baseTypeEncoding,
AsamHdo::BaseTypes::BaseTypeDirectDefinition.baseTypeSize
Mapping Rule Mapping Type
referenced by swDataDefProps of the DiagnosticParameter
with the role DiagnosticStopRoutine.response
full
baseTypeEncoding = BOOLEAN
baseTypeSize = 1
Mapping Status Mapping ID
valid up_Dcm_00195
BaseTypeDirectDefinition.baseTypeSize:
Describes the length of the data type specified in the container in bits.
M2 Parameter
AsamHdo::BaseTypes::BaseTypeDirectDefinition.baseTypeEncoding,
AsamHdo::BaseTypes::BaseTypeDirectDefinition.baseTypeSize
Mapping Rule Mapping Type
referenced by swDataDefProps of the DiagnosticParameter
with the role DiagnosticStopRoutine.response
full
baseTypeEncoding = 2C
baseTypeSize = 16
Mapping Status Mapping ID
valid up_Dcm_00159
BaseTypeDirectDefinition.baseTypeSize:
Describes the length of the data type specified in the container in bits.
DiagnosticDataElement.maxNumberOfElements:
The existence of this attribute turns the data instance into an array of data. The attribute determines
the size of the array in terms of how many elements the array can take.
DiagnosticDataElement.arraySizeSemantics:
This attribute controls the meaning of the value of the array size.
M2 Parameter
AsamHdo::BaseTypes::BaseTypeDirectDefinition.baseTypeEncoding,
AsamHdo::BaseTypes::BaseTypeDirectDefinition.baseTypeSize,
DiagnosticExtract::CommonDiagnostics::DiagnosticDataElement.maxNumberOfElements,
DiagnosticExtract::CommonDiagnostics::DiagnosticDataElement.arraySizeSemantics
Mapping Rule Mapping Type
referenced by swDataDefProps of the DiagnosticParameter
with the role DiagnosticStopRoutine.response
baseTypeEncoding = 2C
baseTypeSize = 16 full
maxNumberOfElements exists and value is greater than 0 (cf. TPS_DEXT
_01001)
arraySizeSemantics either does not exist or exists and is set to ArraySize
SemanticsEnum.fixedSize (cf. TPS_DEXT_01001)
Mapping Status Mapping ID
valid up_Dcm_00159
BaseTypeDirectDefinition.baseTypeSize:
Describes the length of the data type specified in the container in bits.
M2 Parameter
AsamHdo::BaseTypes::BaseTypeDirectDefinition.baseTypeEncoding,
AsamHdo::BaseTypes::BaseTypeDirectDefinition.baseTypeSize
Mapping Rule Mapping Type
referenced by swDataDefProps of the DiagnosticParameter
with the role DiagnosticStopRoutine.response
full
baseTypeEncoding = 2C
baseTypeSize = 32
Mapping Status Mapping ID
valid up_Dcm_00162
BaseTypeDirectDefinition.baseTypeSize:
Describes the length of the data type specified in the container in bits.
DiagnosticDataElement.maxNumberOfElements:
The existence of this attribute turns the data instance into an array of data. The attribute determines
the size of the array in terms of how many elements the array can take.
DiagnosticDataElement.arraySizeSemantics:
This attribute controls the meaning of the value of the array size.
M2 Parameter
AsamHdo::BaseTypes::BaseTypeDirectDefinition.baseTypeEncoding,
AsamHdo::BaseTypes::BaseTypeDirectDefinition.baseTypeSize,
DiagnosticExtract::CommonDiagnostics::DiagnosticDataElement.maxNumberOfElements,
DiagnosticExtract::CommonDiagnostics::DiagnosticDataElement.arraySizeSemantics
Mapping Rule Mapping Type
referenced by swDataDefProps of the DiagnosticParameter
with the role DiagnosticStopRoutine.response
baseTypeEncoding = 2C
baseTypeSize = 32 full
maxNumberOfElements exists and value is greater than 0 (cf. TPS_DEXT
_01001)
arraySizeSemantics either does not exist or exists and is set to ArraySize
SemanticsEnum.fixedSize (cf. TPS_DEXT_01001)
Mapping Status Mapping ID
valid up_Dcm_00162
Dcm/DcmConfigSet/DcmDsp/DcmDspRoutine/DcmDspStopRoutine/DcmDsp
Dcm
StopRoutineOut/DcmDspStopRoutineOutSignal/DcmDspRoutineSignalType
BSW Parameter BSW Type
SINT8 EcucEnumerationLiteralDef
BSW Description
Type of the signal is sint8.
Template Description
BaseTypeDirectDefinition.baseTypeEncoding:
This specifies, how an object of the current BaseType is encoded, e.g. in an ECU within a message
sequence.
BaseTypeDirectDefinition.baseTypeSize:
Describes the length of the data type specified in the container in bits.
M2 Parameter
AsamHdo::BaseTypes::BaseTypeDirectDefinition.baseTypeEncoding,
AsamHdo::BaseTypes::BaseTypeDirectDefinition.baseTypeSize
Mapping Rule Mapping Type
referenced by swDataDefProps of the DiagnosticParameter
with the role DiagnosticStopRoutine.response
full
baseTypeEncoding = 2C
baseTypeSize = 8
Mapping Status Mapping ID
valid up_Dcm_00203
BaseTypeDirectDefinition.baseTypeSize:
Describes the length of the data type specified in the container in bits.
DiagnosticDataElement.maxNumberOfElements:
The existence of this attribute turns the data instance into an array of data. The attribute determines
the size of the array in terms of how many elements the array can take.
DiagnosticDataElement.arraySizeSemantics:
This attribute controls the meaning of the value of the array size.
M2 Parameter
AsamHdo::BaseTypes::BaseTypeDirectDefinition.baseTypeEncoding,
AsamHdo::BaseTypes::BaseTypeDirectDefinition.baseTypeSize,
DiagnosticExtract::CommonDiagnostics::DiagnosticDataElement.maxNumberOfElements,
DiagnosticExtract::CommonDiagnostics::DiagnosticDataElement.arraySizeSemantics
Mapping Rule Mapping Type
baseTypeEncoding = 2C
baseTypeSize = 8 full
maxNumberOfElements exists and value is greater than 0 (cf. TPS_DEXT
_01001)
arraySizeSemantics either doesnot exist or exists and is set to ArraySize
SemanticsEnum.fixedSize (cf. TPS_DEXT_01001)
Mapping Status Mapping ID
valid up_Dcm_00203
BaseTypeDirectDefinition.baseTypeSize:
Describes the length of the data type specified in the container in bits.
M2 Parameter
AsamHdo::BaseTypes::BaseTypeDirectDefinition.baseTypeEncoding,
AsamHdo::BaseTypes::BaseTypeDirectDefinition.baseTypeSize
Mapping Rule Mapping Type
referenced by swDataDefProps of the DiagnosticParameter
with the role DiagnosticStopRoutine.response
full
baseTypeEncoding = NONE, UTF-16
baseTypeSize = 16
Mapping Status Mapping ID
valid up_Dcm_00209
BaseTypeDirectDefinition.baseTypeEncoding:
This specifies, how an object of the current BaseType is encoded, e.g. in an ECU within a message
sequence.
BaseTypeDirectDefinition.baseTypeSize:
Describes the length of the data type specified in the container in bits.
DiagnosticDataElement.arraySizeSemantics:
This attribute controls the meaning of the value of the array size.
DiagnosticDataElement.maxNumberOfElements:
The existence of this attribute turns the data instance into an array of data. The attribute determines
the size of the array in terms of how many elements the array can take.
M2 Parameter
AsamHdo::BaseTypes::BaseTypeDirectDefinition.baseTypeEncoding,
AsamHdo::BaseTypes::BaseTypeDirectDefinition.baseTypeSize,
DiagnosticExtract::CommonDiagnostics::DiagnosticDataElement.arraySizeSemantics,
DiagnosticExtract::CommonDiagnostics::DiagnosticDataElement.maxNumberOfElements
Mapping Rule Mapping Type
referenced by swDataDefProps of the DiagnosticParameter
with the role DiagnosticStopRoutine.response
BaseTypeDirectDefinition.baseTypeSize:
Describes the length of the data type specified in the container in bits.
M2 Parameter
AsamHdo::BaseTypes::BaseTypeDirectDefinition.baseTypeEncoding,
AsamHdo::BaseTypes::BaseTypeDirectDefinition.baseTypeSize
Mapping Rule Mapping Type
referenced by swDataDefProps of the DiagnosticParameter
with the role DiagnosticStopRoutine.response
full
baseTypeEncoding = NONE, UTF-32
baseTypeSize = 32
BaseTypeDirectDefinition.baseTypeSize:
Describes the length of the data type specified in the container in bits.
DiagnosticDataElement.arraySizeSemantics:
This attribute controls the meaning of the value of the array size.
DiagnosticDataElement.maxNumberOfElements:
The existence of this attribute turns the data instance into an array of data. The attribute determines
the size of the array in terms of how many elements the array can take.
M2 Parameter
AsamHdo::BaseTypes::BaseTypeDirectDefinition.baseTypeEncoding,
AsamHdo::BaseTypes::BaseTypeDirectDefinition.baseTypeSize,
DiagnosticExtract::CommonDiagnostics::DiagnosticDataElement.arraySizeSemantics,
DiagnosticExtract::CommonDiagnostics::DiagnosticDataElement.maxNumberOfElements
Mapping Rule Mapping Type
referenced by swDataDefProps of the DiagnosticParameter
with the role DiagnosticStopRoutine.response
BaseTypeDirectDefinition.baseTypeEncoding:
This specifies, how an object of the current BaseType is encoded, e.g. in an ECU within a message
sequence.
BaseTypeDirectDefinition.baseTypeSize:
Describes the length of the data type specified in the container in bits.
M2 Parameter
AsamHdo::BaseTypes::BaseTypeDirectDefinition.baseTypeEncoding,
AsamHdo::BaseTypes::BaseTypeDirectDefinition.baseTypeSize
Mapping Rule Mapping Type
referenced by swDataDefProps of the DiagnosticParameter
with the role DiagnosticStopRoutine.response
full
baseTypeEncoding = NONE, WINDOWS-1252, UTF-8, BCD-P, BCD-U
P
baseTypeSize = 8
Mapping Status Mapping ID
valid up_Dcm_00170
BaseTypeDirectDefinition.baseTypeSize:
Describes the length of the data type specified in the container in bits.
DiagnosticDataElement.arraySizeSemantics:
This attribute controls the meaning of the value of the array size.
DiagnosticDataElement.maxNumberOfElements:
The existence of this attribute turns the data instance into an array of data. The attribute determines
the size of the array in terms of how many elements the array can take.
M2 Parameter
AsamHdo::BaseTypes::BaseTypeDirectDefinition.baseTypeEncoding,
AsamHdo::BaseTypes::BaseTypeDirectDefinition.baseTypeSize,
DiagnosticExtract::CommonDiagnostics::DiagnosticDataElement.arraySizeSemantics,
DiagnosticExtract::CommonDiagnostics::DiagnosticDataElement.maxNumberOfElements
Mapping Rule Mapping Type
This is only valid for the last signal and when DcmDspRoutineSignalType is set to VARI-
ABLE_LENGTH.
Template Description
BaseTypeDirectDefinition.baseTypeEncoding:
This specifies, how an object of the current BaseType is encoded, e.g. in an ECU within a message
sequence.
BaseTypeDirectDefinition.baseTypeSize:
Describes the length of the data type specified in the container in bits.
DiagnosticDataElement.maxNumberOfElements:
The existence of this attribute turns the data instance into an array of data. The attribute determines
the size of the array in terms of how many elements the array can take.
DiagnosticDataElement.arraySizeSemantics:
This attribute controls the meaning of the value of the array size.
M2 Parameter
AsamHdo::BaseTypes::BaseTypeDirectDefinition.baseTypeEncoding,
AsamHdo::BaseTypes::BaseTypeDirectDefinition.baseTypeSize,
DiagnosticExtract::CommonDiagnostics::DiagnosticDataElement.maxNumberOfElements,
DiagnosticExtract::CommonDiagnostics::DiagnosticDataElement.arraySizeSemantics
Mapping Rule Mapping Type
referenced by swDataDefProps of the DiagnosticParameter
with the role DiagnosticStopRoutine.response
baseTypeEncoding = NONE
baseTypeSize = 8
full
arraySizeSemantics = variableSize
maxNumberOfElements exists and value is greater than 0 (cf. TPS_DEXT
_01002)
arraySizeSemantics exists and is set to ArraySizeSemanticsEnum.variableSize
(cf. TPS_DEXT_01002)
Mapping Status Mapping ID
valid up_Dcm_00173
DiagnosticExtract::ServiceMapping::DiagnosticServiceSwMapping.mappedBswServiceDepen-
dency
Mapping Rule Mapping Type
1:1 mapping full
Mapping Status Mapping ID
valid up_Dcm_00240
This delay indicates the time at ECU boot power-on time where the Dcm remains in the de-
fault session and does not accept a security access.
M2 Parameter
DiagnosticExtract::DiagnosticCommonProps::DiagnosticCommonProps.securityDelayTimeOnBoot
Mapping Rule Mapping Type
1:1 mapping full
Mapping Status Mapping ID
valid up_Dcm_00237
DcmDspSecurityGetAttemptCounterFnc EcucFunctionNameDef
BSW Description
Function name to request the value of an attempt counter.
This parameter is related to the interface Xxx_ GetSecurityAttemptCounter.
Template Description
This is supposed to represent a reference to a BswServiceDependency. the latter is not derived from
Referrable and therefore this detour needs to be implemented to still let BswServiceDependency
become the target of a reference.
M2 Parameter
DiagnosticExtract::ServiceMapping::DiagnosticServiceSwMapping.mappedBswServiceDepen-
dency
Mapping Rule Mapping Type
1:1 mapping full
Mapping Status Mapping ID
valid up_Dcm_00291
1,2,3...63:
configuration dependent - Conversion formula to calculate SecurityLevel out of tester requested
SecurityAccessType parameter:
SecurityLevel = (SecurityAccessType (requestSeed) + 1) / 2
Type: Dcm_SecLevelType
Template Description
This would be 0x01, 0x03, 0x05, ...
The DCM will access the data using the functions that are defined in the parameters DcmD-
spSecurityGetSeedFnc and DcmDspSecurityCompareKeyFnc as well as the functions defined in
DcmDspSecurityGetAttemptCounterFnc and DcmDspSecuritySetAttemptCounterFnc, if enabled by
the parameter DcmDspSecurityAttemptCounterEnabled.
This is the session value for P2*ServerMax in seconds (per Session Control).
Defines the order of the data item in the InfoType; values: 0..255; first data item having the order
number 0; the next 1 and so on.
The configuration of order needs to be unique per InfoType.
Template Description
This represents the bitOffset of the DiagnosticParameter
M2 Parameter
DiagnosticExtract::CommonDiagnostics::DiagnosticParameter.bitOffset
Mapping Rule Mapping Type
Value shall be taken from DiagnosticRequestVehicleInfo.infoType.dataEle-
full
ment.bitOffset.
Mapping Status Mapping ID
valid
When this parameter is set to false, the DCM calls the function defined in DcmDspVehInfo-
DataReadFnc.
Template Description
DiagnosticServiceSwMapping.mappedBswServiceDependency:
This is supposed to represent a reference to a BswServiceDependency. the latter is not derived from
Referrable and therefore this detour needs to be implemented to still let BswServiceDependency
become the target of a reference.
DiagnosticServiceSwMapping.mappedSwcServiceDependencyInSystem:
This represents the ability to point into the component hiearchy (under possible consideration of the
rootSoftwareComposition)
M2 Parameter
DiagnosticExtract::ServiceMapping::DiagnosticServiceSwMapping.mappedBswServiceDepen-
dency,
DiagnosticExtract::ServiceMapping::DiagnosticServiceSwMapping.mappedSwcServiceDepen-
dencyInSystem
Mapping Rule Mapping Type
Shall be set to TRUE if the reference DiagnosticServiceSwMapping.mapped
SwcServiceDependency exists.
full
Shall be set to FALSE if the reference DiagnosticServiceSwMapping.mapped
BswServiceDependency exists.
Mapping Status Mapping ID
valid
DiagnosticInfoType.id:
This attribute represents the value of InfoType (see SAE J1979-DA).
M2 Parameter
CommonStructure::ServiceNeeds::ObdInfoServiceNeeds.infoType,
DiagnosticExtract::CommonDiagnostics::DiagnosticInfoType.id
Mapping Rule Mapping Type
Please note that the Dcm acts as well as mode manager. Therefore the references Dcm-
SwcModeRef or one DcmBswModeRef.
might point to provided ModeDeclarationGroupPrototypes of the Dcm itself as well as to provided
ModeDeclarationGroupPrototypes of other Bsw Modules or software components.
Please note that such ModeDeclarationGroupPrototype are owned by a Basic Software Mod-
ule Description in the role providedModeGroup.
Template Description
This reference represents both the ModeDeclarationGroupPrototype and the ModeDeclaration rele-
vant for the mode comparison.
M2 Parameter
DiagnosticExtract::Dcm::DiagnosticService::EnvironmentalCondition::DiagnosticEnvModeCondi-
tion.modeElement
Mapping Rule Mapping Type
For DcmModeRef a new DiagnosticEnvBswModeElement is used, pointing to
the ModeDeclaration via ModeInModuleDescriptionInstanceRef. This new Di-
agnosticEnvModeElement shall be aggregated by the same DiagnosticEnviron-
full
mentalConfition as the DiagnosticEnvModeCondition, in which the target of the
reference DiagnosticEnvModeCondition.modeElement points to the this Diag-
nosticEnvModeElement.
Mapping Status Mapping ID
valid up_Dcm_00273
Template Description
DiagnosticEnvConditionFormula.op:
This attribute represents the concrete operator (supported operators: and, or) of the condition
formula.
DiagnosticCompareTypeEnum.isEqual:
equal
M2 Parameter
DiagnosticExtract::Dcm::DiagnosticService::EnvironmentalCondition::DiagnosticEnvConditionFor-
mula.op,
DiagnosticExtract::Dcm::DiagnosticService::EnvironmentalCondition::DiagnosticCompareType
Enum.isEqual
Mapping Rule Mapping Type
1:1 mapping full
Mapping Status Mapping ID
valid up_Dcm_00265
Template Description
DiagnosticEnvConditionFormula.op:
This attribute represents the concrete operator (supported operators: and, or) of the condition
formula.
DiagnosticCompareTypeEnum.isNotEqual:
not equal
M2 Parameter
DiagnosticExtract::Dcm::DiagnosticService::EnvironmentalCondition::DiagnosticEnvConditionFor-
mula.op,
DiagnosticExtract::Dcm::DiagnosticService::EnvironmentalCondition::DiagnosticCompareType
Enum.isNotEqual
Mapping Rule Mapping Type
1:1 mapping full
Mapping Status Mapping ID
valid up_Dcm_00266
Template Description
DiagnosticEnvConditionFormula.op:
This attribute represents the concrete operator (supported operators: and, or) of the condition
formula.
DiagnosticCompareTypeEnum.isGreaterOrEqual:
greater than or equal
M2 Parameter
DiagnosticExtract::Dcm::DiagnosticService::EnvironmentalCondition::DiagnosticEnvConditionFor-
mula.op,
DiagnosticExtract::Dcm::DiagnosticService::EnvironmentalCondition::DiagnosticCompareType
Enum.isGreaterOrEqual
Mapping Rule Mapping Type
1:1 mapping full
Mapping Status Mapping ID
valid up_Dcm_00269
Template Description
DiagnosticEnvConditionFormula.op:
This attribute represents the concrete operator (supported operators: and, or) of the condition
formula.
DiagnosticCompareTypeEnum.isGreaterThan:
greater than
M2 Parameter
DiagnosticExtract::Dcm::DiagnosticService::EnvironmentalCondition::DiagnosticEnvConditionFor-
mula.op,
DiagnosticExtract::Dcm::DiagnosticService::EnvironmentalCondition::DiagnosticCompareType
Enum.isGreaterThan
Mapping Rule Mapping Type
1:1 mapping full
Mapping Status Mapping ID
valid up_Dcm_00267
Template Description
DiagnosticEnvConditionFormula.op:
This attribute represents the concrete operator (supported operators: and, or) of the condition
formula.
DiagnosticCompareTypeEnum.isLessOrEqual:
less than or equal
M2 Parameter
DiagnosticExtract::Dcm::DiagnosticService::EnvironmentalCondition::DiagnosticEnvConditionFor-
mula.op,
DiagnosticExtract::Dcm::DiagnosticService::EnvironmentalCondition::DiagnosticCompareType
Enum.isLessOrEqual
Mapping Rule Mapping Type
full
Mapping Status Mapping ID
valid up_Dcm_00270
Template Description
DiagnosticEnvConditionFormula.op:
This attribute represents the concrete operator (supported operators: and, or) of the condition
formula.
DiagnosticCompareTypeEnum.isLessThan:
less than
M2 Parameter
DiagnosticExtract::Dcm::DiagnosticService::EnvironmentalCondition::DiagnosticEnvConditionFor-
mula.op,
DiagnosticExtract::Dcm::DiagnosticService::EnvironmentalCondition::DiagnosticCompareType
Enum.isLessThan
Mapping Rule Mapping Type
1:1 mapping full
Mapping Status Mapping ID
valid up_Dcm_00268
DiagnosticExtract::Dcm::DiagnosticService::EnvironmentalCondition::DiagnosticEnvDataCondi-
tion.dataElement
Mapping Rule Mapping Type
1:1 mapping full
Mapping Status Mapping ID
valid up_Dcm_00274
All arguments are processed with the operator defined by DcmLogicalOperator, for instance:
Argument_A AND Argument_B AND Argument_C
Template Description
A DiagnosticEnvConditionFormula embodies the computation instruction that is to be evaluated at
runtime to determine if the DiagnosticEnvironmentalCondition is currently present (i.e. the formula
is evaluated to true) or not (otherwise). The formula itself consists of parts which are combined by
the logical operations specified by DiagnosticEnvConditionFormula.op.
Template Description
DiagnosticEnvConditionFormula.op:
This attribute represents the concrete operator (supported operators: and, or) of the condition
formula.
DiagnosticLogicalOperatorEnum.logicalAnd:
Logical AND
M2 Parameter
DiagnosticExtract::Dcm::DiagnosticService::EnvironmentalCondition::DiagnosticEnvConditionFor-
mula.op,
DiagnosticExtract::Dcm::DiagnosticService::EnvironmentalCondition::DiagnosticLogicalOperator
Enum.logicalAnd
Template Description
DiagnosticEnvConditionFormula.op:
This attribute represents the concrete operator (supported operators: and, or) of the condition
formula.
DiagnosticLogicalOperatorEnum.logicalOr:
Logical OR
M2 Parameter
DiagnosticExtract::Dcm::DiagnosticService::EnvironmentalCondition::DiagnosticEnvConditionFor-
mula.op,
DiagnosticExtract::Dcm::DiagnosticService::EnvironmentalCondition::DiagnosticLogicalOperator
Enum.logicalOr
Mapping Rule Mapping Type
1:1 mapping full
Mapping Status Mapping ID
valid up_Dcm_00262
This configuration switch defines, whether DDDID definition is stored non-volatile or not.
E.3 Dem
If this parameter is configured for no DTC, the Dem provides no DTC functional unit informa-
tion.
Template Description
This attribute specifies a 1-byte value which identifies the corresponding basic vehicle / system
function which reports the DTC. This parameter
is necessary for the report of severity information.
M2 Parameter
DiagnosticExtract::Dem::DiagnosticTroubleCode::DiagnosticTroubleCodeUds.functionalUnit
Mapping Rule Mapping Type
1:1 mapping full
Mapping Status Mapping ID
valid up_Dem_00081
M2 Parameter
DiagnosticExtract::Dem::DiagnosticTroubleCode::DiagnosticTroubleCodeUds.severity
Mapping Rule Mapping Type
1:1 mapping full
Mapping Status Mapping ID
valid up_Dem_00083
This parameter is only required for calculated record numeration (refer to DemTypeOfFreeze-
FrameRecordNumeration).
Template Description
This attribute defines the number of according freeze frame records, which can maximal be stored
for this event. Therefore all these freeze frame records have the same freeze frame class.
M2 Parameter
DiagnosticExtract::Dem::DiagnosticTroubleCode::DiagnosticTroubleCodeProps.maxNumberFreeze
FrameRecords
Mapping Rule Mapping Type
1:1 mapping full
Mapping Status Mapping ID
valid up_Dem_00106
Threshold to allocate an event memory entry and to capture the Freeze Frame.
M2 Parameter
CommonStructure::ServiceNeeds::DiagEventDebounceCounterBased.counterBasedFdcThreshold
StorageValue
Mapping Rule Mapping Type
1:1 mapping full
Mapping Status Mapping ID
valid up_Dem_00097
Dem/DemConfigSet/DemDebounceCounterBasedClass/DemDebounceBehav-
Dem
ior
BSW Parameter BSW Type
DEM_DEBOUNCE_RESET EcucEnumerationLiteralDef
BSW Description
The event debounce counter will be reset to initial value if a related enable condition is not fulfilled
or ControlDTCSetting of the related event is disabled. The qualification of the event will be restarted
with the next valid event report.
Template Description
The event debounce counter will be reset to initial value if a related enable condition is not fulfilled or
ControlDTCSetting of the related event is disabled. The qualification of the event will be restarted
with the next valid event report.
M2 Parameter
DiagnosticExtract::Dem::DiagnosticDebouncingAlgorithm::DiagnosticDebounceBehavior
Enum.reset
Mapping Rule Mapping Type
1:1 mapping full
Mapping Status Mapping ID
valid up_Dem_00068
The event debounce counter will be frozen with the current value and will not change while a related
enable condition is not fulfilled or ControlDTCSetting of the related event is disabled. After all related
enable conditions are fulfilled and ControlDTCSetting of the related event is enabled again, the event
qualification will continue with the next report of the event (i.e. SetEventStatus).
M2 Parameter
DiagnosticExtract::Dem::DiagnosticDebouncingAlgorithm::DiagnosticDebounceBehavior
Enum.freeze
Mapping Rule Mapping Type
1:1 mapping full
Mapping Status Mapping ID
valid up_Dem_00065
The AUTOSAR configuration standard is to use SI units, so this parameter is defined as float
value in seconds. Dem configuration tools must convert this float value to the appropriate value
format for the use in the software implementation of Dem.
Template Description
This value represents the event-specific delay indicating the "failed" status.
M2 Parameter
CommonStructure::ServiceNeeds::DiagEventDebounceTimeBased.timeFailedThreshold
Mapping Rule Mapping Type
1:1 mapping full
Mapping Status Mapping ID
valid up_Dem_00118
The AUTOSAR configuration standard is to use SI units, so this parameter is defined as float
value in seconds. Dem configuration tools must convert this float value to the appropriate value
format for the use in the software implementation of Dem.
Template Description
This value represents the event-specific delay indicating the "passed" status.
M2 Parameter
CommonStructure::ServiceNeeds::DiagEventDebounceTimeBased.timePassedThreshold
Mapping Rule Mapping Type
1:1 mapping full
Mapping Status Mapping ID
valid up_Dem_00119
The values 0x00, 0x20, 0x40, 0x60, 0x80, 0xA0, 0xC0, 0xE0 are reserved.
Template Description
This represents the numerical measurement Id
M2 Parameter
DiagnosticExtract::Dem::DiagnosticTestResult::DiagnosticMeasurementIdentifier.obdMid
Mapping Rule Mapping Type
1:1 mapping full
Mapping Status Mapping ID
valid
The Dem accepts reported DTRs only when the configured debouncing mechanism is stable at the
FAIL or PASS limit.
Template Description
The Dem accepts reported DTRs only when the configured debouncing mechanism is stable at the
FAIL or PASS limit.
M2 Parameter
DiagnosticExtract::Dem::DiagnosticTestResult::DiagnosticTestResultUpdateEnum.steady
Mapping Rule Mapping Type
1:1 mapping full
Mapping Status Mapping ID
valid
This class inherits from Identifiable in order to allow further documentation of the expected
or implemented debouncing and to use the category for the identification of the expected /
implemented debouncing.
M2 Parameter
CommonStructure::ServiceNeeds::DiagEventDebounceAlgorithm
Mapping Rule Mapping Type
1:1 mapping full
Mapping Status Mapping ID
valid up_Dem_00022
2. DiagnosticContributionSet.commonProperties.debounceAlgorithm
full
Props.debounceAlgorithm exists and is modeled as a DiagEventDebounce
CounterBased
If both alternatives exist at the same time then the definition ot Diagnos-
ticContributionSet.commonProperties.debounceAlgorithmProps.debounce
Algorithm shall be handled with priority.
Mapping Status Mapping ID
valid up_Dem_00014
DemConsiderPtoStatus EcucBooleanParamDef
BSW Description
This parameter is TRUE, when the event is affected by the Dem PTO handling.
Template Description
This attribute describes the affection of the event by the Dem PTO handling.
DiagnosticTroubleCodeUds.eventObdReadinessGroup:
This attribute specifies the Event OBD Readiness group for PID $01 and PID $41 computation. This
attribute is only applicable for emission-related ECUs.
M2 Parameter
DiagnosticExtract::Dem::DiagnosticTroubleCode::DiagnosticTroubleCodeObd.eventObdReadiness
Group,
DiagnosticExtract::Dem::DiagnosticTroubleCode::DiagnosticTroubleCodeUds.eventObdReadiness
Group
Mapping Rule Mapping Type
1:1 mapping full
Mapping Status Mapping ID
valid up_Dem_00090
DiagnosticTroubleCodeJ1939.fmi:
This attribute represents the behavior of the Failure Mode Indicator.
M2 Parameter
DiagnosticExtract::Dem::DiagnosticTroubleCode::DiagnosticTroubleCodeJ1939.spn,
DiagnosticExtract::Dem::DiagnosticTroubleCode::DiagnosticTroubleCodeJ1939.fmi
Mapping Rule Mapping Type
The value is created out of a combination of the two attribute fmi and spn. The
full
details are explained in the J1939-73 document
Mapping Status Mapping ID
valid up_Dem_00133
true: only tested aging cycle are considered for aging cycle counter
If the attribute is set to TRUE: only tested aging cycle are considered for aging cycle counter.
If the attribute is set to FALSE: aging cycle counter is processed every aging cycle.
M2 Parameter
DiagnosticExtract::DiagnosticCommonProps::DiagnosticCommonProps.agingRequiresTestedCycle
Mapping Rule Mapping Type
1:1 mapping full
Mapping Status Mapping ID
valid up_Dem_00070
BSW Description
This parameter defines the Dem-internal data value, which is mapped to the data element.
Template Description
This represents the ability to further specify the access within the Dem.
M2 Parameter
DiagnosticExtract::ServiceMapping::DiagnosticDemProvidedDataMapping.dataProvider
Mapping Rule Mapping Type
1:1 mapping full
Mapping Status Mapping ID
valid up_Dem_00107
BSW Description
The data is captured immediately within the context of Dem_SetEventStatus.
Template Description
The data is captured immediately within the reporting function (i.e. in the context of the setEventSta-
tus/reportErrorStatus function).
M2 Parameter
DiagnosticExtract::Dem::DiagnosticTroubleCode::EnvironmentCaptureToReportingEnum.capture
SynchronousToReporting
Mapping Rule Mapping Type
1:1 mapping full
Mapping Status Mapping ID
valid up_Dem_00033
BSW Description
Mask for the supported DTC status bits by the Dem. This mask is used by UDS service 0x19.
Template Description
Mask for the supported DTC status bits by the Dem.
M2 Parameter
DiagnosticExtract::DiagnosticCommonProps::DiagnosticCommonProps.dtcStatusAvailabilityMask
Mapping Rule Mapping Type
1:1 mapping full
Mapping Status Mapping ID
valid up_Dem_00084
This attribute fixes the maximum number of event entries in the fault memory.
M2 Parameter
DiagnosticExtract::DiagnosticCommonProps::DiagnosticCommonProps.maxNumberOfEventEn-
tries
Mapping Rule Mapping Type
1:1 mapping full
Mapping Status Mapping ID
valid up_Dem_00109
M2 Parameter
DiagnosticExtract::DiagnosticCommonProps::DiagnosticCommonProps.typeOfDtcSupported
Mapping Rule Mapping Type
1:1 mapping full
Mapping Status Mapping ID
valid up_Dem_00123
valid up_Dem_00057
One or more extended data records can be assigned to one diagnostic event/DTC.
0xF0 to 0xFF are reserved by ISO (therefore the maximal value equals 239)
Template Description
This attribute specifies an unique identifier for an extended data record.
M2 Parameter
DiagnosticExtract::Dem::DiagnosticExtendedDataRecord::DiagnosticExtendedDataRecord.record
Number
Mapping Rule Mapping Type
1:1 mapping full
Mapping Status Mapping ID
valid up_Dem_00102
Dem/DemGeneral/DemExtendedDataRecordClass/DemExtendedDataRecord
Dem
Trigger
BSW Parameter BSW Type
DEM_TRIGGER_ON_TEST_FAILED EcucEnumerationLiteralDef
BSW Description
ExtendedDataRecord will be stored when the UDS status test failed bit changes from 0 to 1.
Template Description
capture on "Test Failed"
M2 Parameter
DiagnosticExtract::Dem::DiagnosticFreezeFrame::DiagnosticRecordTriggerEnum.testFailed
Mapping Rule Mapping Type
1:1 mapping full
Mapping Status Mapping ID
valid up_Dem_00043
Dem Dem/DemGeneral/DemFreezeFrameRecordClass
BSW Parameter BSW Type
DemFreezeFrameRecordTrigger EcucEnumerationParamDef
BSW Description
Defines the trigger to store the FreezeFrameRecord.
Template Description
This attribute defines the primary trigger to allocate an event memory entry.
M2 Parameter
DiagnosticExtract::Dem::DiagnosticFreezeFrame::DiagnosticFreezeFrame.trigger
Mapping Rule Mapping Type
1:1 mapping full
Mapping Status Mapping ID
valid up_Dem_00093
DEM_OBD_DEP_SEC_ECU EcucEnumerationLiteralDef
BSW Description
Kind of OBD ECU: OBD Dependend / Secondary ECU
Template Description
This represents the role "secondary ECU".
M2 Parameter
DiagnosticExtract::DiagnosticContribution::DiagnosticObdSupportEnum.secondaryEcu
Mapping Rule Mapping Type
1:1 mapping full
Mapping Status Mapping ID
valid up_Dem_00129
M2 Parameter
DiagnosticExtract::DiagnosticContribution::DiagnosticObdSupportEnum.primaryEcu
Mapping Rule Mapping Type
1:1 mapping full
Mapping Status Mapping ID
valid up_Dem_00130
Template Description
The occurrence counter is only triggered by the TestFailed bit (and the fault confirmation is not
considered).
M2 Parameter
DiagnosticExtract::DiagnosticCommonProps::DiagnosticOccurrenceCounterProcessingEnum.test
FailedBit
Mapping Rule Mapping Type
1:1 mapping full
Mapping Status Mapping ID
valid up_Dem_00038
Template Description
Defines if the operation cycle state is available over the power cycle (stored non-volatile) or not.
DiagnosticIumprGroup:
This meta-class represents the ability to model a IUMPR groups.
M2 Parameter
CommonStructure::ServiceNeeds::ObdRatioServiceNeeds,
DiagnosticExtract::Dem::DiagnosticEvent::DiagnosticIumprGroup
Mapping Rule Mapping Type
In case the owner of the ObdRatioServiceNeeds is a BSW module then the
DemRatio.shortName = {capitalizedMip}_{ServiceDependency.symbolicName
Props.symbol}. full
DiagnosticIumpr.event:
This reference represents the DiagnosticEvent that corresoponds to the IUMPR computation.
M2 Parameter
DiagnosticExtract::Dem::DiagnosticEvent::DiagnosticIumprGroup.iumpr,
DiagnosticExtract::Dem::DiagnosticEvent::DiagnosticIumpr.event
Mapping Rule Mapping Type
foreach DiagnosticIumprGroup, follow the iumpr reference and then pick the
full
target of the event reference
Mapping Status Mapping ID
valid
Identifiable.category:
The category is a keyword that specializes the semantics of the Identifiable. It affects the expected
existence of attributes and the applicability of constraints.
M2 Parameter
DiagnosticExtract::Dem::DiagnosticEvent::DiagnosticIumprDenominatorGroup.iumpr,
GenericStructure::GeneralTemplateClasses::Identifiable::Identifiable.category
Mapping Rule Mapping Type
DiagnosticIumprDenominatorGroup.category ==IUMPR_DENOMINATOR_500
full
_MILES
Mapping Status Mapping ID
valid
Identifiable.category:
The category is a keyword that specializes the semantics of the Identifiable. It affects the expected
existence of attributes and the applicability of constraints.
M2 Parameter
DiagnosticExtract::Dem::DiagnosticEvent::DiagnosticIumprDenominatorGroup.iumpr,
GenericStructure::GeneralTemplateClasses::Identifiable::Identifiable.category
Mapping Rule Mapping Type
DiagnosticIumprDenominatorGroup == IUMPR_DENOMINATOR_COLDSTAR
full
T
Mapping Status Mapping ID
valid
Identifiable.category:
The category is a keyword that specializes the semantics of the Identifiable. It affects the expected
existence of attributes and the applicability of constraints.
M2 Parameter
DiagnosticExtract::Dem::DiagnosticEvent::DiagnosticIumprDenominatorGroup.iumpr,
GenericStructure::GeneralTemplateClasses::Identifiable::Identifiable.category
Mapping Rule Mapping Type
DiagnosticIumprDenominatorGroup.category == IUMPR_DENOMINATOR_EV
full
AP
Mapping Status Mapping ID
valid
DiagnosticIumprDenominatorGroup.iumpr:
This reference collects DiagnosticIumpr to a DiagnosticIumprDenominatorGroup.
Identifiable.category:
The category is a keyword that specializes the semantics of the Identifiable. It affects the expected
existence of attributes and the applicability of constraints.
M2 Parameter
DiagnosticExtract::Dem::DiagnosticEvent::DiagnosticIumprDenominatorGroup.iumpr,
GenericStructure::GeneralTemplateClasses::Identifiable::Identifiable.category
Mapping Rule Mapping Type
DiagnosticIumprDenominatorGroup.category == IUMPR_DENOMINATOR_NO
full
NE
Mapping Status Mapping ID
valid
Identifiable.category:
The category is a keyword that specializes the semantics of the Identifiable. It affects the expected
existence of attributes and the applicability of constraints.
M2 Parameter
DiagnosticExtract::Dem::DiagnosticEvent::DiagnosticIumprDenominatorGroup.iumpr,
GenericStructure::GeneralTemplateClasses::Identifiable::Identifiable.category
Mapping Rule Mapping Type
DiagnosticIumprDenominatorGroup.category == IUMPR_DENOMINATOR_PH
full
YSICAL_API
Mapping Status Mapping ID
valid
E.4 Fim
DiagnosticFunctionIdentifier:
This meta-class represents a diagnostic function identifier (a.k.a. FID).
M2 Parameter
CommonStructure::ServiceNeeds::FunctionInhibitionNeeds
DiagnosticExtract::Fim::DiagnosticFunctionIdentifier
Mapping Rule Mapping Type
In case the owner of the FunctionInhibitionNeeds is a BSW module then
the FiMFID.shortName= {capitalizedMip}_{ServiceDependency.symbolicName full
Props.symbol}.
Mapping Status Mapping ID
valid up_FiM_00001
FiMInhEventRef EcucSymbolicNameReferenceDef
BSW Description
Selection of an single DEM Event.
Template Description
This represents the alias event appllicable for the referencing inhibition source.
M2 Parameter
DiagnosticExtract::Fim::DiagnosticFunctionInhibitSource.event
Mapping Rule Mapping Type
1:1 mapping full
Mapping Status Mapping ID
valid
Template Description
This represents the inhibition mask behavior "not tested".
M2 Parameter
DiagnosticExtract::Fim::DiagnosticInhibitionMaskEnum.notTested
Mapping Rule Mapping Type
1:1 mapping full
Mapping Status Mapping ID
valid
The summarized EventId definition record consists of a summarized event ID and specific Dem
Events.
This record means that a particular FID that has to be disabled in case of summarized event
(defined above) is to be disabled in any of the specific events. A possible solution could be assigning
events as summarized events along with a list of specific events. During the configuration process
the summarized event substitutes the referenced single events.
However, it is not outlined how this requirement is solved - whether by configuration process
or by implementation within the FiM. The FiM configuration tool could also build up a suitable data
structure for summarized events and deal with it in the FiM implementation.
Template Description
This meta-class represents the ability to model a Fim event group, also known as a summary event
in Fim terminology. This represents a group of single diagnostic events.
M2 Parameter
DiagnosticExtract::Fim::DiagnosticFimEventGroup
Mapping Rule Mapping Type
1:1 mapping full
Mapping Status Mapping ID
valid
Template Description
This represents the dataElement in the application software that is accessed for diagnostic purpose.
M2 Parameter
DiagnosticExtract::ServiceMapping::DiagnosticServiceDataMapping.mappedDataElement
Mapping Rule Mapping Type
DiagnosticServiceDataMapping maps to a primitive element within a compos-
ite data, where the AutosarDataPrototype is typed with a ApplicationComposite full
DataType ImplementationDataType of category STRUCTURE or ARRAY.
Mapping Status Mapping ID
valid up_Dcm_00102
Please note that the J1939Dcm acts as well as mode manager. Therefore the references
J1939DcmSwcModeRef or one J1939DcmBswModeRef might point to provided ModeDeclara-
tionGroupPrototypes of the J1939Dcm itself as well as to provided ModeDeclarationGroupProto-
types of other Bsw Modules or software components.
DiagnosticCompareConditions are atomic conditions. They are based on the idea of a comparison
at runtime of some variable data with something constant. The type of the comparison (==, !=, <, <=,
...) is specified in DiagnosticCompareCondition.compareType.
M2 Parameter
DiagnosticExtract::Dcm::DiagnosticService::EnvironmentalCondition::DiagnosticEnvCompareCon-
dition
Mapping Rule Mapping Type
Depending on the reference a DcmModeCondition is mapped to a Diagnostic
EnvModeCondition if only one reference is present and reference is a DcmSwc
ModeRef or a DcmBswModeRef. If two references are present, a DcmSwc full
SRDataElementRef and a DcmSwcSRDataElementValueRef, then DcmMode
Condition is mapped to a DiagnosticEnvDataCondition.
Mapping Status Mapping ID
valid
Please note that such ModeDeclarationGroupPrototype are owned by a Basic Software Mod-
ule Description in the role providedModeGroup.
Template Description
This reference represents both the ModeDeclarationGroupPrototype and the ModeDeclaration rele-
vant for the mode comparison.
M2 Parameter
DiagnosticExtract::Dcm::DiagnosticService::EnvironmentalCondition::DiagnosticEnvModeCondi-
tion.modeElement
Mapping Rule Mapping Type
For DcmModeRef a new DiagnosticEnvBswModeElement is used, pointing to
the ModeDeclaration via ModeInModuleDescriptionInstanceRef. This new Di-
agnosticEnvModeElement shall be aggregated by the same DiagnosticEnviron-
full
mentalConfition as the DiagnosticEnvModeCondition, in which the target of the
reference DiagnosticEnvModeCondition.modeElement points to the this Diag-
nosticEnvModeElement.
Mapping Status Mapping ID
valid up_Dcm_00273
Template Description
DiagnosticEnvConditionFormula.op:
This attribute represents the concrete operator (supported operators: and, or) of the condition
formula.
DiagnosticCompareTypeEnum.isEqual:
equal
M2 Parameter
DiagnosticExtract::Dcm::DiagnosticService::EnvironmentalCondition::DiagnosticEnvConditionFor-
mula.op,
DiagnosticExtract::Dcm::DiagnosticService::EnvironmentalCondition::DiagnosticCompareType
Enum.isEqual
Mapping Rule Mapping Type
1:1 mapping full
Mapping Status Mapping ID
valid up_Dcm_00265
Template Description
DiagnosticEnvConditionFormula.op:
This attribute represents the concrete operator (supported operators: and, or) of the condition
formula.
DiagnosticCompareTypeEnum.isNotEqual:
not equal
M2 Parameter
DiagnosticExtract::Dcm::DiagnosticService::EnvironmentalCondition::DiagnosticEnvConditionFor-
mula.op,
DiagnosticExtract::Dcm::DiagnosticService::EnvironmentalCondition::DiagnosticCompareType
Enum.isNotEqual
Mapping Rule Mapping Type
1:1 mapping full
Mapping Status Mapping ID
valid up_Dcm_00266
Template Description
DiagnosticEnvConditionFormula.op:
This attribute represents the concrete operator (supported operators: and, or) of the condition
formula.
DiagnosticCompareTypeEnum.isGreaterOrEqual:
greater than or equal
M2 Parameter
DiagnosticExtract::Dcm::DiagnosticService::EnvironmentalCondition::DiagnosticEnvConditionFor-
mula.op,
DiagnosticExtract::Dcm::DiagnosticService::EnvironmentalCondition::DiagnosticCompareType
Enum.isGreaterOrEqual
Mapping Rule Mapping Type
1:1 mapping full
Mapping Status Mapping ID
valid up_Dcm_00269
Template Description
DiagnosticEnvConditionFormula.op:
This attribute represents the concrete operator (supported operators: and, or) of the condition
formula.
DiagnosticCompareTypeEnum.isGreaterThan:
greater than
M2 Parameter
DiagnosticExtract::Dcm::DiagnosticService::EnvironmentalCondition::DiagnosticEnvConditionFor-
mula.op,
DiagnosticExtract::Dcm::DiagnosticService::EnvironmentalCondition::DiagnosticCompareType
Enum.isGreaterThan
Mapping Rule Mapping Type
1:1 mapping full
Mapping Status Mapping ID
valid up_Dcm_00267
Template Description
DiagnosticEnvConditionFormula.op:
This attribute represents the concrete operator (supported operators: and, or) of the condition
formula.
DiagnosticCompareTypeEnum.isLessOrEqual:
less than or equal
M2 Parameter
DiagnosticExtract::Dcm::DiagnosticService::EnvironmentalCondition::DiagnosticEnvConditionFor-
mula.op,
DiagnosticExtract::Dcm::DiagnosticService::EnvironmentalCondition::DiagnosticCompareType
Enum.isLessOrEqual
Mapping Rule Mapping Type
full
Mapping Status Mapping ID
valid up_Dcm_00270
Template Description
DiagnosticEnvConditionFormula.op:
This attribute represents the concrete operator (supported operators: and, or) of the condition
formula.
DiagnosticCompareTypeEnum.isLessThan:
less than
M2 Parameter
DiagnosticExtract::Dcm::DiagnosticService::EnvironmentalCondition::DiagnosticEnvConditionFor-
mula.op,
DiagnosticExtract::Dcm::DiagnosticService::EnvironmentalCondition::DiagnosticCompareType
Enum.isLessThan
Mapping Rule Mapping Type
1:1 mapping full
Mapping Status Mapping ID
valid up_Dcm_00268
DiagnosticExtract::Dcm::DiagnosticService::EnvironmentalCondition::DiagnosticEnvModeCondi-
tion.modeElement
Mapping Rule Mapping Type
For DcmModeRef a new DiagnosticEnvSwcModeElement is used, pointing to
the ModeDeclaration via PModeInSystemInstanceRef. This new Diagnostic
EnvModeElement shall be aggregated by the same DiagnosticEnvironmental
full
Confition as the DiagnosticEnvModeCondition, in which the target of the refer-
ence DiagnosticEnvModeCondition.modeElement points to the this Diagnostic
EnvModeElement.
Mapping Status Mapping ID
valid up_Dcm_00272
All arguments are processed with the operator defined by DcmLogicalOperator, for instance:
Argument_A AND Argument_B AND Argument_C
Template Description
A DiagnosticEnvConditionFormula embodies the computation instruction that is to be evaluated at
runtime to determine if the DiagnosticEnvironmentalCondition is currently present (i.e. the formula
is evaluated to true) or not (otherwise). The formula itself consists of parts which are combined by
the logical operations specified by DiagnosticEnvConditionFormula.op.
Template Description
DiagnosticEnvConditionFormula.op:
This attribute represents the concrete operator (supported operators: and, or) of the condition
formula.
DiagnosticLogicalOperatorEnum.logicalAnd:
Logical AND
M2 Parameter
DiagnosticExtract::Dcm::DiagnosticService::EnvironmentalCondition::DiagnosticEnvConditionFor-
mula.op,
DiagnosticExtract::Dcm::DiagnosticService::EnvironmentalCondition::DiagnosticLogicalOperator
Enum.logicalAnd
Mapping Rule Mapping Type
1:1 mapping full
Mapping Status Mapping ID
valid up_Dcm_00261
Template Description
DiagnosticEnvConditionFormula.op:
This attribute represents the concrete operator (supported operators: and, or) of the condition
formula.
DiagnosticLogicalOperatorEnum.logicalOr:
Logical OR
M2 Parameter
DiagnosticExtract::Dcm::DiagnosticService::EnvironmentalCondition::DiagnosticEnvConditionFor-
mula.op,
DiagnosticExtract::Dcm::DiagnosticService::EnvironmentalCondition::DiagnosticLogicalOperator
Enum.logicalOr
Mapping Rule Mapping Type
1:1 mapping full
Mapping Status Mapping ID
valid up_Dcm_00262