Professional Documents
Culture Documents
DCM 2020
DCM 2020
DCM 2020
PRESENTATION OVERVIEW
● Sensors Calibration
● ECU Resetting.
● Read and Override data on the ECU.
● Get Diagnostic Trouble Codes (DTCs).
COM
Figure: Diagnosis Stack Mapping to OSI. Figure: Diagnosis Stack in AUTOSAR Layered Architecture.
ISO 14229 - Unified Diagnostic Services (UDS).
Diagnostic Communication Manager (DCM).
1.0 INTRODUCTION
RTE
DCM
Tester Request
SID (M)
Sub-Func(C/S) Data Record (M/C/U)
DSD
1.3.2 Diagnostic Service Dispatcher (DSD)
Internal Services
2.2 Tester Present 0x3E DCM
RTE
2.6 Routine Control 0x31
DCM
ISO 14229 - Unified Diagnostic Services (UDS).
Diagnostic Communication Manager (DCM).
2.0 SUPPORTED SERVICES
DCM
DCM Session Level
Extended Default
Client
0x10 Sub-Func
DCM
DSP Extended S3 Server
Timeout
Timer
Concurrent Default
Tester DSL
Present
Client
0x3E Sub-Func
Application
Vin Number: W0L000043MB541326
Application
Vin Number: W0L000043MB541326
Seed: Application
On Boot Timer
RTE
Algorithm
DCM
Key:
0xC9 0xA9 DSP
Seed Client
N
[0x01 : 0x3E]
0x27+0x40 N 0x36 0x57 Odd
Seed: Application
0x36 0x57
RTE
Algorithm
DCM
Key:
0xC9 0xA9 DSP
Key Client
N+1
[0x01 : 0x3E]
Invalid
Valid Key
Key Even
Application
RTE
DCM
Routine Identifier
DSP START STOP
Request Routine
Results
Client
Application
RTE
DCM
DSP
RESPONSE
REQUEST
DSD
DSL
PDUR
ISO 14229 - Unified Diagnostic Services (UDS).
Diagnostic Communication Manager (DCM).
3.0 SERVICE LIFE CYCLE Protocol
UDS
DCM
DSD
Protocol Row *
DSL
Copying Data to DCM UDS_ON UDS_ON UDS_ON UDS_ON
Indicate DSD Ethernet CAN Flexray LIN
Buffer
Refresh
(S3 Server) Connection*
Concurrent
Tester &
Present (P2 – P2*)
Timeout Main
Timers Connect Channel Connection
Channels *
Tx Func. Rx Phys. Rx
PDUR
ISO 14229 - Unified Diagnostic Services (UDS).
Diagnostic Communication Manager (DCM).
3.0 SERVICE LIFE CYCLE
Indicate DSP
Session SID Service Name
Level 0x10 Session Control
0x22 Read Data by Identifier
Disassemble SID
0x2E Write Data by Identifier
Security Service
Table 0x27 Security Access
Level
0x31 Routine Control
0x3E Tester Present
DSL
ISO 14229 - Unified Diagnostic Services (UDS).
Diagnostic Communication Manager (DCM).
3.0 SERVICE LIFE CYCLE
DSD
ISO 14229 - Unified Diagnostic Services (UDS).
Diagnostic Communication Manager (DCM).
3.0 SERVICE LIFE CYCLE
Application
RTE
RTE
Port
Configuration
DCM
ISO 14229 - Unified Diagnostic Services (UDS).
Diagnostic Communication Manager (DCM).
3.0 SERVICE LIFE CYCLE
RTE
DCM
DSP
Pending Response
Response
Positive/Negative
Response
DSD
ISO 14229 - Unified Diagnostic Services (UDS).
Diagnostic Communication Manager (DCM).
3.0 SERVICE LIFE CYCLE
DCM
DSP
DSD
Response
DSL
ISO 14229 - Unified Diagnostic Services (UDS).
Diagnostic Communication Manager (DCM).
3.0 SERVICE LIFE CYCLE
DCM
DSD
DSL
Release DCM
Module
PDUR
Protocol Protocol
Main Main
Connection Connection
* *
Tx Func. Rx Phys. Rx Tx Func. Rx Phys. Rx
ISO 14229 - Unified Diagnostic Services (UDS).
Diagnostic Communication Manager (DCM).
5.0 DOCUMENTATION
5.1 Doxygen
Link: diagnostic-commuincation.000webhostapp.com
ISO 14229 - Unified Diagnostic Services (UDS).
Diagnostic Communication Manager (DCM).
5.0 DOCUMENTATION