前言
..................................................................................................................................................
2
UDS
的
7
种服务及肯定响应和否定响应的形式
..........................................................................
3
$10
诊断会话
............................................................................................................................
5
$3E
待机握手
.
...........................................................................................................................
6
$27
安全访问
............................................................................................................................
7
$22
读数据
................................................................................................................................
8
$2E
写数据
.
...............................................................................................................................
8
$19
读
DTC ...............................................................................................................................
8
$14
清除
DTC ..........................................................................................................................
1
0
统一诊断服务
(Unified diagnostic services
,
UDS)
(一)
.
....................................................
1
0
Diagnostic request
的格式:
.
.................................................................................................
1
0
统一诊断服务
(Unified diagnostic services
,
UDS)
(二)
.
....................................................
1
2
Diagnostic Session Control (0x10)
.
..........................................................................................
1
2
诊断
response
的格式:
Diagnostic Session Control .............................................................
1
3
ECU Reset
诊断
request
的格式
............................................................................................
1
3
Security Access (0x27)
.
............................................................................................................
1
3
统一诊断服务
(Unified diagnostic services
,
UDS)
(三)
.
....................................................
1
4
Tester Present (0x3E)
.
..............................................................................................................
1
5
Control DTC Setting (0x85) ......................................................................................................
1
6
Response On Event (0x86) ......................................................................................................
1
6
Link Control (0x87) ..................................................................................................................
1
6
统一诊断服务
(Unified diagnostic services
,
UDS)
(四)
.
....................................................
1
6
Read Data By Identifier (0x22) ................................................................................................
1
6
0x23
服务的请求格式
0x23 ...................................................................................................
1
7
统一诊断服务
(Unified diagnostic services
,
UDS)
(五)
.
....................................................
1
7
0x14:Clear Diagnostic Information
.
.........................................................................................
1
7
0x19:Read DTC Information ....................................................................................................
1
8
统一诊断服务
(Unified diagnostic services
,
UDS)
(六)
.
....................................................
1
9
Input Output Control By Identifier (0x2F) ...............................................................................
1
9
Routine Control (0x31) ............................................................................................................
2
0
统一诊断服务
(Unified diagnostic services
,
UDS)
(七)
.
....................................................
2
1
Request Download
(
0x34
)
:
..............................................................................................
2
1
Transfer Data
(
0x36
)
:
.........................................................................................................
2
2
Request Transfer Exit
(
0x37
)
:
.............................................................................................
2
2
基于
CAN
总线实现的
UDS
诊断(
DoCAN
)
...............................................................................
2
3