AUTOSAR_RS_Diagnostics
AUTOSAR_RS_Diagnostics
AUTOSAR FO R22-11
1 of 75 Document ID 4: AUTOSAR_RS_Diagnostics
Requirements on Diagnostics
AUTOSAR FO R22-11
AUTOSAR
2017-12-08 1.3.0 Release • Minor corrections
Management • Update of requirements tracing
2 of 75 Document ID 4: AUTOSAR_RS_Diagnostics
Requirements on Diagnostics
AUTOSAR FO R22-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 75 Document ID 4: AUTOSAR_RS_Diagnostics
Requirements on Diagnostics
AUTOSAR FO R22-11
AUTOSAR
2006-05-16 2.0 Release • Minor formal changes
Management
AUTOSAR
2005-05-31 1.0 Release • Initial Release
Management
4 of 75 Document ID 4: AUTOSAR_RS_Diagnostics
Requirements on Diagnostics
AUTOSAR FO R22-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 75 Document ID 4: AUTOSAR_RS_Diagnostics
Requirements on Diagnostics
AUTOSAR FO R22-11
Contents
1 Scope of the Document 12
3 Conventions to be used 14
4 Requirements Specification 15
4.1 Common Diagnostic requirements for Classic and Adaptive Platform . 15
[RS_Diag_04200] Support event combination . . . . . . . . . . . . . . . 15
[RS_Diag_04150] Support the primary fault memory defined by ISO
14229-1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
[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) . . . . . . . . . . . . 16
[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 . . . . . . . . . . . . . . . . . . . . . 17
[RS_Diag_04064] Provide configurable buffer sizes for storage of the
events, status information and environmental data . . . . . . 17
[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 . . . 18
[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 . . . . . . . . . . . . . . . . . . . 19
[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 . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
[RS_Diag_04006] Manage session handling . . . . . . . . . . . . . . . . 20
[RS_Diag_04005] Manage Security Access level handling . . . . . . . . 21
[RS_Diag_04135] Support UDS service $38 (RequestFileTransfer) . . . 21
[RS_Diag_04098] Interact with standard bootloader . . . . . . . . . . . 21
[RS_Diag_04159] Control of DTC storage . . . . . . . . . . . . . . . . . 22
[RS_Diag_04157] Reporting of DTCs and related data . . . . . . . . . . 22
[RS_Diag_04156] Support DTCFunctionalUnit . . . . . . . . . . . . . . 22
6 of 75 Document ID 4: AUTOSAR_RS_Diagnostics
Requirements on Diagnostics
AUTOSAR FO R22-11
7 of 75 Document ID 4: AUTOSAR_RS_Diagnostics
Requirements on Diagnostics
AUTOSAR FO R22-11
8 of 75 Document ID 4: AUTOSAR_RS_Diagnostics
Requirements on Diagnostics
AUTOSAR FO R22-11
9 of 75 Document ID 4: AUTOSAR_RS_Diagnostics
Requirements on Diagnostics
AUTOSAR FO R22-11
10 of 75 Document ID 4: AUTOSAR_RS_Diagnostics
Requirements on Diagnostics
AUTOSAR FO R22-11
6 References 75
6.1 Deliverables of AUTOSAR . . . . . . . . . . . . . . . . . . . . . . . . . 75
6.2 Related standards and norms . . . . . . . . . . . . . . . . . . . . . . . 75
6.2.1 ITEA-EAST . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75
6.2.2 ISO . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75
11 of 75 Document ID 4: AUTOSAR_RS_Diagnostics
Requirements on Diagnostics
AUTOSAR FO R22-11
12 of 75 Document ID 4: AUTOSAR_RS_Diagnostics
Requirements on Diagnostics
AUTOSAR FO R22-11
DM Diagnostic Management
13 of 75 Document ID 4: AUTOSAR_RS_Diagnostics
Requirements on Diagnostics
AUTOSAR FO R22-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
full implications must be understood and carefully weighed before choosing a
different course.
• SHOULD NOT: This phrase, or the phrase ”NOT RECOMMENDED” mean that
there may exist valid reasons in particular circumstances when the particular be-
havior is acceptable or even useful, but the full implications should be understood
and the case carefully weighed before implementing any behavior described with
this label.
• MAY: This word, or the adjective ”OPTIONAL”, means that an item is truly op-
tional. One vendor may choose to include the item because a particular market-
place requires it or because the vendor feels that it enhances the product while
another vendor may omit the same item. An implementation, which does not in-
clude a particular option, MUST be prepared to inter operate with another imple-
mentation, which does include the option, though perhaps with reduced function-
ality. In the same vein an implementation, which does include a particular option,
MUST be prepared to inter operate with another implementation, which does not
include the option (except, of course, for the feature the option provides).
14 of 75 Document ID 4: AUTOSAR_RS_Diagnostics
Requirements on Diagnostics
AUTOSAR FO R22-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.
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
or for storing warranty relevant information inside. This information is also
Use Case: available for workshops or repairing the vehicle if the information stored in the
user defined memory it is helpful for this task (e.g. to distinguish defective
maintenance such as miss calibration from obvious malfunctions).
AppliesTo: CP, AP
Dependencies: –
5
15 of 75 Document ID 4: AUTOSAR_RS_Diagnostics
Requirements on Diagnostics
AUTOSAR FO R22-11
4
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
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)
16 of 75 Document ID 4: AUTOSAR_RS_Diagnostics
Requirements on Diagnostics
AUTOSAR FO R22-11
c(RS_Main_00260)
[RS_Diag_04064] Provide configurable buffer sizes for storage of the events,
status information and environmental data d
c(RS_Main_00011)
[RS_Diag_04172] Inform external service processors about outcome of the final
response d
17 of 75 Document ID 4: AUTOSAR_RS_Diagnostics
Requirements on Diagnostics
AUTOSAR FO R22-11
4
Use Case: Flexibility for service processor implementations.
c(RS_Main_00260, RS_Main_00420)
[RS_Diag_04127] Configurable record numbers and trigger options for DTCSnap-
shotRecords and DTCExtendedDataRecords d
c(RS_Main_00260)
[RS_Diag_04177] Custom diagnostic services d
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
18 of 75 Document ID 4: AUTOSAR_RS_Diagnostics
Requirements on Diagnostics
AUTOSAR FO R22-11
4
Supporting
Material:
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
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
19 of 75 Document ID 4: AUTOSAR_RS_Diagnostics
Requirements on Diagnostics
AUTOSAR FO R22-11
4
Rationale: No interruption of diagnostic functionality
Deactivation of fault management and normal communication during ECU
Use Case: reprogramming
AppliesTo: CP, AP
Dependencies:
Supporting ISO14229-1 v.2013
Material:
c(RS_Main_00011)
[RS_Diag_04016] Support ”Busy handling” by sending a negative response 0x78
d
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)
20 of 75 Document ID 4: AUTOSAR_RS_Diagnostics
Requirements on Diagnostics
AUTOSAR FO R22-11
c(RS_Main_00011)
[RS_Diag_04135] Support UDS service $38 (RequestFileTransfer) d
c(RS_Main_00011)
[RS_Diag_04098] Interact with standard bootloader d
21 of 75 Document ID 4: AUTOSAR_RS_Diagnostics
Requirements on Diagnostics
AUTOSAR FO R22-11
4
Rationale: Bootloader concept has to be standardized within AUTOSAR.
Use Case: Usage of ”off-the-shelf” bootloader
AppliesTo: CP, AP
Dependencies: –
Supporting –
Material:
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.
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)
22 of 75 Document ID 4: AUTOSAR_RS_Diagnostics
Requirements on Diagnostics
AUTOSAR FO R22-11
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
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 75 Document ID 4: AUTOSAR_RS_Diagnostics
Requirements on Diagnostics
AUTOSAR FO R22-11
4
Dependencies: –
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)
24 of 75 Document ID 4: AUTOSAR_RS_Diagnostics
Requirements on Diagnostics
AUTOSAR FO R22-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 75 Document ID 4: AUTOSAR_RS_Diagnostics
Requirements on Diagnostics
AUTOSAR FO R22-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_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
Description: For role based access rights, the ECU maintains information about diagnostic
services allowed to be executed if the tester has gained authentication in that
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
5
5
26 of 75 Document ID 4: AUTOSAR_RS_Diagnostics
Requirements on Diagnostics
AUTOSAR FO R22-11
4
4
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
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)
27 of 75 Document ID 4: AUTOSAR_RS_Diagnostics
Requirements on Diagnostics
AUTOSAR FO R22-11
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
c(RS_Main_00170)
[RS_Diag_04236] Client certificate target identification d
c(RS_Main_00170)
28 of 75 Document ID 4: AUTOSAR_RS_Diagnostics
Requirements on Diagnostics
AUTOSAR FO R22-11
c(RS_Main_00170)
[RS_Diag_04238] Logging certificate evaluation d
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
29 of 75 Document ID 4: AUTOSAR_RS_Diagnostics
Requirements on Diagnostics
AUTOSAR FO R22-11
4
Supporting Concept 636 "Security Extensions"
Material:
c(RS_Main_00170)
[RS_Diag_04240] Application based authentication d
c(RS_Main_00170)
[RS_Diag_04133] Aging for event memory entries d
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
30 of 75 Document ID 4: AUTOSAR_RS_Diagnostics
Requirements on Diagnostics
AUTOSAR FO R22-11
4
Supporting –
Material:
c(RS_Main_00011)
[RS_Diag_04148] Provide capabilities to inform applications about diagnostic
data changes d
c(RS_Main_00260)
[RS_Diag_04097] Decentralized and modular diagnostic configuration in appli-
cations d
Use-case summary:
5
5
31 of 75 Document ID 4: AUTOSAR_RS_Diagnostics
Requirements on Diagnostics
AUTOSAR FO R22-11
4
4
1. develop decentralized modular software and its diagnostics without
permanent interaction with other application developers.
2. Combine modules and extract module-specific diagnostic data.
3. link diagnostic data from applications to the diagnostic in AUTOSAR.
AppliesTo: CP, AP
Dependencies: –
Supporting ISO 14229-1 v.2013
Material:
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)
[RS_Diag_04179] Provide interfaces for monitoring application. d
c(RS_Main_00260)
32 of 75 Document ID 4: AUTOSAR_RS_Diagnostics
Requirements on Diagnostics
AUTOSAR FO R22-11
c(RS_Main_00260)
[RS_Diag_04201] Support a configuration to assign specific events to a customer
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
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)
33 of 75 Document ID 4: AUTOSAR_RS_Diagnostics
Requirements on Diagnostics
AUTOSAR FO R22-11
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
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
34 of 75 Document ID 4: AUTOSAR_RS_Diagnostics
Requirements on Diagnostics
AUTOSAR FO R22-11
4
A monitor application gets initialized after diagnostic in AUTOSAR informs it
Use Case:
about the start of a relevant operation cycle.
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
c(RS_Main_00260, RS_Main_00011)
35 of 75 Document ID 4: AUTOSAR_RS_Diagnostics
Requirements on Diagnostics
AUTOSAR FO R22-11
c(RS_Main_00260, RS_Main_00011)
[RS_Diag_04189] Support a fine grained configuration for SnapshotRecords and
ExtendedDataRecords d
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)
36 of 75 Document ID 4: AUTOSAR_RS_Diagnostics
Requirements on Diagnostics
AUTOSAR FO R22-11
c(RS_Main_00260, RS_Main_00420)
[RS_Diag_04219] Provide the ability to handle event specific storage conditions
d
c(RS_Main_00260, RS_Main_00420)
[RS_Diag_04194] ClearDTC shall be accessible for applications d
c(RS_Main_00260, RS_Main_00060)
37 of 75 Document ID 4: AUTOSAR_RS_Diagnostics
Requirements on Diagnostics
AUTOSAR FO R22-11
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.
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_04220] Support DTCs suppression d
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.
5
38 of 75 Document ID 4: AUTOSAR_RS_Diagnostics
Requirements on Diagnostics
AUTOSAR FO R22-11
4
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
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)
39 of 75 Document ID 4: AUTOSAR_RS_Diagnostics
Requirements on Diagnostics
AUTOSAR FO R22-11
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)
[RS_Diag_04197] Clearing the user defined fault memory d
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)
40 of 75 Document ID 4: AUTOSAR_RS_Diagnostics
Requirements on Diagnostics
AUTOSAR FO R22-11
[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
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)
41 of 75 Document ID 4: AUTOSAR_RS_Diagnostics
Requirements on Diagnostics
AUTOSAR FO R22-11
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
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)
42 of 75 Document ID 4: AUTOSAR_RS_Diagnostics
Requirements on Diagnostics
AUTOSAR FO R22-11
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
c(RS_Main_00011, RS_Main_00260)
[RS_Diag_04244] Support sub-function 0x04 of UDS service 0x19. d
c(RS_Main_00260)
43 of 75 Document ID 4: AUTOSAR_RS_Diagnostics
Requirements on Diagnostics
AUTOSAR FO R22-11
c(RS_Main_00260)
[RS_Diag_04058] Ability to access different event memories d
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
44 of 75 Document ID 4: AUTOSAR_RS_Diagnostics
Requirements on Diagnostics
AUTOSAR FO R22-11
4
The interface is required from application, to check if event memory entries
Rationale:
exist that influence the ECU behavior.
There is an application message where a status bit must be set as soon as
Use Case: events are stored in the event memory. Therefore, the application needs to
know how many event memory entries exist.
AppliesTo: CP, AP
Dependencies: –
Supporting –
Material:
c(RS_Main_00420)
[RS_Diag_04246] Support of UDS service DynamicallyDefineDataIdentifier
(0x2C) with subfunction 0x01 (defineByIdentifier) d
c(RS_Main_00420)
[RS_Diag_04215] Support of UDS service ReadDataByPeriodicIdentifier (0x2A) d
c(RS_Main_00260)
45 of 75 Document ID 4: AUTOSAR_RS_Diagnostics
Requirements on Diagnostics
AUTOSAR FO R22-11
c(RS_Main_00260)
[RS_Diag_04249] Support of session layer service d
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)
46 of 75 Document ID 4: AUTOSAR_RS_Diagnostics
Requirements on Diagnostics
AUTOSAR FO R22-11
c(RS_Main_00260)
[RS_Diag_04120] Support a predefined AddressAndLengthFormatIdentifier d
c(RS_Main_00011, RS_Main_00260)
[RS_Diag_04124] Store the current debounce counter value nonvolatile to over a
powerdown cycle d
47 of 75 Document ID 4: AUTOSAR_RS_Diagnostics
Requirements on Diagnostics
AUTOSAR FO R22-11
4
Supporting –
Material:
c(RS_Main_00260, RS_Main_00420)
[RS_Diag_04112] The DEM module shall support DTCs according to SAE J1939
d
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)
48 of 75 Document ID 4: AUTOSAR_RS_Diagnostics
Requirements on Diagnostics
AUTOSAR FO R22-11
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
49 of 75 Document ID 4: AUTOSAR_RS_Diagnostics
Requirements on Diagnostics
AUTOSAR FO R22-11
4
Dependencies: –
Supporting –
Material:
c(RS_Main_00260)
[RS_Diag_04230] Support of UDS service 0x29 (Authentication) d
c(RS_Main_00170)
c(RS_Main_00260)
50 of 75 Document ID 4: AUTOSAR_RS_Diagnostics
Requirements on Diagnostics
AUTOSAR FO R22-11
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
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
51 of 75 Document ID 4: AUTOSAR_RS_Diagnostics
Requirements on Diagnostics
AUTOSAR FO R22-11
4
AppliesTo: CP
Dependencies: –
Supporting –
Material:
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
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)
52 of 75 Document ID 4: AUTOSAR_RS_Diagnostics
Requirements on Diagnostics
AUTOSAR FO R22-11
c(RS_Main_00260, RS_Main_00420)
53 of 75 Document ID 4: AUTOSAR_RS_Diagnostics
Requirements on Diagnostics
AUTOSAR FO R22-11
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
c(RS_Main_00260)
54 of 75 Document ID 4: AUTOSAR_RS_Diagnostics
Requirements on Diagnostics
AUTOSAR FO R22-11
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
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
dependencies d
55 of 75 Document ID 4: AUTOSAR_RS_Diagnostics
Requirements on Diagnostics
AUTOSAR FO R22-11
4
Supporting –
Material:
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
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.
5
56 of 75 Document ID 4: AUTOSAR_RS_Diagnostics
Requirements on Diagnostics
AUTOSAR FO R22-11
4
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
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)
57 of 75 Document ID 4: AUTOSAR_RS_Diagnostics
Requirements on Diagnostics
AUTOSAR FO R22-11
c(RS_Main_00011)
[RS_Diag_04255] Support of nested data elements for the DID d
The Dcm shall support the usage of nested data elements for the DID
Description: sender/receiver and RID routine interaction between the Dcm and application
software.
Nested data types are a commonly used case in AUTOSAR application
Rationale: software. Consequently, the AUTOSAR diagnostic stack shall support this case
for the interaction between the Dcm and application software.
The user wants to access a nested data type in a PortPrototype of the
Use Case: application to be used in the description of diagnostic content (e.g. the
definition of a Diagnostic Data Identifier).
AppliesTo: CP
Dependencies: –
Supporting ISO14229-1
Material:
c(RS_Main_00011)
58 of 75 Document ID 4: AUTOSAR_RS_Diagnostics
Requirements on Diagnostics
AUTOSAR FO R22-11
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
c(RS_Main_00260)
59 of 75 Document ID 4: AUTOSAR_RS_Diagnostics
Requirements on Diagnostics
AUTOSAR FO R22-11
c(RS_Main_00011)
[RS_Diag_04032] Different diagnostic addresses shall be supported by multiple
(physical) channels d
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
60 of 75 Document ID 4: AUTOSAR_RS_Diagnostics
Requirements on Diagnostics
AUTOSAR FO R22-11
4
Supporting –
Material:
c(RS_Main_00011)
[RS_Diag_04019] Provide confirmation after transmit diagnostic responses to
the application d
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
61 of 75 Document ID 4: AUTOSAR_RS_Diagnostics
Requirements on Diagnostics
AUTOSAR FO R22-11
4
Generic connections are supported for CAN diagnostics using normal fixed or
mixed 29 bit addressing formats according to ISO15765-2. Depending on the
Dependencies:
actual layout of the CAN IDs, generic connections could also be used for
extended or normal and mixed 11 bit addressing formats.
Supporting –
Material:
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
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)
62 of 75 Document ID 4: AUTOSAR_RS_Diagnostics
Requirements on Diagnostics
AUTOSAR FO R22-11
c(RS_Main_00011, RS_Main_00260)
[RS_Diag_04247] Support of UDS service DynamicallyDefineDataIdentifier
(0x2C) with subfunction 0x02 (defineByMemoryAddress) d
c(RS_Main_00011, RS_Main_00260)
[RS_Diag_04015] Timing handling according to ISO14229-2 d
c(RS_Main_00011)
63 of 75 Document ID 4: AUTOSAR_RS_Diagnostics
Requirements on Diagnostics
AUTOSAR FO R22-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
64 of 75 Document ID 4: AUTOSAR_RS_Diagnostics
Requirements on Diagnostics
AUTOSAR FO R22-11
4
A ECU will have limited resources for parallel processing of diagnostic requests
Rationale: and different requests will have different priorities therefore the need for
abortion.
AppliesTo: AP
Dependencies: –
Support for vehicle internal and external testers in parallel, which can not be
Use Case:
easily synchronized.
Supporting ISO 14229-1
Material:
c(RS_Main_00260)
[RS_Diag_04168] Adding of user-defined transport layers d
c(RS_Main_00260)
[RS_Diag_04169] Provide an interface for external UDS service processors. d
AppliesTo: AP
Dependencies: [RS_Diag_04097]
Use Case: Service processing by software components.
Supporting ISO 14229-1
Material:
c(RS_Main_00260, RS_Main_00420)
65 of 75 Document ID 4: AUTOSAR_RS_Diagnostics
Requirements on Diagnostics
AUTOSAR FO R22-11
c(RS_Main_00260, RS_Main_00420)
[RS_Diag_04171] Synchronous and asynchronous interaction with external ser-
vice processors d
c(RS_Main_00260, RS_Main_00420)
66 of 75 Document ID 4: AUTOSAR_RS_Diagnostics
Requirements on Diagnostics
AUTOSAR FO R22-11
c(RS_Main_00260, RS_Main_00420)
[RS_Diag_04174] Provide SA and TA to external service processors d
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)
67 of 75 Document ID 4: AUTOSAR_RS_Diagnostics
Requirements on Diagnostics
AUTOSAR FO R22-11
c(RS_Main_00260, RS_Main_00420)
[RS_Diag_04256]{DRAFT} Support of SOVD d
c(RS_Main_00260, RS_Main_00420)
[RS_Diag_04257]{DRAFT} Capability Description d
c(RS_Main_00260, RS_Main_00420)
[RS_Diag_04258]{DRAFT} Discovering of Entities and Resources d
Description: Diagnostics in AUTOSAR shall support the "‘API Methods for Discovering of
Entities and Resources"‘.
Rationale: Essential part of the SOVD protocol
AppliesTo: AP
Dependencies: –
A client to traverse the topology to find out, which methods can be used for
Use Case:
which resources.
c(RS_Main_00260, RS_Main_00420)
68 of 75 Document ID 4: AUTOSAR_RS_Diagnostics
Requirements on Diagnostics
AUTOSAR FO R22-11
Description: Diagnostics in AUTOSAR shall support the "‘API Methods for Fault Handling"‘.
Rationale: Essential part of the SOVD protocol
AppliesTo: AP
Dependencies: –
Use Case: Providing fault memory data
c(RS_Main_00260, RS_Main_00420)
[RS_Diag_04260]{DRAFT} Read / Write Access d
Diagnostics in AUTOSAR shall support the "‘API methods for data ressource
Description:
read / write access"‘.
Rationale: Essential part of the SOVD protocol
AppliesTo: AP
Dependencies: –
Use Case: Reading and writing various kinds of data
c(RS_Main_00260, RS_Main_00420)
[RS_Diag_04261]{DRAFT} Configuration Access d
Description: Diagnostics in AUTOSAR shall support the "‘API Methods for Configuration"‘.
Rationale: Essential part of the SOVD protocol
AppliesTo: AP
Dependencies: –
Components and Apps need to be configured to a specific environment, e.g.,
Use Case: vehicle equipment, country, customer demand, variant coding, etc.
c(RS_Main_00260, RS_Main_00420)
[RS_Diag_04262]{DRAFT} Control of Operations d
c(RS_Main_00260, RS_Main_00420)
69 of 75 Document ID 4: AUTOSAR_RS_Diagnostics
Requirements on Diagnostics
AUTOSAR FO R22-11
Description: Diagnostics in AUTOSAR shall support the "‘API Methods for Support of Target
Modes"‘.
Rationale: Essential part of the SOVD protocol
AppliesTo: AP
Dependencies: –
Use Case: Controlling and preparing states/modes of target entities
c(RS_Main_00260, RS_Main_00420)
[RS_Diag_04264]{DRAFT} SOVD specific Locking/Semaphore mechanism d
Description: Diagnostics in AUTOSAR shall support the "‘API Methods for Locking"‘.
Rationale: Essential part of the SOVD protocol
AppliesTo: AP
Dependencies: –
Use Case: Gain exclusive access to a single client for specific resources
c(RS_Main_00260, RS_Main_00420)
[RS_Diag_04265]{DRAFT} Software Update d
c(RS_Main_00260, RS_Main_00420)
[RS_Diag_04266]{DRAFT} Bulk data d
Description: Diagnostics in AUTOSAR shall support the "‘API Methods for Handling of
bulk-data"‘.
Rationale: Optional part of the SOVD protocol
AppliesTo: AP
Dependencies: –
Use Case: Handling of larger bulk data like kernel-dump files
c(RS_Main_00260, RS_Main_00420)
70 of 75 Document ID 4: AUTOSAR_RS_Diagnostics
Requirements on Diagnostics
AUTOSAR FO R22-11
[RS_Diag_04267]{DRAFT} Logging d
Description: Diagnostics in AUTOSAR shall support the "‘API Methods for Logging"‘.
Rationale: Essential part of the SOVD protocol
AppliesTo: AP
Dependencies: –
Use Case: Aggregation of logging information
c(RS_Main_00260, RS_Main_00420)
[RS_Diag_04268]{DRAFT} Authentication d
c(RS_Main_00260, RS_Main_00420)
[RS_Diag_04269]{DRAFT} SOVD 2 UDS Adapter d
c(RS_Main_00260, RS_Main_00420)
4.4 Configuration
71 of 75 Document ID 4: AUTOSAR_RS_Diagnostics
Requirements on Diagnostics
AUTOSAR FO R22-11
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.
72 of 75 Document ID 4: AUTOSAR_RS_Diagnostics
Requirements on Diagnostics
AUTOSAR FO R22-11
73 of 75 Document ID 4: AUTOSAR_RS_Diagnostics
Requirements on Diagnostics
AUTOSAR FO R22-11
74 of 75 Document ID 4: AUTOSAR_RS_Diagnostics
Requirements on Diagnostics
AUTOSAR FO R22-11
6 References
6.2.1 ITEA-EAST
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)
75 of 75 Document ID 4: AUTOSAR_RS_Diagnostics