AUTOSAR RS Diagnostics
AUTOSAR RS Diagnostics
AUTOSAR FO R21-11
1 of 73 Document ID 4: AUTOSAR_RS_Diagnostics
Requirements on Diagnostics
AUTOSAR FO R21-11
2 of 73 Document ID 4: AUTOSAR_RS_Diagnostics
Requirements on Diagnostics
AUTOSAR FO R21-11
• OBD-specific configuration
capabilities in DCM and DEM
• Event de-bouncing in DEM
• Freeze Frame and Extended Data
AUTOSAR Record handling in DEM
2013-03-15 4.1.1 Release • Support of SAE J1939
Management • Link Requiriement with BSW Feature
Document
• Updating format of requirements
according to
TPS_StandardizationTemplate
AUTOSAR • Clarification of DET functionality
2011-12-22 4.0.3 Release • Formal Rework for Requirements
Management Tracing
AUTOSAR
2011-04-15 4.0.2 Release • Clarification of DET functionality
Management (remove BSW04088)
3 of 73 Document ID 4: AUTOSAR_RS_Diagnostics
Requirements on Diagnostics
AUTOSAR FO R21-11
AUTOSAR
2006-05-16 2.0 Release • Minor formal changes
Management
AUTOSAR
2005-05-31 1.0 Release • Initial Release
Management
4 of 73 Document ID 4: AUTOSAR_RS_Diagnostics
Requirements on Diagnostics
AUTOSAR FO R21-11
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.
5 of 73 Document ID 4: AUTOSAR_RS_Diagnostics
Requirements on Diagnostics
AUTOSAR FO R21-11
Table of Contents
1 Scope of the Document 12
3 Conventions to be used 13
4 Requirements Specification 14
4.1 Common Diagnostic requirements for Classic and Adaptive Platform . 14
[RS_Diag_04200] Support event combination . . . . . . . . . . . . . . . 14
[RS_Diag_04150] Support the primary fault memory defined by ISO
14229-1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
[RS_Diag_04214] Support the user defined fault memories defined by
ISO 14229-1 . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
[RS_Diag_04068] The diagnostic in AUTOSAR shall support event spe-
cific debounce counters to improve signal quality internally
(According to ISO 14229-1 Appendix D) . . . . . . . . . . . . 15
[RS_Diag_04225] The diagnostic in AUTOSAR shall support event spe-
cific time base debounce counters . . . . . . . . . . . . . . . 16
[RS_Diag_04115] The optional parameter DTCSettingControlOption-
Record as part of UDS service ControlDTCSetting shall be
limited to GroupOfDTC . . . . . . . . . . . . . . . . . . . . . 16
[RS_Diag_04064] Provide configurable buffer sizes for storage of the
events, status information and environmental data . . . . . . 16
[RS_Diag_04172] Inform external service processors about outcome of
the final response . . . . . . . . . . . . . . . . . . . . . . . . 17
[RS_Diag_04127] Configurable record numbers and trigger options for
DTCSnapshotRecords and DTCExtendedDataRecords . . . 17
[RS_Diag_04177] Custom diagnostic services . . . . . . . . . . . . . . 18
[RS_Diag_04059] Configuration of timing parameters . . . . . . . . . . 18
[RS_Diag_04033] Support the upload/download services for read-
ing/writing data in an ECU in an extended and manufacturer
specific diagnostic session . . . . . . . . . . . . . . . . . . . 18
[RS_Diag_04020] Suppress responses to diagnostic tool requests . . . 19
[RS_Diag_04119] Handle the execution of diagnostic services according
to the assigned diagnostic session . . . . . . . . . . . . . . . 19
[RS_Diag_04016] Support ”Busy handling” by sending a negative re-
sponse 0x78 . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
[RS_Diag_04006] Manage session handling . . . . . . . . . . . . . . . . 20
[RS_Diag_04005] Manage Security Access level handling . . . . . . . . 20
[RS_Diag_04135] Support UDS service $38 (RequestFileTransfer) . . . 21
[RS_Diag_04098] Interact with standard bootloader . . . . . . . . . . . 21
[RS_Diag_04159] Control of DTC storage . . . . . . . . . . . . . . . . . 21
[RS_Diag_04157] Reporting of DTCs and related data . . . . . . . . . . 22
[RS_Diag_04156] Support DTCFunctionalUnit . . . . . . . . . . . . . . 22
6 of 73 Document ID 4: AUTOSAR_RS_Diagnostics
Requirements on Diagnostics
AUTOSAR FO R21-11
7 of 73 Document ID 4: AUTOSAR_RS_Diagnostics
Requirements on Diagnostics
AUTOSAR FO R21-11
8 of 73 Document ID 4: AUTOSAR_RS_Diagnostics
Requirements on Diagnostics
AUTOSAR FO R21-11
9 of 73 Document ID 4: AUTOSAR_RS_Diagnostics
Requirements on Diagnostics
AUTOSAR FO R21-11
10 of 73 Document ID 4: AUTOSAR_RS_Diagnostics
Requirements on Diagnostics
AUTOSAR FO R21-11
6 References 72
6.1 Deliverables of AUTOSAR . . . . . . . . . . . . . . . . . . . . . . . . . 72
6.2 Related standards and norms . . . . . . . . . . . . . . . . . . . . . . . 72
6.2.1 ITEA-EAST . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72
6.2.2 ISO . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73
11 of 73 Document ID 4: AUTOSAR_RS_Diagnostics
Requirements on Diagnostics
AUTOSAR FO R21-11
DM Diagnostic Management
12 of 73 Document ID 4: AUTOSAR_RS_Diagnostics
Requirements on Diagnostics
AUTOSAR FO R21-11
3 Conventions to be used
In requirements, the following specific semantics are used :
The key words ”MUST”, ”MUST NOT”, ”REQUIRED”, ”SHALL”, ”SHALL NOT”,
”SHOULD”, ”SHOULD NOT”, ”RECOMMENDED”, ”MAY” and ”OPTIONAL” in this doc-
ument are to be interpreted . Note that the requirement level of the document in which
they are used modifies the force of these words.
• SHALL: This word means that the definition is an absolute requirement of the
specification.
• SHALL NOT: This phrase means that the definition is an absolute prohibition of
the specification.
• MUST: This word, or the terms ”REQUIRED” or ”SHALL”, mean that the definition
is an absolute requirement of the specification.
• MUST NOT: This phrase, or the phrase ”SHALL NOT”, means that the definition
is an absolute prohibition of the specification.
• SHOULD: This word, or the adjective ”RECOMMENDED”, mean that there may
exist valid reasons in particular circumstances to ignore a particular item, but the
13 of 73 Document ID 4: AUTOSAR_RS_Diagnostics
Requirements on Diagnostics
AUTOSAR FO R21-11
4 Requirements Specification
c(RS_Main_00260)
[RS_Diag_04150] Support the primary fault memory defined by ISO 14229-1 d
The diagnostic in AUTOSAR shall support the primary fault memory defined by
Description:
ISO 14229-1.
Rationale: Storage of fault information for workshops.
5
14 of 73 Document ID 4: AUTOSAR_RS_Diagnostics
Requirements on Diagnostics
AUTOSAR FO R21-11
4
AppliesTo: CP, AP
Dependencies: Production line, garage after reparation,...
The primary fault memory is used to store fault information that is related to
Use Case:
defects in the vehicle and helps the workshops to identify the fault and repair it.
Supporting –
Material:
c(RS_Main_00260)
[RS_Diag_04214] Support the user defined fault memories defined by ISO 14229-
1d
The diagnostic in AUTOSAR shall support the user defined fault memories
Description:
defined by ISO 14229-1.
Rationale: Independent storage of fault information.
User defined fault memories are used by OEM and Tier1 during development
Use Case: or for storing warranty relevant information inside. This information is not
relevant for workshops or repairing the vehicle.
AppliesTo: CP, AP
Dependencies: –
Supporting ISO 14229-1 v.2013
Material:
c(RS_Main_00260)
[RS_Diag_04068] The diagnostic in AUTOSAR shall support event specific de-
bounce counters to improve signal quality internally (According to ISO 14229-1
Appendix D) d
15 of 73 Document ID 4: AUTOSAR_RS_Diagnostics
Requirements on Diagnostics
AUTOSAR FO R21-11
4
Supporting –
Material:
c(RS_Main_00260, RS_Main_00420)
[RS_Diag_04225] The diagnostic in AUTOSAR shall support event specific time
base debounce counters d
The diagnostic in AUTOSAR shall support event specific time base debounce
counters. The time based debouncing use a configurable time instead of
counter threshold. The time is reloaded and running after the last monitor
Description:
result/event status is different to the previous. After the time is exceeded the
event has qualified.This type of counters can be managed either internally or
externally.
Rationale: Advanced fault analysis
All applications and system modules can report events. The diagnostic module
Use Case: processes all these events and is able to provide a central de-bounce behavior
for event classification and status management.
AppliesTo: CP, AP
Dependencies: –
Supporting –
Material:
c(RS_Main_00260, RS_Main_00420)
[RS_Diag_04115] The optional parameter DTCSettingControlOptionRecord as
part of UDS service ControlDTCSetting shall be limited to GroupOfDTC d
c(RS_Main_00260)
[RS_Diag_04064] Provide configurable buffer sizes for storage of the events, sta-
tus information and environmental data d
16 of 73 Document ID 4: AUTOSAR_RS_Diagnostics
Requirements on Diagnostics
AUTOSAR FO R21-11
c(RS_Main_00011)
[RS_Diag_04172] Inform external service processors about outcome of the final
response d
c(RS_Main_00260, RS_Main_00420)
[RS_Diag_04127] Configurable record numbers and trigger options for DTC-
SnapshotRecords and DTCExtendedDataRecords d
c(RS_Main_00260)
17 of 73 Document ID 4: AUTOSAR_RS_Diagnostics
Requirements on Diagnostics
AUTOSAR FO R21-11
AppliesTo: CP, AP
Dependencies: [RS_DEXT_00047]
Most of the services that are in ISO 14229-1 and are also specified by
AUTOSAR. Modifying the existing services behavior or adding customized
Use Case: behavior to existing services (e.g. not having session P2 timing values in the
positive response to diagnostic session control or adding specific services such
as "data log" services).
c(RS_Main_00260)
[RS_Diag_04059] Configuration of timing parameters d
c(RS_Main_00011, RS_Main_00260)
[RS_Diag_04033] Support the upload/download services for reading/writing data
in an ECU in an extended and manufacturer specific diagnostic session d
18 of 73 Document ID 4: AUTOSAR_RS_Diagnostics
Requirements on Diagnostics
AUTOSAR FO R21-11
4
Dependencies:
Supporting ISO14229-1 v.2013
Material:
c(RS_Main_00011)
[RS_Diag_04020] Suppress responses to diagnostic tool requests d
c(RS_Main_00011)
[RS_Diag_04119] Handle the execution of diagnostic services according to the
assigned diagnostic session d
c(RS_Main_00011)
[RS_Diag_04016] Support ”Busy handling” by sending a negative response 0x78
d
19 of 73 Document ID 4: AUTOSAR_RS_Diagnostics
Requirements on Diagnostics
AUTOSAR FO R21-11
The diagnostic in AUTOSAR shall provide the sending of the negative response
Description:
0x78 in order get more time to build up the final positive or negative response.
Ensure a steady and save communication link and guarantee specified timing
Rationale:
conditions.
Use Case: When an application cannot provide the response in the protocol specific time
AppliesTo: CP, AP
Dependencies:
Supporting ISO14229-1 v.2013
Material:
c(RS_Main_00011)
[RS_Diag_04006] Manage session handling d
The diagnostic in AUTOSAR shall support the transition from a default session
Description: to any other session, also back to the default session. (A diagnostic session
enables a specific set of diagnostic services and/or functionality).
Some diagnostic services are not available in the default session. Therefore it
is necessary to have information about the current session and no service
Rationale:
which is connected to a non default session will be processed in the default
session.
Special services need a different session than the default session, e.g.
Use Case: Reduction of communication traffic on the network in order to get more
performance for the flash programming.
AppliesTo: CP, AP
Dependencies: [RS_Diag_04005] SecurityAccess level handling
Supporting –
Material:
c(RS_Main_00011)
[RS_Diag_04005] Manage Security Access level handling d
c(RS_Main_00011)
20 of 73 Document ID 4: AUTOSAR_RS_Diagnostics
Requirements on Diagnostics
AUTOSAR FO R21-11
c(RS_Main_00011)
[RS_Diag_04098] Interact with standard bootloader d
c(RS_Main_00260)
[RS_Diag_04159] Control of DTC storage d
The diagnostic in AUTOSAR shall support control of DTC storage via UDS
Description:
service 0x85.
Rationale: Avoiding unwanted storage of DTCs.
5
21 of 73 Document ID 4: AUTOSAR_RS_Diagnostics
Requirements on Diagnostics
AUTOSAR FO R21-11
4
No DTCs storage when functional communication is deactivated during ECU
Use Case: reprogramming.
AppliesTo: CP, AP
Dependencies: –
Supporting –
Material:
c(RS_Main_00011)
[RS_Diag_04157] Reporting of DTCs and related data d
Description: The diagnostic in AUTOSAR shall provide the reporting of DTCs and related
data.
Rationale: Report failure memory data to the requester.
Use Case: All services reporting fault memory data.
AppliesTo: CP, AP
Dependencies: –
Supporting –
Material:
c(RS_Main_00011)
[RS_Diag_04156] Support DTCFunctionalUnit d
c(RS_Main_00011)
[RS_Diag_04077] Uses standard mechanisms provided by persistency modules
d
Description: –
Rationale: Non volatile data storage
Triggered data storage during normal ECU operation to avoid loss of volatile
Use Case:
data / event information.
AppliesTo: CP, AP
5
22 of 73 Document ID 4: AUTOSAR_RS_Diagnostics
Requirements on Diagnostics
AUTOSAR FO R21-11
4
Dependencies: –
Supporting –
Material:
c(RS_Main_00130, RS_Main_00440)
[RS_Diag_04131] Consistent event management mechanisms d
Description: All memory locations shall use the same event management mechanisms.
Rationale: Ensure identical event management behavior.
Use Case: –
AppliesTo: CP, AP
Dependencies: –
Supporting –
Material:
c(RS_Main_00260)
[RS_Diag_04117] Configurable behavior for DTC deletion d
c(RS_Main_00260)
[RS_Diag_04107] Provide defensive behavior d
23 of 73 Document ID 4: AUTOSAR_RS_Diagnostics
Requirements on Diagnostics
AUTOSAR FO R21-11
4
Use the optional CRC and redundancy capabilities provided by the AUTOSAR
persistency modules for stored fault memory blocks. Only blocks assigned to
Supporting
error events of high severity can be protected. These blocks can be stored in
Material:
non-volatile memory when the error event is confirmed (before shutdown of the
ECU)
c(RS_Main_00011)
[RS_Diag_04105] Event memory management d
c(RS_Main_00420)
[RS_Diag_04091] Notification about valid freeze frame data to applications d
c(RS_Main_00260)
[RS_Diag_04151] Event status handling d
24 of 73 Document ID 4: AUTOSAR_RS_Diagnostics
Requirements on Diagnostics
AUTOSAR FO R21-11
c(RS_Main_00260)
[RS_Diag_04071] Process events according to their defined importance like pri-
ority and/or severity d
The events shall be sorted or assigned to a specific priority (e.g. Severity Mask
- ISO14229-1 v.2013,Annex D3) representing their importance like:
Description: • Healed events can be overwritten;
• Privileged storing in case of Event Buffer filled up with less privileged
events.
Rationale: ISO14229-1 v.2013
Use Case: Improved clustering and judging of events.
AppliesTo: CP, AP
Dependencies: –
Supporting ISO14229-1 v.2013
Material:
c(RS_Main_00260)
[RS_Diag_04125] Event debounce counter shall be configurable d
c(RS_Main_00420)
25 of 73 Document ID 4: AUTOSAR_RS_Diagnostics
Requirements on Diagnostics
AUTOSAR FO R21-11
c(RS_Main_00260)
[RS_Diag_04140] Aging for UDS status bits ”confirmedDTC” and ”test-
FailedSinceLastClear” d
The diagnostic in AUTOSAR shall provide the capability to age both the
confirmedDTC bit and the testFailedSinceLastClear bit after a configurable
Description:
number of aging cycles has been reached. The value at which each bit is aged
may be different between the two.
Rationale: –
Use Case: –
AppliesTo: CP, AP
Dependencies: –
Supporting –
Material:
c(RS_Main_00260)
[RS_Diag_04231] Supported client certificates d
Diagnostics in AUTOSAR shall support the client certificate formats CVC and
Description: X.509 in service 0x29 diagnostic requests. The supported certificate type shall
be configurable.
Only the subset of common known and used client certificate types shall be
Rationale: accepted by diagnostics in AUTOSAR. This allows a standardized handling and
evaluation of certificates and content.
The OEM PKI issues a certificate for a repair shop diagnostic tester. The
Use Case: diagnostic tester and authenticates itself with the ECU.
AppliesTo: CP, AP
Dependencies: –
5
26 of 73 Document ID 4: AUTOSAR_RS_Diagnostics
Requirements on Diagnostics
AUTOSAR FO R21-11
4
Supporting Concept 636 "Security Extensions"
Material:
c(RS_Main_00260)
[RS_Diag_04232] Access rights in client certificates d
The client certificate extensions shall contain well-defined data with diagnostic
access rights. The following access rights types shall be available:
• Role based access rights
• Dynamic access rights
For role based access rights, the ECU maintains information about diagnostic
services allowed to be executed if the tester has gained authentication in that
Description: role. The valid client certificate sets the tester into that role. Certificates can
contain multiple roles to be active at the same point in time.
For dynamic access rights, the certificate contains a whitelist of allowed
diagnostic services to be executed. The white list access shall allow wildcards
on PDU level. Both access right types can be active at any point in time and a
logical ’Or’ operation shall be applied.
The structured data layout of the certificate’s access rights content shall be
specified by AUTOSAR.
Only well-defined client certificate shall be accepted by diagnostics in
Rationale: AUTOSAR that allows a standardized handling and evaluation of certificates
and content.
The OEM PKI issues a certificate for a repair shop with role based or individual
Use Case: access rights for diagnostic services.
AppliesTo: CP, AP
Dependencies: –
Supporting Concept 636 "Security Extensions"
Material:
c(RS_Main_00170)
[RS_Diag_04233] Access granularity of diagnostic services d
27 of 73 Document ID 4: AUTOSAR_RS_Diagnostics
Requirements on Diagnostics
AUTOSAR FO R21-11
A service can be executed, if any of the above properties is part of the role or
current dynamic access rights (white list).
A definition is required how, the diagnostic service is identified to be executed.
Especially the level of granularity is important to reduce the resource
Rationale: consumption to a minimum. The SID check is very coarse but efficient, for
services with sub-function the sub-function can be taken into account. Further
services with DIDs and RIDs are identified by this identifier only.
An authentication state allows to execute any ECU reset service, is restricted to
Use Case:
extended session, allows 5 DIDs and one RID to be executed.
AppliesTo: CP, AP
Dependencies: –
Supporting Concept 636 "Security Extensions"
Material:
c(RS_Main_00170)
[RS_Diag_04234] Binary compatibility of white list for individual access d
Diagnostics in AUTOSAR shall specify the white list binary layout. This layout
Description:
shall be compatible for all ECUs independent from the endianness in place.
A definition is required how a white list shall look like so it can be downloaded
Rationale:
into any ECU software independent from the used implementation.
A certain binary layout for a white list shall define a well-defined set of
Use Case: diagnostic services that are allowed to be executed.
AppliesTo: CP, AP
Dependencies: –
Supporting Concept 636 "Security Extensions"
Material:
c(RS_Main_00170)
[RS_Diag_04235] Client certificate validity d
28 of 73 Document ID 4: AUTOSAR_RS_Diagnostics
Requirements on Diagnostics
AUTOSAR FO R21-11
4
Use Case: The OEM PKI issues a certificate (e.g. for a repair shop) for a defined period.
AppliesTo: CP, AP
Dependencies: –
Supporting Concept 636 "Security Extensions"
Material:
c(RS_Main_00170)
[RS_Diag_04236] Client certificate target identification d
c(RS_Main_00170)
[RS_Diag_04237] Client certificate evaluation d
c(RS_Main_00170)
[RS_Diag_04238] Logging certificate evaluation d
29 of 73 Document ID 4: AUTOSAR_RS_Diagnostics
Requirements on Diagnostics
AUTOSAR FO R21-11
The diagnostic policy manager shall report a security event every time a
Description: certificate is passed for evaluation. The event data shall contain at least the
result of the certificate evaluation.
Forensic analysis and interested parties require information which kind of
Rationale: access was requested and granted to diagnostic testers.
A certificated with extended access rights is provided by the diagnostic tester.
Use Case: A security event provides information about that specific certificate was
provided to the ECU.
AppliesTo: CP, AP
Dependencies: –
Supporting Concept 636 "Security Extensions"
Material:
c(RS_Main_00170)
[RS_Diag_04239] Diagnostic services in deauthenticated state d
c(RS_Main_00170)
[RS_Diag_04240] Application based authentication d
c(RS_Main_00170)
[RS_Diag_04133] Aging for event memory entries d
30 of 73 Document ID 4: AUTOSAR_RS_Diagnostics
Requirements on Diagnostics
AUTOSAR FO R21-11
The diagnostic in AUTOSAR shall support aging for event memory entries to
Description: remove entries from the event memory which have not failed for a specific
number of operating cycles.
Rationale: Remove information from fault memory that is not relevant for a repair action.
Network timeout fault that has been detected, but is not in active state any
Use Case:
more.
AppliesTo: CP, AP
Dependencies: –
Supporting –
Material:
c(RS_Main_00260)
[RS_Diag_04063] Process a dedicated event identifier for each monitoring path
to support an autonomous handling of different events/faults d
c(RS_Main_00011)
[RS_Diag_04148] Provide capabilities to inform applications about diagnostic
data changes d
c(RS_Main_00260)
31 of 73 Document ID 4: AUTOSAR_RS_Diagnostics
Requirements on Diagnostics
AUTOSAR FO R21-11
Use-case summary:
c(RS_Main_00420, RS_Main_00260)
[RS_Diag_04067] Provide the diagnostic status information according to ISO
14229-1 d
c(RS_Main_00420, RS_Main_00260)
32 of 73 Document ID 4: AUTOSAR_RS_Diagnostics
Requirements on Diagnostics
AUTOSAR FO R21-11
c(RS_Main_00260)
[RS_Diag_04178] Support operation cycles according to ISO 14229-1 d
c(RS_Main_00260)
[RS_Diag_04201] Support a configuration to assign specific events to a cus-
tomer specific DTC d
c(RS_Main_00260)
[RS_Diag_04180] Process all UDS Services related to diagnostic fault memory of
ISO 14229-1 internally d
33 of 73 Document ID 4: AUTOSAR_RS_Diagnostics
Requirements on Diagnostics
AUTOSAR FO R21-11
Service implementation of all UDS services, which are related to fault memory
Description: shall be implemented internally within diagnostic in AUTOSAR without
delegating the processing/part of the processing to external modules.
Since diagnostic in AUTOSAR is also responsible for fault memory
Rationale: management, all fault memory related UDS services have to be processed
internally.
AppliesTo: CP, AP
Dependencies: –
Use Case: Fault memory handling like 0x85, 0x14, 0x19 have to be processed internally.
Supporting ISO 14229-1
Material:
c(RS_Main_00260)
[RS_Diag_04182] Provide an application interface to change operation cycles
states d
c(RS_Main_00060)
[RS_Diag_04183] Notify interested parties about event status changes d
Description: Event status change report shall be available for application subscribing for the
notification.
Event specific status information is handled diagnostic in AUTOSAR internally,
Rationale: the change of the status might be relevant for monitoring or other applications.
AppliesTo: CP, AP
Dependencies: –
Use Case: The application gets informed about relevant event status change.
c(RS_Main_00060)
[RS_Diag_04185] Notify applications about the clearing of an event d
34 of 73 Document ID 4: AUTOSAR_RS_Diagnostics
Requirements on Diagnostics
AUTOSAR FO R21-11
Description: Interested monitoring application shall be notified about the clearing of event
status information and event related data.
Rationale: Monitor reinitialization can be triggered by the clear notification.
AppliesTo: CP, AP
Dependencies: –
After the event status is cleared diagnostic in AUTOSAR informs the relevant
Use Case: monitoring application which can be reinitialized.
c(RS_Main_00060)
[RS_Diag_04186] Notify applications about the start or restart of an operation
cycle d
c(RS_Main_00060)
[RS_Diag_04204] Provide the current status of each warning indicator. d
The diagnostic in AUTOSAR shall derive the current warning indicator status
Description: from the assigned events according to ISO 14229-1. The
warningIndicatorRequested bit shall be set according to ISO 14229-1.
The warning indicator status is used to activate or deactivate indicators like
Rationale: lamps, text message or a beep. The state is calculated in diagnostic in
AUTOSAR wherefore the information needs to be distribution to the application.
AppliesTo: CP, AP
Dependencies: –
Indications of certain malfunctions to the driver (e.g. Malfunction Indicator
Use Case:
Lamp (MIL)).
c(RS_Main_00060, RS_Main_00420)
[RS_Diag_04205] Support of SnapshotRecords d
35 of 73 Document ID 4: AUTOSAR_RS_Diagnostics
Requirements on Diagnostics
AUTOSAR FO R21-11
c(RS_Main_00260, RS_Main_00011)
[RS_Diag_04206] Support of ExtendedDataRecords d
c(RS_Main_00260, RS_Main_00011)
[RS_Diag_04189] Support a fine grained configuration for SnapshotRecords and
ExtendedDataRecords d
36 of 73 Document ID 4: AUTOSAR_RS_Diagnostics
Requirements on Diagnostics
AUTOSAR FO R21-11
4
AppliesTo: CP, AP
Dependencies: –
diagnostic in AUTOSAR collects SnapshotRecord data from different
Use Case: application and merges diagnostic information into one DID.
c(RS_Main_00260, RS_Main_00011)
[RS_Diag_04190] Usage of internal data elements in SnapshotRecords and Ex-
tendedDataRecords d
c(RS_Main_00260, RS_Main_00011)
[RS_Diag_04192] Provide the ability to handle event specific enable conditions d
c(RS_Main_00260, RS_Main_00420)
[RS_Diag_04219] Provide the ability to handle event specific storage conditions
d
37 of 73 Document ID 4: AUTOSAR_RS_Diagnostics
Requirements on Diagnostics
AUTOSAR FO R21-11
4
Support mechanisms to avoid event memory entries in situations where the
Rationale:
event related data is of no interest.
AppliesTo: CP, AP
Dependencies: –
For certain events only safety related information (e.g. via Fim) are derived but
Use Case: the further processing can be skipped as another root cause is active and only
event related data for that root cause is stored.
c(RS_Main_00260, RS_Main_00420)
[RS_Diag_04194] ClearDTC shall be accessible for applications d
c(RS_Main_00260, RS_Main_00060)
[RS_Diag_04195] Chronological reporting order of the DTCs located in the con-
figured event memory d
c(RS_Main_00260, RS_Main_00011)
[RS_Diag_04211] Persistent storage of DTC status and environmental data d
The diagnostic in AUTOSAR shall support the non-volatile storage for event
Description:
status and environmental data parameters required by ISO 14229-1.
According to the ISO 14229-1 UDS specification a set of status information and
Rationale:
environmental data shall be stored non-volatile.
5
38 of 73 Document ID 4: AUTOSAR_RS_Diagnostics
Requirements on Diagnostics
AUTOSAR FO R21-11
4
AppliesTo: CP, AP
Dependencies: –
Use Case: Status information is stored non-volatile over power cycles.
Supporting ISO 14229-1 Appendix D
Material:
c(RS_Main_00011)
[RS_Diag_04196] UDS Service handling for all diagnostic services defined in ISO
14229-2 d
The diagnostic in AUTOSAR shall implement the protocol handling for all UDS
Description:
services defined in ISO 14229-2.
The diagnostic in AUTOSAR shall be the central service handler for UDS
Rationale: diagnostics.
AppliesTo: CP, AP
Dependencies: –
Use Case: Interaction with UDS compliant tester on Ethernet.
Supporting ISO 14229
Material:
c(RS_Main_00260)
[RS_Diag_04203] Common checks on all supported UDS Services Requests d
For UDS services the support for the requested SID shall be checked by the
diagnostic module. If the service ID is valid and depending on the service ID,
Description:
the potential sub-function identifier shall be checked for support by the
diagnostic module.
The diagnostic in AUTOSAR shall be UDS compliant and shall do general
checks, which can be done on UDS protocol level centrally, independently
Rationale:
whether the service is processed internally or externally by a applications as
service processor.
AppliesTo: CP, AP
Dependencies: –
Use Case: It must verified if the services requested is supported or not (i.g. ClearDTC,...)
Supporting ISO 14229
Material:
c(RS_Main_00260)
[RS_Diag_04226] Diagnostic session check d
39 of 73 Document ID 4: AUTOSAR_RS_Diagnostics
Requirements on Diagnostics
AUTOSAR FO R21-11
For UDS services the support for Diagnostic session shall be checked by the
Description:
diagnostic module.
The diagnostic in AUTOSAR shall be UDS compliant and shall do general
checks, which can be done on UDS protocol level centrally, independently
Rationale:
whether the service is processed internally or externally by applications as
service processor.
AppliesTo: CP, AP
Dependencies: –
Use Case: Session change should allow only specified changes.
Supporting ISO 14229
Material:
c(RS_Main_00260)
[RS_Diag_04227] Common check for Security Access d
For UDS services the support for Diagnostic security level shall be checked by
Description:
the diagnostic module.
The diagnostic in AUTOSAR shall be UDS compliant and shall do general
checks, which can be done on UDS protocol level centrally, independently
Rationale:
whether the service is processed internally or externally by applications as
service processor.
AppliesTo: CP, AP
Dependencies: –
Use Case: To protect services from being accessed by non-authorized users.
Supporting ISO 14229
Material:
c(RS_Main_00260)
[RS_Diag_04228] Common check for Message lengths d
For UDS services the support for Message length shall be checked by the
Description:
diagnostic module.
The diagnostic in AUTOSAR shall be UDS compliant and shall do general
checks, which can be done on UDS protocol level centrally, independently
Rationale:
whether the service is processed internally or externally by applications as
service processor.
AppliesTo: CP, AP
Dependencies: –
The message length must be checked and if it does not respect a predefined
Use Case: range , the requested service will be rejected.
Supporting ISO 14229
Material:
c(RS_Main_00260)
40 of 73 Document ID 4: AUTOSAR_RS_Diagnostics
Requirements on Diagnostics
AUTOSAR FO R21-11
The clearance of user defined fault memory shall be possible according to the
ISO 14229 draft document:
Description:
“02_ISO_14229-1_Comments-Summary_2016-09-13.docx” via diagnostic
requests.
Rationale: Provide a standardized way to clear user defined fault memory.
AppliesTo: CP, AP
Dependencies: –
OEM and TIER1 using the user defined fault memory need to clear the user
Use Case: defined memory. A standardized way make OEM or TIER1 specific solutions
obsolete, which were incompatible to each.
Supporting ISO 14229-1
Material:
c(RS_Main_00260)
[RS_Diag_04198] Process all UDS Services related to session and security man-
agement of ISO 14229 internally d
Service implementation of all UDS services, which are related to session and
security management (DiagnosticSessionControl, SecurityAccess and
TesterPresent from ’Diagnostic and Communication Management functional
unit’), shall be implemented internally within diagnostic in AUTOSAR without
Description:
delegating the processing/part of the processing to external modules. This
does NOT exclude, that diagnostic in AUTOSAR does callout to external
application for instance to get/check certain security keys. But the state
machine/protocol is handled internally by diagnostic in AUTOSAR.
Session and security management is an integral part of general UDS service
Rationale: handling and has therefore to be implemented internally.
AppliesTo: CP, AP
Dependencies: –
Use Case: General diagnostic protocol processing.
Supporting ISO 14229
Material:
c(RS_Main_00260, RS_Main_00011)
[RS_Diag_04199] Provide a configurable UDS service execution mechanism at
runtime to decide if a UDS request shall be processed or not d
41 of 73 Document ID 4: AUTOSAR_RS_Diagnostics
Requirements on Diagnostics
AUTOSAR FO R21-11
4
Dependencies: –
Use Case: Control of service access centrally done in one application.
c(RS_Main_00260, RS_Main_00011)
[RS_Diag_04208] Inform the application about diagnostic session and diagnostic
security level changes on each tester connection. d
In case the currently active UDS session or security level change on a tester
conversation, the diagnostic in AUTOSAR shall provide a notification
Description:
mechanism for the application, to inform the applications about the new
session or security level and the affected tester connection.
Session changes happen asynchronously to service processor
Rationale: implementations. But there exists functionality that needs to react on session
changes.
AppliesTo: CP, AP
Dependencies: [RS_Diag_04169]
Use Case: Flexibility for service processor implementations.
c(RS_Main_00260, RS_Main_00011)
[RS_Diag_04218] Support of UDS service 0x2F InputOutputControlByIDentifier d
The Diagnostic Management shall support the ISO 14229-1 service 0x2F
Description:
InputOutputControlByIDentifier
Rationale: Allow to simulate input values and to control output values
AppliesTo: CP, AP
In workshop or production checks with the input and output channels of the
Use Case:
ECU is needed.
Supporting ISO 14229-1
Material:
c(RS_Main_00260, RS_Main_00011)
[RS_Diag_04222] Independence of clearing DTC status and system degradation
d
42 of 73 Document ID 4: AUTOSAR_RS_Diagnostics
Requirements on Diagnostics
AUTOSAR FO R21-11
4
To achieve clearing of DTC status information and simultaneously keep the
system degradation, it shall be possible for events to not to change their failed
Use Case: status upon a call of clear. Nevertheless status bytes of DTCs which are not
related to system degradation shall be cleared
Supporting ISO 14229-1
Material:
c(RS_Main_00260, RS_Main_00011)
[RS_Diag_04224] Support the UDS service 0x31 (RoutineControl) according to
ISO 14229-1 d
The diagnostic in AUTOSAR shall support the ISO 14229-1 service 0x31
Description:
RoutineControl with all sub-functions
RoutineControl is an integral part of ISO 14229-1 and used in most ECUs for
Rationale: customer specific actions triggered by diagnostic services.
AppliesTo: CP, AP
Use Case: Diagnostic tester starts a routine in the server.
Supporting ISO 14229-1
Material:
c(RS_Main_00260, RS_Main_00011)
[RS_Diag_04242] The DoIP module shall support Vehicle Internal Testers. d
In addition to external tester, The DoIP module shall support Vehicle Internal
Description:
Testers and shall reference the ISO standards 13400-2 for this purpose.
Rationale: Support in vehicle DoIP communication.
DoIP testers not just resides outside vehicle network but also possible to reside
Use Case: inside vehicle network. Support in vehicle DoIP communication.
AppliesTo: CP, AP
Dependencies: –
ISO 13400-2, Road vehicles – Diagnostic communication over Internet Protocol
Supporting
(DoIP) – Part 2: Transport protocol and network layer services ISO 13400-2
Material:
extension with Internal tester concept.
c(RS_Main_00260)
[RS_Diag_04147] Communication with the transport layers to receive and send
diagnostic data d
43 of 73 Document ID 4: AUTOSAR_RS_Diagnostics
Requirements on Diagnostics
AUTOSAR FO R21-11
4
Use Case: Support of various transport protocols (ISO-15765-2, ...).
AppliesTo: CP, AP
Dependencies: –
Supporting –
Material:
c(RS_Main_00011, RS_Main_00260)
[RS_Diag_04244] Support sub-function 0x04 of UDS service 0x19. d
c(RS_Main_00260)
[RS_Diag_04245] Support sub-function 0x06 of UDS service 0x19. d
c(RS_Main_00260)
[RS_Diag_04058] Ability to access different event memories d
44 of 73 Document ID 4: AUTOSAR_RS_Diagnostics
Requirements on Diagnostics
AUTOSAR FO R21-11
4
AppliesTo: CP, AP
Dependencies: –
Supporting –
Material:
c(RS_Main_00011)
[RS_Diag_04160] ResponseOnEvent according to ISO 14229-1 d
c(RS_Main_00260)
[RS_Diag_04109] Provide an interface to retrieve the number of event memory
entries d
c(RS_Main_00420)
[RS_Diag_04246] Support of UDS service DynamicallyDefineDataIdentifier
(0x2C) with subfunction 0x01 (defineByIdentifier) d
45 of 73 Document ID 4: AUTOSAR_RS_Diagnostics
Requirements on Diagnostics
AUTOSAR FO R21-11
4
UDS defines this service to allow the client to dynamically define a data
Rationale:
identifier at a later point in time.
Read operations for tailored data identifier that are build out of a collection of
Use Case: parts or full content of existing data identifiers with UDS service 0x22/0x2A.
AppliesTo: CP, AP
Dependencies: –
Supporting –
Material:
c(RS_Main_00420)
[RS_Diag_04215] Support of UDS service ReadDataByPeriodicIdentifier (0x2A) d
c(RS_Main_00260)
[RS_Diag_04248] Support of session control service d
c(RS_Main_00260)
[RS_Diag_04249] Support of session layer service d
46 of 73 Document ID 4: AUTOSAR_RS_Diagnostics
Requirements on Diagnostics
AUTOSAR FO R21-11
The diagnostic in AUTOSAR shall support the session layer services defined by
Description:
ISO-14229-2.
Rationale: OSI compliant network adaption.
Organizing the diagnostic communication within heterogeneous network
Use Case: systems (e.g.keep alive logic).
AppliesTo: CP, AP
Dependencies: –
Supporting –
Material:
c(RS_Main_00260)
[RS_Diag_04093] Memory overflow indication d
For each Event Memory it shall be indicated if the related event memory (e.g.
Description: primary and user defined memories) is full and the next event occurs to be
stored in this event memory.
The information that an event memory overflow occurred is very important for
Rationale:
fault analysis.
• Triggering further internal behavior (e.g displacement strategies)
Use Case: • Linking this information to a dedicated Extended Data Record
• Vendor specific UDS-Service
AppliesTo: CP, AP
Dependencies: –
Supporting –
Material:
c(RS_Main_00260)
[RS_Diag_04118] Optionally support event displacement d
c(RS_Main_00260)
47 of 73 Document ID 4: AUTOSAR_RS_Diagnostics
Requirements on Diagnostics
AUTOSAR FO R21-11
c(RS_Main_00011, RS_Main_00260)
[RS_Diag_04124] Store the current debounce counter value nonvolatile to over a
powerdown cycle d
c(RS_Main_00260, RS_Main_00420)
[RS_Diag_04112] The DEM module shall support DTCs according to SAE J1939
d
48 of 73 Document ID 4: AUTOSAR_RS_Diagnostics
Requirements on Diagnostics
AUTOSAR FO R21-11
Description: The DEM module shall support DTCs according to SAE J1939-73.
Rationale: Support of SAE J1939-73
Use Case: Diagnostics in HDV, HD-OBD
AppliesTo: CP
Dependencies: DEM, J1939DCM
Supporting –
Material:
c(RS_Main_00260)
[RS_Diag_04139] Support subfunction 0x42 of UDS service 0x19 d
c(RS_Main_00260)
[RS_Diag_04129] Provide OBD-specific configuration capabilities d
49 of 73 Document ID 4: AUTOSAR_RS_Diagnostics
Requirements on Diagnostics
AUTOSAR FO R21-11
4
Supporting –
Material:
c(RS_Main_00260)
[RS_Diag_04163] Parallel OBD and UDS processing d
Description: Diagnostics shall support the parallel processing of OBD and UDS protocols.
Vehicles can be equipped with On-board testers which send diagnostic
Rationale: requests at any arbitrary point in time. Legislative OBD requests need to be
processed independently from a UDS requests from On-board testers.
Use Case: Parallel reception of diagnostic requests from multiple testers.
AppliesTo: CP
Dependencies: –
Supporting –
Material:
c(RS_Main_00260)
[RS_Diag_04161] Provide support for the ASMIP algorithm d
c(RS_Main_00260)
[RS_Diag_04230] Support of UDS service 0x29 (Authentication) d
50 of 73 Document ID 4: AUTOSAR_RS_Diagnostics
Requirements on Diagnostics
AUTOSAR FO R21-11
4
A repair shop diagnostic tester authenticates with an ECU to gain access to
Use Case: diagnostic services that are explicitly allowed to be executed for a repair shop.
AppliesTo: CP
Dependencies: –
Supporting Concept 636 "Security Extensions" - C5, ISO14229-1:2020 Authentication
Material: Service 0x29
c(RS_Main_00170)
c(RS_Main_00260)
[RS_Diag_04057] Classification of events for series production, OBD and expert
usage d
Errors that occur during the development process shall be reported to the
debugging modules. Therefore, debugging module APIs shall be used which
(are not provided by the diagnostic in AUTOSAR).
Rationale: After sales analysis
Use Case: Distinction between service station relevant and after sales relevant events.
AppliesTo: CP
5
51 of 73 Document ID 4: AUTOSAR_RS_Diagnostics
Requirements on Diagnostics
AUTOSAR FO R21-11
4
Dependencies: –
Supporting –
Material:
c(RS_Main_00011)
[RS_Diag_04123] Harmonized Driving//WarmUp cycles d
c(RS_Main_00260)
[RS_Diag_04126] Configurable suppression of events d
c(RS_Main_00260)
[RS_Diag_04110] SAE J1939 lamp status d
The composite and DTC-specific lamp status of the following lamps shall be
Description: supported: Malfunction Indicator Lamp, Red Stop Lamp, Amber Warning Lamp
and Protect Lamp.
Rationale: Support of SAE J1939-73
5
52 of 73 Document ID 4: AUTOSAR_RS_Diagnostics
Requirements on Diagnostics
AUTOSAR FO R21-11
4
Use Case: Diagnostics in HDV, HDOBD
AppliesTo: CP
Dependencies: –
Supporting –
Material:
c(RS_Main_00260, RS_Main_00420)
[RS_Diag_04111] SAE J1939 Expanded-FreezeFrame d
The composite and DTC-specific lamp status of the following lamps shall be
Description: supported: Malfunction Indicator Lamp, Red Stop Lamp, Amber Warning Lamp
and Protect Lamp.
Rationale: Support of SAE J1939-73
Use Case: Diagnostics in HDV, HDOBD
AppliesTo: CP
Dependencies: –
Supporting –
Material:
c(RS_Main_00260, RS_Main_00420)
[RS_Diag_04113] Support a set of SAE J1939 DM-messages d
53 of 73 Document ID 4: AUTOSAR_RS_Diagnostics
Requirements on Diagnostics
AUTOSAR FO R21-11
54 of 73 Document ID 4: AUTOSAR_RS_Diagnostics
Requirements on Diagnostics
AUTOSAR FO R21-11
4
Rationale: Support of SAE J1939-73
Use Case: Diagnostics in HDV, HD-OBD
AppliesTo: CP
Dependencies: –
Supporting –
Material:
c(RS_Main_00260, RS_Main_00420)
[RS_Diag_04241] Support for unsupported SAE J1939 DM-messages d
c(RS_Main_00260)
[RS_Diag_04137] Definition of replacement failure d
c(RS_Main_00260)
[RS_Diag_04155] Notify applications and BSW modules about updates of event
related data d
55 of 73 Document ID 4: AUTOSAR_RS_Diagnostics
Requirements on Diagnostics
AUTOSAR FO R21-11
4
Changes to the event related data are done internally while evaluating event
Rationale: information passed from the monitoring application. Third parties interested in
the change of event related data need to get notified.
Use Case: Allow OEM specific reaction on updates of the event related data.
AppliesTo: CP
Dependencies: –
Supporting –
Material:
c(RS_Main_00260)
[RS_Diag_04217] Adding the Lamp status pertinent to a specific Fault Event/DTC
available as DemInternalDataClass shall be codified in the same format of DM31
d
when a Fault Event memory entry is coming, the related FreezeFrame includes
the pertinent DTC lamp status with the SPN number for each kind of lamp. In
fact, the format of this data shall also be compliant to the content of the DM31
Description: with the same codification/format and SPNs identification. In other word this
solution would ensure that the user is able to retrieve the pertinent lamp status
as it becomes a memory entry even if the DM31 request is not done in the
same moment.
Rationale: After sales analysis.
Use Case: Provide lamp status per DTC to diagnostic testers.
AppliesTo: CP
Dependencies: –
Supporting –
Material:
c(RS_Main_00260)
[RS_Diag_04165] Triggering of multiple events upon a master event is reported d
56 of 73 Document ID 4: AUTOSAR_RS_Diagnostics
Requirements on Diagnostics
AUTOSAR FO R21-11
c(RS_Main_00260)
[RS_Diag_04031] Notify the Function Inhibition Manager (FIM) upon changes of
the event status in order to process them according to the SW components de-
pendencies d
c(RS_Main_00011)
[RS_Diag_04220] Support DTCs suppression d
c(RS_Main_00011)
[RS_Diag_04221] In-Use-Monitor Performance Ratio indicates how often the OBD
system monitors particular components, compared to the amount of the vehicle
operation d
The diagnostic in AUTOSARs shall provide a means to indicates how often the
OBD system monitors particular components, compared to the amount of the
vehicle operation.This is done through In-Use-Monitor Performance Ratio
Description: (IUMPR). It is defined as the number of times a fault could have been found
(=numerator), divided by the number of times the vehicle operation conditions
have been fulfilled (=denominator) as defined in the respective OBD
regulations.
Rationale: Supporting OBD use cases
Use Case: Calculation of IUMPR for legal regulation
AppliesTo: CP
5
57 of 73 Document ID 4: AUTOSAR_RS_Diagnostics
Requirements on Diagnostics
AUTOSAR FO R21-11
4
Dependencies: –
Supporting –
Material:
c(RS_Main_00011)
[RS_Diag_04223] Support Snapshot Records data pre-storage d
c(RS_Main_00011)
[RS_Diag_04250] Support subfunction 0x1A and 0x56 of UDS service 0x19 d
The diagnostic in AUTOSAR shall support subfunction 0x1A and 0x56 of UDS
Description: service 0x19 to retrieve information for emission related DTCs and supported
ECU data.
Rationale: Required to fulfill SAE J1979-2 and enhanced diagnostics.
Support of legislated diagnostic requirements and enhanced diagnostic
Use Case:
support.
AppliesTo: CP
Dependencies: –
Supporting –
Material:
c(RS_Main_00011)
[RS_Diag_04252] Support of SAE J1979-2 d
58 of 73 Document ID 4: AUTOSAR_RS_Diagnostics
Requirements on Diagnostics
AUTOSAR FO R21-11
4
Dependencies: –
Supporting –
Material:
c(RS_Main_00011)
[RS_Diag_04253] Support separated DTCs for UDS and OBD based on J1979-2 d
SAE J1979-2 based UDS communication shall report a different 3 byte DTC
Description:
number than for none J1979-2 UDS communication.
A further set of 3 Byte DTCs is required to avoid conflicts with UDS enhanced
Rationale: diagnostics.
Some manufacturers don’t want to fully change to SAE J1979-2 support with
Use Case: UDS and will only support the J1979-2 functionality on the limited UDS subset
defined by J1979-2.
AppliesTo: CP
Dependencies: –
Supporting –
Material:
c(RS_Main_00011)
[RS_Diag_04254] Independent CP Software Cluster development d
59 of 73 Document ID 4: AUTOSAR_RS_Diagnostics
Requirements on Diagnostics
AUTOSAR FO R21-11
4
Dependencies: –
Supporting –
Material:
c(RS_Main_00011)
The diagnostic in AUTOSAR shall provide parallel access to the fault memory
Description: to various clients. Each client shall be able to access the fault memory
independent from other clients. Conflicts occurring during parallel access to
shared resources shall be resolved.
Rationale: OEMs require parallel access to diagnostics.
• Support of OBD and UDS in parallel
Use Case: • Software interacting with secondary ECUs in OBD
• Software components accessing event memory data
AppliesTo: CP
Dependencies: –
Supporting –
Material:
c(RS_Main_00011)
[RS_Diag_04164] Independent event memories for multiple diagnostic server in-
stances (virtual ECUs) d
60 of 73 Document ID 4: AUTOSAR_RS_Diagnostics
Requirements on Diagnostics
AUTOSAR FO R21-11
c(RS_Main_00260)
c(RS_Main_00011)
[RS_Diag_04021] Handling of different diagnostic sessions in parallel d
c(RS_Main_00011)
[RS_Diag_04032] Different diagnostic addresses shall be supported by multiple
(physical) channels d
61 of 73 Document ID 4: AUTOSAR_RS_Diagnostics
Requirements on Diagnostics
AUTOSAR FO R21-11
Modern ECUs contain more than one functionality (e.g. board computer,
instrument cluster). Each functionality shall be addressable by a diagnostic tool
Description:
with a different diagnostic address. This does not imply that those multiple
requests are allowed in parallel.
Rationale: High flexibility and granularity for addressing of applications
At the service (garage) a fault symptom is based on functionality. The service
Use Case:
only wants to address this functionality.
AppliesTo: CP
Dependencies: [RS_Diag_04021] Switch diagnostic communication access
Supporting –
Material:
c(RS_Main_00011)
[RS_Diag_04024] Access and handle specific data elements and data element
groups if requested by an external scan tool d
c(RS_Main_00011)
[RS_Diag_04019] Provide confirmation after transmit diagnostic responses to
the application d
62 of 73 Document ID 4: AUTOSAR_RS_Diagnostics
Requirements on Diagnostics
AUTOSAR FO R21-11
4
Supporting ISO14229-1 v.2013
Material:
c(RS_Main_00011)
[RS_Diag_04121] Provide the handling of service DynamicallyDefineDataIdenti-
fier according to ISO 14229-1 d
c(RS_Main_00011, RS_Main_00260)
[RS_Diag_04153] Support generic connections d
c(RS_Main_00260)
[RS_Diag_04011] Provide diagnostic state information to applications d
Applications need to know about the actual session and security state, because
Description: it is not predictable if the information’s lead to a different functional diagnostic
behavior.
Rationale: Functional requirement
5
63 of 73 Document ID 4: AUTOSAR_RS_Diagnostics
Requirements on Diagnostics
AUTOSAR FO R21-11
4
With the diagnostic session which the garage is using, it is allowed to switch
between different sets of parameters.
Use Case: With an enhanced diagnostic session which could be used in development and
a corresponding security level, it is allowed to change the data within the set of
parameters.
AppliesTo: CP
Dependencies: –
Supporting –
Material:
c(RS_Main_00011)
[RS_Diag_04003] Network independent design d
All network (CAN, LIN, FlexRay, MOST, Ethernet) dependent parts shall be
Description: done outside the diagnostic in AUTOSAR. That means that all interfaces to the
transport protocol modules shall be network independent.
The diagnostic in AUTOSAR describes only the services for communication
Rationale: and the behavior of network is out of scope.
Highest granularity and best option to adapt upcoming networks.
The diagnostic in AUTOSAR has to be network independent. The interface to
Use Case:
the transport protocol shall be network independent.
AppliesTo: CP
Dependencies: –
Supporting –
Material:
c(RS_Main_00011, RS_Main_00260)
[RS_Diag_04243] Update of constant parameters through diagnostics d
c(RS_Main_00011, RS_Main_00260)
[RS_Diag_04247] Support of UDS service DynamicallyDefineDataIdentifier
(0x2C) with subfunction 0x02 (defineByMemoryAddress) d
64 of 73 Document ID 4: AUTOSAR_RS_Diagnostics
Requirements on Diagnostics
AUTOSAR FO R21-11
c(RS_Main_00011, RS_Main_00260)
[RS_Diag_04015] Timing handling according to ISO14229-2 d
c(RS_Main_00011)
65 of 73 Document ID 4: AUTOSAR_RS_Diagnostics
Requirements on Diagnostics
AUTOSAR FO R21-11
c(RS_Main_00260, RS_Main_00011)
[RS_Diag_04209] Pseudo parallel client interaction according to ISO d
The diagnostic in AUTOSAR shall support the parallelism defined by the ISO as
Description:
pseudo parallel concept, which is defined in ISO 14229-1 under Figure J.2.
AppliesTo: AP
Dependencies: –
Support of scenarios, where testers in parallel is only allowed, when in default
Use Case:
session.
Supporting ISO 14229-1
Material:
c(RS_Main_00260, RS_Main_00011)
[RS_Diag_04167] Conversation preemption/abortion d
c(RS_Main_00260)
[RS_Diag_04168] Adding of user-defined transport layers d
66 of 73 Document ID 4: AUTOSAR_RS_Diagnostics
Requirements on Diagnostics
AUTOSAR FO R21-11
c(RS_Main_00260)
[RS_Diag_04169] Provide an interface for external UDS service processors. d
AppliesTo: AP
Dependencies: [RS_Diag_04097], [RS_Diag_04007]
Use Case: Service processing by software components.
Supporting ISO 14229-1
Material:
c(RS_Main_00260, RS_Main_00420)
[RS_Diag_04170] Provide connection specific meta information to external ser-
vice processors d
c(RS_Main_00260, RS_Main_00420)
67 of 73 Document ID 4: AUTOSAR_RS_Diagnostics
Requirements on Diagnostics
AUTOSAR FO R21-11
c(RS_Main_00260, RS_Main_00420)
[RS_Diag_04173] Different signature types, when delegating processing of UDS
service to the application d
c(RS_Main_00260, RS_Main_00420)
[RS_Diag_04174] Provide SA and TA to external service processors d
68 of 73 Document ID 4: AUTOSAR_RS_Diagnostics
Requirements on Diagnostics
AUTOSAR FO R21-11
The diagnostic in AUTOSAR shall provide source and target address to the
Description:
external service processor, which is processing the UDS service request.
Sometimes the reaction of service processor implementations on a UDS
Rationale: request depend on the tester (SA) or on the target.
AppliesTo: AP
Dependencies: [RS_Diag_04169]
Use Case: Flexibility for service processor implementations.
c(RS_Main_00260, RS_Main_00420)
[RS_Diag_04216] Support for multiple Diagnostic Server Instances d
c(RS_Main_00260, RS_Main_00420)
[RS_Diag_04251] Support of UDS service 0x29 (Authentication) d
c(RS_Main_00260, RS_Main_00420)
69 of 73 Document ID 4: AUTOSAR_RS_Diagnostics
Requirements on Diagnostics
AUTOSAR FO R21-11
4.4 Configuration
5 Requirements Tracing
The following tables reference the requirements specified in [1] and links to the fulfill-
ment of these. Please note that if column ”Satisfied by” is empty for a specific require-
ment this means that this requirement is not fulfilled by this document.
70 of 73 Document ID 4: AUTOSAR_RS_Diagnostics
Requirements on Diagnostics
AUTOSAR FO R21-11
71 of 73 Document ID 4: AUTOSAR_RS_Diagnostics
Requirements on Diagnostics
AUTOSAR FO R21-11
6 References
6.2.1 ITEA-EAST
72 of 73 Document ID 4: AUTOSAR_RS_Diagnostics
Requirements on Diagnostics
AUTOSAR FO R21-11
6.2.2 ISO
1. ISO 14229-1 Unified diagnostic services (UDS) Part 1: Specification and Re-
quirements (v.2013)
2. ISO 15031-5 Communication between vehicle and external equipment for emis-
sions related diagnostics Part 5: Emissions related diagnostic services (2005-01-
13)
3. ISO 15765-3 Diagnostics on controller area network (CAN) Part 3: Implementa-
tion of unified diagnostic services (UDS on CAN) (2004-10-06)
4. ISO 15765-4 Diagnostics on controller area network (CAN) Part 4: Requirements
for emissions-related systems (2005-01-04)
73 of 73 Document ID 4: AUTOSAR_RS_Diagnostics