UDS Protocol Implementation in An ECU
UDS Protocol Implementation in An ECU
I.
INTRODUCTION
SYSTEM OVERVIEW
IMPLEMENTATION
Application Layer
Presentation Layer
Session Layer
XCP
CCP
N/A (Not Available)
N/A
UDS
OBD2
N/A
N/A
Transport Layer
N/A
Network Layer
User defined
CAN
CAN bus
Table 1: OSI model for XCP, CCP, UDS and OBD2 protocol [1] [4] [5] [7]
29-Bit
Identifier?
Check the data buffer in
UDS Message Frame
Match CCP or
XCPAddress?
ISO-15765
Data Page?
Yes
No
ISO-15765
Type Of
Service?
No
Yes
No
CCP/XCP
function call
No process
Yes
Out of Scope
Yes
UDS function
call
Match UDS
Protocol Server
Address?
No
Out of Scope
End
Start
Single Frame?
No
First Frame?
Consecutive
Frame?
No
No
Flow Control
Frame?
Yes
Yes
Yes
Yes
Received data
equal to Data Length?
No
Yes
Yes
No
No
Send a Flow Control Frame
End
IV.
ACKNOWLEDGMENT
Firstly, I would like to acknowledge the following people
for their support and assistance with the research. From
Ricardo Deutschland GmbH Aachen Technical Centre, the
special thank goes to my helpful advisors, Dipl.-Ing. Daniel
Gross and Dipl.-Ing. Christoph Lapp-Emden. The advices and
support that they gave truly helped the progression and
smoothness of the research. The cooperation was much indeed
appreciated. The project during the program would be nothing
without the enthusiasm and imagination from both of you.
Besides, the research made me realize the value of working
hard and the challenges to acquire a new knowledge which can
encountering us in every minute. Also, my grateful thank to
Dr.-Ing. Michael Heeg, my team leader in the company, who
always supervised me during the research period at Ricardo.
Next persons are my supervisor and my advisor from RWTH
Aachen University, Prof. Dr.-Ing. Stefan Kowalewski and
Dipl.-Ing. Andr Stollenwerk, respectively. I am truly grateful
for the chance and coordination between RWTH and
KMUTNB-TGGS that made this master thesis program
[2]
[3]
[4]
[5]
[6]
[7]
SF Single Frame
MF Multi Frame
FF First Frame
CF Consecutive Frame
FC Flow Control Frame
Figure 5: Transport Layer Development - 4 types of Communication