Vector Diagnostics Seminar
Vector Diagnostics Seminar
Vector Diagnostics Seminar
A Technical Seminar
Topics:
The Evolution of Automotive Diagnostic Technology
Legislative Considerations
Diagnostic Standards So Many to Choose From
ECU Addressing Who am I Talking Too?
Unlocking the Secrets of ISO 15765-2 Transport Protocol
Understanding UDS (ISO 14229)
Running UDS on Different Buses (J1939, Ethernet, FlexRay, etc.)
ODX What it is, and What it isnt
An ECU Diagnostic Development Process from A to Z
The Future of Diagnostic Technology
June, 2014
2013 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector.
V 0.01
2013-11-25
Agenda
2013 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector.
Slide: 2
2013 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector.
Slide: 5
2013 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector.
Slide: 6
2013 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector.
Slide: 7
2013 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector.
Slide: 8
2013 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector.
Slide: 9
Benefits
A/D
Fail
2013 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector.
Slide: 10
Who Cares?
2013 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector.
Slide: 11
2013 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector.
Slide: 12
EOL testing (verify vehicle was built correctly and in working order)
Verify repairs
Evolution, or Revolution?
2013 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector.
Slide: 15
Client-server relationship
Tester is client
ECU is server
ECU only speaks when
spoken to
Diagnostic messaging only
happens when tester is
present
Not part of normal mode
ECU-to-ECU messaging
2013 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector.
Slide: 16
2013 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector.
Slide: 17
2013 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector.
Slide: 18
Industry diverged
2013 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector.
Slide: 19
2013 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector.
Slide: 20
Legislative Considerations
June, 2014
2013 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector.
V 0.01
2013-11-25
2013 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector.
Slide: 2
EU (European Commission)
Other Countries
2013 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector.
Slide: 3
Taken from Dave Ferris (GM Emission Compliance & Certification) presentation at the SAE 2013 On-Board Diagnostics Symposium
2013 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector.
Slide: 4
Taken from Dave Ferris (GM Emission Compliance & Certification) presentation at the SAE 2013 On-Board Diagnostics Symposium
2013 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector.
Slide: 5
Primarily a US activity
ISO
2013 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector.
Slide: 6
CARB California Code of Regulations (CCR) 1968.2 (Vehicles < 14000 lbs.)
CARB CCR 1971, Engine Manufacturer Diagnostics (EMD), (Vehicles > 14000 lbs.)
CARB CCR 1971.1, OBD System Requirements for 2010 and later Model-Year Heavy-Duty Engines (HD-OBD)
EURO 3, 4, 5, 6, etc.= pass cars & light duty vehicles. EURO III, IV, V, VI, etc. = HD vehicles
SAE J1979
2013 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector.
Slide: 7
Legal Requirements
Necessity of Diagnostics in Motor Vehicles
MIL
Model Year
96 97 98 99 00 01 02 03 04 05 06 07 08 09 10 11 12 13
Source: www.obd-2.de
2013 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector.
Slide: 8
Legal Requirements
OBD-II connector (SAE J1962)
PIN
Function
Discretionary
Discretionary
Chassis ground
Signal ground
Discretionary
Discretionary
10
11
Discretionary
12
Discretionary
13
Discretionary
14
15
16
OBD-II connector
2013 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector.
Slide: 9
June, 2014
2013 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector.
V 0.01
2013-11-25
2013 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector.
Slide: 2
Diagnostic Standards
Open Standards
OEM Standards
GM GMW3110
Coming Soon
2013 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector.
Slide: 3
ISO
Manf Specific
J1930
J1962
J1978
J1979
J2012
J2186
J2284
J2411
J2534
Several
MD & HD Veh
(J1939)
Several
MD & HD Veh
Past
ISO9141
J1850
J1708
J1587
Present
J1930
J1962
J1978
J1979
J2012
J2186
J2284
J2411
J2534
ISO11898
ISO15765
ISO14230
ISO14229
ISO15031
ISO22901
J1939
J2403
Future
J1939 ??
ISO27145 (WWH OBD) ??
2013 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector.
Slide: 5
Apples to Apples
OSI
Layer
Diagnostic
Connector
SAE J1939-13
ISO 15031-3
ISO 15031-3
(SAE J1962)
(SAE J1962)
Application
SAE J1939-71/73
SAE J1939-81
ISO 15765-3
ISO 14229-1
ISO 15031-5
Presentation
User Defined
ISO 15031-5
(SAE J1979)
Session
ISO 15765-3
Transport
Protocol
ISO 15765-2
ISO 15765-2
Network
Layer
SAE J1939-31
ISO 15765-2
ISO 15765-4
Data Link
SAE J1939-21
ISO 11898-1
ISO 15765-4
Physical Layer
SAE J1939-11/15
User Defined
ISO 15765-4
(ISO 11898-2)
N/A
(ISO 11898-1)
(SAE J1979)
(ISO 11898-1)
2013 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector.
Slide: 6
ISO 15765
2
CAN-Specific
Non-CAN / Generic
ISO 14229
ISO 15031
(UDS)
evolved
from
ISO 14230
H A R M
J1930
(KWP2000)
J1962
O N
J1978
I Z
J1979
E D
J2012
J2186
2013 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector.
Slide: 7
General
Diagnostics - International Standards (Introduction Dates)
1996
ISO 9141
1999
ISO 14230
1999
ISO/DIS 15765
2001
ISO 15031
2005
ISO 15765
2006
ISO/DIS 14229-1
2013 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector.
Slide: 8
Quote to ponder
The good thing about standards is that there
are so many to choose from Keith Kreft
J1962
J2186
2013 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector.
Slide: 10
June, 2014
2013 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector.
V 0.01
2013-11-25
Physical Interface
Many Possibilities
CAN
K-Line
ABS
Engine
Client
(Tester)
Diagnostic
Connector
Gear
CAN
ECU 2
TVTuner
Navi
X-by-Wire
Powertrain
IC
ECU 1
Flexray
Gateway
Multimedia
MOST
Comfort
CDPlayer
Telephone
CAN
Door
Roof
Seat
AC
BC
Sensor/Aktor
Sensor
Sensor
LIN
Actor
2013 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector.
Slide: 2
2013 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector.
Slide: 3
11 bit or 29 bit
2013 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector.
Slide: 4
Each ECU will also support one/more functional CAN IDs for
broadcast messages from the tester
The tester has to know the CAN IDs for every ECU
2013 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector.
Slide: 5
2013 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector.
Slide: 6
Addressing Types
Possibilities Typically Based on CAN ID Range
Receiver known
CU 3
Tester
CU 3
Broadcast
Receiver unknown
Tester
CU 2
2013 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector.
Slide: 7
Addressing Schemes
Normal addressing
B
A
C
Extended addressing
2013 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector.
Slide: 8
Addressing Schemes
A
C
B
Mixed addressing
Prio
00
Id
Mask
Tgt
Addr
7 Byte
(PCI +
Data)
address
extension
11 or 29 bit CANId
Src
Addr
address
extension
7 Byte
(PCI +
Data)
2013 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector.
Slide: 9
Addressing scheme
Overview
Normal
Addressing
11-bit
CAN
ID
29-bit
CAN
ID
11
bit
Normal Fixed
Addressing
8Byte
(PCI+Data)
Prio
29
bit
Extended
Addressing
8Byte
(PCI+Data)
TA = Target Address
SA = Source Address
0
0
PGN
T
A
11
bit
T
A
7Byte
(PCI+Data)
29
bit
T
A
7Byte
(PCI+Data)
S
A
8Byte
(PCI+Data)
Mixed Addressing
11
bit
Prio
A
E
0
0
7Byte
(PCI+Data)
PGN
T
A
S
A
A
E
7Byte
(PCI+Data)
AE = Address Extension
SA = Source Address
2013 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector.
Slide: 10
Off-board
tester
ECU 1
ECU 2
2013 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector.
Slide: 11
Addressing Scheme
Off-board
tester
it is working with.
208
BC 400
201
ECU 1
ECU 2
209
BC 400
202
ECU 3
20A
2013 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector.
Slide: 12
June, 2014
2013 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector.
V 0.01
2013-11-25
2013 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector.
Slide: 2
VIN #
1 B 3 H B 4 8 A 0 9 D 1 2 3 4 5 6
2013 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector.
Slide: 3
Transport Protocol
Error detection
2013 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector.
Slide: 4
sender
UUDT
receiver
Data
AUDT
Data
Ack.
USDT
Data
Data
ASDT
Data
Data
Ack.
2013 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector.
Slide: 5
ID
DLC
CRC
PCI
ACK
application data
2013 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector.
Slide: 6
ID
DLC
X
PCI
CRC
ACK
application data
0 = single frame
1 = first frame
2 = consecutive frame
2013 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector.
Slide: 7
ISO 15765-2
Message Types
2013 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector.
Slide: 8
ISO 15765-2
Summary
1 2 3 4 5 6 a n s p o r
P r
o t
24 Bytes
o c o l M C
I S O
T r
a n s p o r
P r
o t
o c o
l M C
STmin
Focus Here
(upper nibble)
2013 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector.
Slide: 9
Application
Diagnostics
Interaction
Layer
Network
Management
Transport
Layer
Hardware
2013 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector.
Slide: 10
ISO 15765-2
Single Frame Transfer
1 2 3
3 Bytes
I S O
SF 0 3
Trace View
data
single frame
DL
data length
2013 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector.
Slide: 11
ISO 15765-2
Multiple Frame Transfer
A
1
I S
2 O
3 4 T
5 6
r a n s p o r
P r o t o c o l M C
24 Bytes
2013 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector.
Slide: 12
ISO 15765-2
First Frame
1 2 3 4 5 6 a n s p o r
P r
o t
o c o l M C
24 Bytes
I S O
T r
FF
1 0
18
data
data length
12 bit
4095 bytes max.
First Frame TPCI
Bit
first frame
Byte 1
XDL
XDL
2013 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector.
Slide: 13
ISO 15765-2
Flow Control
1 2 3 4 5 6 a n s p o r
P r
o t
o c o l M C
24 Bytes
I S O
T r
FC 3 0
02
14
separation time (STmin) in ms
minimum send interval betw. CFs
0x00 = send as fast as possible
flow control
FS
flow state:
0
1
*block
clear to send
wait
2013 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector.
Slide: 14
ISO 15765-2
Consecutive Frame
1 2 3 4 5 6 a n s p o r
P r
o t
o c o l M C
I S O
T r
a n s p o r
P r
o t
o c
24 Bytes
CF 2 1
STmin
CF
2 2
data
Consecutive Frame TPCI
SN
consecutive frame
sequence number:
0x0 to 0xF
counts CFs
2013 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector.
Slide: 15
ISO 15765-2
Flow Control
1 2 3 4 5 6 a n s p o r
P r
o t
o c o l M C
24 Bytes
I S O
T r
a n s p o r
P r
o t
o c
FC 3 0
02
14
STmin
flow control
FS
flow state:
0
1
clear to send
wait
2013 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector.
Slide: 16
ISO 15765-2
Consecutive Frame
1 2 3 4 5 6 a n s p o r
P r
o t
o c o l M C
I S O
T r
a n s p o r
P r
o t
o c o
l M C
24 Bytes
CF 2 3
STmin
data
unacknowledged
t
SN
consecutive frame
sequence number:
0x0 to 0xF
counts CFs
2013 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector.
Slide: 17
ISO 15765-2
Summary
1 2 3 4 5 6 a n s p o r
P r
o t
o c o l M C
24 Bytes
I S O
T r
a n s p o r
P r
o t
o c o
l M C
STmin
2013 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector.
Slide: 18
ISO 15765-2
Timing in the Transport Protocol
sender
receiver
N_As
N_Br
N_Bs
N_Ar
N_Cs
N_Cr
N_As
2013 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector.
Slide: 19
10
June, 2014
2013 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector.
V 0.01
2013-11-25
2013 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector.
Slide: 2
2013 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector.
Slide: 3
Off-board
tester
ECU 1
ECU 2
2013 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector.
Slide: 4
2013 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector.
Slide: 5
The SID and the name of the service can be used interchangeably
ReadDataByIdentifier
Service 22
- or
The first byte of the pos response msg is 0x62 (the SID + 0x40)
2013 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector.
Slide: 6
Standardized Data
Communication Services
Communication Services
2013 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector.
Slide: 7
There
Opt. Data
SID
Opt. Data
SF
Opt. Data
SF
ID
Opt. Data
2013 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector.
Slide: 8
Services indicate the kind of task, but not always the exact task
2013 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector.
Slide: 9
2013 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector.
Slide: 11
recessive
dominant
Request
(Client)
TPCI
22
F1
8C
00
00
00
00
01
E2
40
00
Response
(Server)
TPCI
62
F1
8C
Parameter data
2013 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector.
Slide: 12
SID-RQ
Parameter 1
Parameter 2
Parameter 3
xx
Optional
Optional
Optional
Negative
Response
by ECU
SID-NR
Parameter 1
Parameter 2
0x7F
SID-RQ
2013 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector.
Slide: 13
10
11
12
13
14
21
22
24
25
26
31
33
35
36
37
70
71
72
73
78
generalReject
serviceNotSupported
subFunctionNotSupported
incorrectMessageLengthOrInvalidFormat
responseTooLong
busyRepeatRequest
conditionsNotCorrect
requestSequenceError
noResponseFromSubnetComponent
failurePreventsExecutionOfRequestedAction
requestOutOfRange
securityAccessDenied
invalidKey
exceedNumberOfAttempts
requiredTimeDelayNotExpired
uploadDownloadNotAccepted
transferDataSuspended
generalProgrammingFailure
wrongBlockSequenceCounter
requestCorrectlyReceived-ResponsePending
7E subFunctionNotSupportedInActiveSession
7F serviceNotSupportedInActiveSession
81 rpmTooHigh
82 rpmTooLow
83 engineIsRunning
84 engineIsNotRunning
85 engineRunTimeTooLow
86 temperatureTooHigh
87 temperatureTooLow
88 vehicleSpeedTooHigh
89 vehicleSpeedTooLow
8A throttle/PedalTooHigh
8B throttle/PedalTooLow
8C transmissionRangeNotInNeutral
8D transmissionRangeNotInGear
8F brakeSwitch(es)NotClosed
90 shifterLeverNotInPark
91 torqueConverterClutchLocked
92 voltageTooHigh
93 voltageTooLow
2013 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector.
Slide: 14
Tester
ECU
Example (UDS):
OR
2013 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector.
Slide: 15
Initial Focus
2013 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector.
Slide: 16
Request
Cvt
Hex Value
Mnemonic
#1
Parameter Name
DiagnosticSessionControl
Request Service Id
10
STDS
#2
sub-function = [
diagnosticSessionType ]
00-FF
LEV_
DS_
Hex
Response
Cvt
Mnemonic
00
ISOSAEReserved
ISOSAERESRVD
01
defaultSession
DS
02
programmingSession
PRGS
03
extendedDiagnosticSession
EXTDS
Data byte
Description
Cvt
Hex Value
Mnemonic
DiagnosticSessionControl
Response Service Id
50
STDSPR
#2
diagnosticSessionType
00-FF
DS_
#3
:
#n
sessionParameterRecord[] #1 = [
data#1
:
data#m ]
00-FF
:
00-FF
SPREC_
DATA_1
:
DATA_m
#1
Parameter Name
C
:
C
2013 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector.
Slide: 17
Type
Name
Mandatory
Selection
Description
The parameter has to be present in the A_PDU.
NOTE The "<Service Name> Request Service Id" marked as 'M' (Mandatory),
shall not imply that this service has to be supported by the server. The 'M' only
indicates the mandatory presence of this parameter in the request A_PDU in
case the server supports the service.
2013 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector.
Slide: 18
02
10
02
xx
xx
xx
xx
xx dont care
xx
DiagnosticSessionType - ProgrammingSession
Request - DiagnosticSessionControl
TPCI - SingleFrame
Pos.Response
02
50
02
xx
xx
xx
xx
xx
DiagnosticSessionType - ProgrammingSession
Pos.Response (SID + 0x40)
TPCI - SingleFrame
Neg.Response
03
7F
10
22
xx
xx
xx
xx
Request
Data
byte
Parameter Name
Hex
Value
11
ER
00-FF
LEV_
RT_
#1
#2
sub-function = [
resetType ]
Hex
Response
Cvt
Mnemonic
Cvt
Mnemonic
00
ISOSAEReserved
ISOSAERESRVD
01
hardReset
HR
02
keyOffOnReset
KOFFONR
03
softReset
SR
04
enableRapidPowerShutDown
RPSD
Description
05
disableRapidPowerShutDown
DRPSD
Parameter Name
Data
byte
Cvt
Hex
Value
Mnemonic
ERPR
#1
51
#2
resetType
00-FF
RT_
#3
powerDownTime
00-FF
PDT
2013 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector.
Slide: 20
10
02
11
03
xx
xx
xx
xx
xx dont care
xx
Pos.Response
02
51
03
xx
xx
xx
xx
xx
Neg.Response
03
7F
11
22
xx
xx
xx
xx
Request
Response
Parameter Name
Cvt
Hex
Value
#1
14
CDTCI
#2
#3
#4
groupOfDTC[] = [
groupOfDTCHighByte
groupOfDTCMiddleByte
groupOfDTCLowByte ]
M
M
M
00-FF
00-FF
00-FF
GODTC_
HB
MB
LB
Data
byte
Mnemonic
Data
byte
Parameter Name
Cvt
Hex
Value
Mnemonic
#1
54
CDTCIPR
2013 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector.
Slide: 22
11
Request
04
14
00
00
00
xx
xx
xx dont care
xx
Group of DTC
Request - ClearDiagnosticInformation
TPCI - SingleFrame
Pos.Response
01
54
xx
xx
xx
xx
xx
xx
Neg.Response
03
7F
14
22
xx
xx
xx
xx
Request
Cvt
Hex
Value
Mnemonic
#1
22
RDBI
#2
#3
dataIdentifier[] #1 = [
byte#1 (MSB)
byte#2 ]
M
M
00-FF
00-FF
DID_
B1
B2
U
U
00-FF
00-FF
DID_
B1
B2
Parameter Name
Cvt
Hex
Value
Mnemonic
#1
62
RDBIPR
#2
#3
dataIdentifier[] #1 = [
byte#1 (MSB)
byte#2 ]
M
M
00-FF
00-FF
DID_
B1
B2
data#k ]
M
:
U
00-FF
:
00-FF
DREC_
DATA_1
:
DATA_m
:
#n-1
#n
Response
Parameter Name
Data
Byte
dataIdentifier[] #m = [
byte#1 (MSB)
byte#2 ]
Data
Byte
#4
:
#(k-1)+4
:
dataRecord[] #1 = [
data#1
:
2013 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector.
Slide: 24
12
03
22
F1
86
xx
xx
xx
xx
xx dont care
Pos.Response
04
62
F1
86
02
xx
xx
xx
DiagnosticSessionType - ProgrammingSession
Data Identifier - ActiveDiagnosticSession
Pos.Response (SID + 0x40)
TPCI - SingleFrame
Neg.Response
03
7F
22
22
xx
xx
xx
xx
05
22
01
0A
01
10
xx
xx
xx dont care
2x Data Identifier
Request - ReadDataByIdentifier
TPCI - SingleFrame
Pos.Response
07
62
01
0A
55
01
10
66
2013 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector.
Slide: 26
13
Request
Data Byte
#1
#2
#3
#4
:
#m+3
Parameter
Cvt
Hex Value
Mnemonic
2E
WDBI
dataIdentifier[] = [
byte#1 (MSB)
byte#2 ]
M
M
00-FF
00-FF
DID_
HB
LB
dataRecord[] = [
data#1
:
data#m ]
M
:
U
00-FF
:
00-FF
DREC_
DATA_1
:
DATA_m
Cvt
Hex Value
Mnemonic
6E
WDBIPR
M
M
00-FF
00-FF
DID_
HB
LB
WriteDataByIdentifier Request
Service Id
Response
Data Byte
#1
#2
#3
Parameter
WriteDataByIdentifier Response
Service Id
dataIdentifier[] = [
byte#1 (MSB)
byte#2 ]
2013 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector.
Slide: 27
07
2E
F2
90
57
30
4C
30
xx dont care
data
Data Identifier ECU Software Level
Request - WriteDataByIdentifier
TPCI - SingleFrame
Pos.Response
03
6E
F2
90
xx
xx
xx
xx
Neg.Response
03
7F
2E
22
xx
xx
xx
xx
14
I/O Control
Flash Programming
2013 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector.
Slide: 29
Session Management
2013 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector.
Slide: 30
15
Session Management
Example
Power On
K
Parameter
Default Session:
0x10 01
Programming Session:
0x10 02
Extended Session:
0x10 03
2013 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector.
Slide: 31
Security Access
Tester
ECU
Calc Key
Compare Key
If (Key = Key)
unlock ECU
2013 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector.
Slide: 32
16
Tester asks the ECU for its state of health and any observed failures
Testers can recall this data at a later time during testing and service
2013 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector.
Slide: 33
01 reportNumberOfDTCByStatusMask
02 reportDTCByStatusMask
03 reportDTCSnapshotIdentification
04 reportDTCSnapshotRecordByDTCNumber
05 reportDTCSnapshotRecordByRecordNumber
06 reportDTCExtendedDataRecordByDTCNumber
07 reportNumberOfDTCBySeverityMaskRecord
08 reportDTCBySeverityMaskRecord
09 - reportSeverityInformationOfDTC
0A reportSupportedDTC
0B reportFirstTestFailedDTC
0C reportFirstConfirmedDTC
0D reportMostRecentTestFailedDTC
0E - reportMostRecentConfirmedDTC
0F reportMirrorMemoryDTCByStatusMask
10 reportMirrorMemoryDTCExtendedDataRecordByDTCNumber
11 reportNumberOfMirrorMemoryDTCByStatusMask
12 reportNumberOfEmissionsOBDDTCByStatusMask
13 reportEmissionsOBDDTCByStatusMask
14 reportDTCFailedDetectionCounter
15 reportDTCWithPermanentStatus
16 reportDTCExtDataRecordByRecordNumber
17 reportUserDefMemoryDTCByStatusMask
18 reportUserDefMemoryDTCSnapshotRecordByDTCNumber
19 - reportUserDefMemoryDTCExtDataRecordByDTCNumber
2013 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector.
Slide: 34
17
2013 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector.
Slide: 35
Root DTC
The upper two bits of the root identify the major system
>
>
>
>
2013 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector.
Slide: 36
18
DTC
Byte 1
Byte 2
Byte 3
FTB
8 7 6 5 4 3 2 1 8 7 6 5 4 3 2 1 8 7 6 5 4 3 2 1
A lot!
This ties in with the FMEA activity Failure Mode Engineering Analysis
4B over temperature
2013 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector.
Slide: 38
19
13 open circuit
Bit 7 warningIndicatorRequest
Bit 6 testNotCompletedThisMonitoringCycle
Bit 5 testFailedSinceLastClear
Bit 4 testNotCompletedSinceLastClear
Bit 3 confirmedDTC
Bit 2 pendingDTC
Bit 1 testFailedThisMonitoringCycle
Bit 0 testFailed
2013 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector.
Slide: 40
20
02 = reportDTCByStatusMask mode
2013 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector.
Slide: 41
8A = 1000 1010
>
Bit 7 warningIndicatorRequested = 1
>
Bit 3 confirmedDTC = 1
>
Bit 1 testFailedThisMonitoringCycle = 1
>
2013 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector.
Slide: 42
21
Reprogramming
85
28
34
Request Download
36
37
2013 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector.
Slide: 43
Periodic Reading
2A
SF
ID Read Data By Periodic Identifier
The service
starts periodic sending of data by the ECU.
SF
Description
01
02
03
04
Stop
2013 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector.
Slide: 44
22
Tester
SF
MSB
SID
7
MSB
Description
2013 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector.
Slide: 45
ECU turns DTC setting on, but does not send a positive response
2013 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector.
Slide: 46
23
Control modes
02 = freezeCurrentState
03 = shortTermAdjustment
00 = returnControlToEcu
2013 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector.
Slide: 47
2013 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector.
Slide: 48
24
If the tester should lose contact with the ECU, the service must stop
Left unsupervised by the tester, the ECU must stop all persistent services
There is nothing more for the ECU to do but continue not setting DTCs
25
2013 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector.
Slide: 51
ISO14229DiagnosticSessionControl
ISO14229
Service 10 DiagnosticSessionControl
Revisited
2
3
4
5
0
1
default
Session
extended
programming
10 02
Diagnostic
Session
Session
2013 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector.
Slide: 52
26
June, 2014
2013 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector.
V 0.01
2013-11-25
2013 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector.
Slide: 2
2013 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector.
Slide: 3
2013 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector.
Slide: 4
Tester
ECU
UDS/KWP
[[Target ID] [Requested Service + Requested Data]]
ECU
Tester
[[Source ID] [Requested Service ID + Requested Data]]
There 2 are ways defined to allow for ISO 15765 communication to occur on
a J1939 bus
One way is using J1939 PGNs. The structure of the CAN ID is exactly the
same as any other J1939 message
Note that these PGNs are Destination Specific and both data page bits are
zero!
In current projects within Deere this method is used, with PGN 0x00DA00
2013 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector.
Slide: 6
The second way formats the CAN ID in a way that will not interfere with any
other CAN IDs on the J1939 Network
The two Data Page bits (EDP and DP) are set to 1. Differentiates these
messages from any other on the network to avoid conflicts.
Note that the Source Address and Destination Address fields shown here are
NOT the same as the J1939 Source and Destination Addresses!
There are other means defined in ISO17565 to use both 11 bit and 29 bit
CAN IDs which are not compatible with J1939. These might be used in
automobile networks for example.
2013 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector.
Slide: 7
- No Equivalent -
2013 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector.
Slide: 8
June, 2014
2013 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector.
V 0.01
2013-11-25
History Lesson
# Diagnostic Trouble Codes:
1984 Chevrolet Cavalier
15
84
82
~2,000
~1200
Data Complexity
Example: Yesterday
1 OEM
10 Model Lines
If supporting 10 OEMs:
Example: Today
1 OEM
10 Model Lines
Not to mention:
PIDs, DIDs, SIDs, CPIDs, Sessions, NRCs, PRCs, FTBs, Seeds,
Keys, Freeze Frame Data, Monitor Data, ECU Config Data
2013 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector.
Slide: 5
Definition
What is ODX?
2013 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector.
Slide: 6
2013 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector.
Slide: 7
What is ODX?
2013 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector.
Slide: 8
Motivation
Objectives of ODX
Vehicle diagnostics
Machine readable
Service
01001001
AND
Authoring
Tester
Validation
Identical data
in different tools
Manufacturing
Development
PDF/RTF
2013 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector.
Slide: 9
Scope of ODX
Components of the standard
UML Model
XML Schema
Textual
Description
Checker Rules
2013 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector.
Slide: 10
Use Cases
Releases
Diagnostic Layer Container
Vehicle Info Spec
Comparam Spec
Multiple ECU Jobs
Flash Data
Incompatibilities
Function Dictionary
Ecu Configuration
Rework of Functional Addressing
Improved UDS support
ISO 22901-1
2013 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector.
Slide: 11
Use Cases
MCD-2D and MCD-3D
Tester-Application
ASAM MCD-2D
ODX
ISO 22901-1
D PDU API
ISO 22900-2
Hardware Interface
ISO 22900-1
Source: ASAM e.V.
2013 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector.
Slide: 12
Practical Application
Client
Server
(Off-Board Tester)
Diagnostic
Data
Required Information
ODX
VEHICLE-INFO-SPEC
Communication parameters?
COMPARAM-SPEC
DIAG-LAYER-CONTAINER
FUNCTION-DICTIONARY
ECU-CONFIG
FLASH
MULTIPLE-ECU-JOB-SPEC
2013 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector.
Slide: 13
ODX Catagories
Defined by the Data Model
Jobs
ODX-M
Function oriented
diagnostics
ODX-FD
ECU configuration
ODX-E
Flash data
ODX-F
Vehicle access
ODX-V
Communication
parameter libraries
Diagnostic
services and jobs
.PDX files:
ODX-C/-CS
ODX-D
Off-board
Tester
2013 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector.
Slide: 14
ODX Files
odx-c (COMPARAM-SPEC)
odx-d (DIAG-LAYER-CONTAINER)
odx-f (FLASH)
odx-m (MULTIPLE-ECU-JOB)
odx-v (VEHICLE-INFO-SPEC)
odx-e (ECU-CONFIG)
odx-fd (FUNCTION-DICTIONARY)
2013 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector.
Slide: 15
ODX files
PDX files
2013 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector.
Slide: 16
ODX in Practice
Authoring guidelines
High complexity
Common approach:
= Authoring guideline
Checker Tool
Sub-set supported by
tool A
Sub-set relevant
for data
exchange
between the
tools A and B
Sub-set supported by
tool B
ODX standard
2013 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector.
Slide: 17
2013 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector.
Slide: 18
June, 2014
2013 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector.
V 1.0
2013-10-04
Agenda
2013 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector.
Slide: 2/26
Requirements Engineering
Risks
Requirements incomplete
2013 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector.
Slide: 3/26
Requirements Engineering
Formalization
Too formal
Too precise
Agenda
Requirements Engineering
> ECU Software
Diagnostic Testers
Diagnostic Development Process
An Exemplary Tool Chain
Summary
2013 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector.
Slide: 5/26
ECU Software
AUTOSAR
Hardware abstraction
Well-defined interfaces
2013 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector.
Slide: 6/26
ECU Software
AUTOSAR
Vehicle B
Hardware
Topology
Function Library
Seat Adjustment A
Software
Configuration
Seat Adjustment B
Lighting
Seat Heating
Air Conditioning
Distributed
System
ECU Extract
of System
Description
2013 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector.
Slide: 7/26
ECU Software
AUTOSAR
ECU
SWC1
SWC2
RTE
ECU Abstraction Layer
AUTOSAR BSW
Microcontroller
Complex
Device
Drivers
Microcontroller
Abstraction Layer
2013 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector.
Slide: 8/26
ECU Software
AUTOSAR
System / Memory /
Communication Services
FIM
DEM
DCM
PDU
Router
Bus TP
Communication Hardware
Abstraction
Bus
IF
Communication Drivers
Bus
Driver
2013 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector.
Slide: 9/26
Agenda
Requirements Engineering
ECU Software
> Diagnostic Testers
Diagnostic Development Process
An Exemplary Tool Chain
Summary
2013 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector.
Slide: 10/26
Diagnostic Testers
Security mechanisms
2013 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector.
Slide: 11/26
Diagnostic Testers
2013 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector.
Slide: 12/26
Agenda
Requirements Engineering
ECU Software
Diagnostic Testers
> Diagnostic Development Process
An Exemplary Tool Chain
Summary
2013 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector.
Slide: 13/26
Requirements
Specifications
Tester
Data
Tester
ECU
Configuration
Diagnostic
Communication
ECU
2013 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector.
Slide: 14/26
ECUC
Requirements
ODX
Data Format
2013 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector.
Slide: 15/26
Program
Engineer/Manager
Project
Engineer/Manager
System
Architect
Function
Engineers/Managers
System
Engineer/Manager
Integration
Engineer/Manager
Manufacturing/Service
Engineers/Managers
7 ECU Config.
OEM
Supplier
2013 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector.
Slide: 16/26
The tool chain shall support the iterative process, i.e. data
is changing, causes changes in related data.
2013 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector.
Slide: 17/26
Agenda
Requirements Engineering
ECU Software
Diagnostic Testers
Diagnostic Development Process
> An Exemplary Tool Chain
Summary
2013 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector.
Slide: 18/26
Any Tester
IBM DOORS
Export
Import
Export
ODX
CDD
Requirements
Diag Tester
CANdelaStudio
Specification
CANoe
CANape
Indigo
CANoe.DiVa
a
Validation
2013 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector.
Slide: 19/26
DaVinci
Configurator
Pro
ECU Software
Any Tester
ODX
IBM DOORS
CDD
Requirements
Diag Tester
CANdelaStudio
Specification
CANoe
CANape
Indigo
CANoe.DiVa
a
Validation
2013 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector.
Slide: 20/26
10
DaVinci
Configurator
Pro
ECU Software
Any Tester
ODX
IBM DOORS
Diag Tester
CANdelaStudio
CDD
Requirements
Specification
Multi-language feature
CANoe
CANape
Indigo
CANoe.DiVa
a
Validation
2013 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector.
Slide: 21/26
DaVinci
Configurator
Pro
ECU Software
Any Tester
IBM DOORS
Export
Import
ODX
Export
CDD
Requirements
Diag Tester
CANdelaStudio
Specification
CANoe
CANape
Indigo
CANoe.DiVa
a
Validation
2013 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector.
Slide: 22/26
11
ECU Software
ODX
IBM DOORS
CDD
Requirements
Diag Tester
CANdelaStudio
Specification
CANoe
CANape
Indigo
CANoe.DiVa
a
Validation
2013 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector.
Slide: 23/26
ECU Software
Any Tester
IBM DOORS
Export
Import
Export
ODX
CDD
Requirements
Diag Tester
CANdelaStudio
Specification
CANoe
CANape
Indigo
CANoe.DiVa
a
Validation
2013 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector.
Slide: 24/26
12
Summary
For detailed information about Vector and our products please have a look at:
www.vector.com
Authors:
Dr. Klaus Beiter, Christoph Rtz
Vector Informatik GmbH
Ingersheimer Str. 24
70499 Stuttgart
2013 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector.
Slide: 26/26
13
June, 2014
2013 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector.
V 0.01
2013-11-25
2013 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector.
Slide: 2
More Complexity?
More Standards?
More legislation?
Worldwide Harmonization?
2013 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector.
Slide: 3
I/M Stations
Insurance dongles
Prognostics
2013 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector.
Slide: 4
CAN FD
2013 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector.
Slide: 6
What is CAN-FD?
Transmit/receive up to 64 bytes/message
2013 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector.
Slide: 7
What is CAN-FD?
Legacy SW usable
2013 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector.
Slide: 8
Why CAN-FD?
CAN networks reached practical maximums of data transfer
2013 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector.
Slide: 9
Why CAN-FD?
Ethernet 10Mbits/sec +
CAN bus speed also limited due to the In-Frame Response (IFR)
mechanism
2013 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector.
Slide: 10
Basic Concepts
2013 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector.
Slide: 11
Basic Concepts
Summary:
CAN-FD is superset of CAN that:
And adds:
Data Frame
CRC
0..64
15
ACK
11
Data
ACK Delimiter
DLC
CRC Delimiter
RTR
r1
Identifier
r0
SOF
CAN
Base Data frame*
EOF
ITM
CRC
0..512
17 / 21
ACK Delimiter
Data
ACK
DLC
CRC Delimiter
ESI
BRS
11
r0
EDL
r1
SOF
Identifier
IDE
CAN-FD
Base Data Frame*
EOF
ITM
Arbitration Phase
Data Phase
Arbitration Phase
2013 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector.
Slide: 13
Byte #1
Bits 7 4
Bits 3 0
SingleFrame
(SF)
(CAN_DL 810) a
00002
SF_DL
SingleFrame
(SF)
(CAN_DL > 810)b
00002
00002
FirstFrame (FF)
(FF_DL 409510) a
00012
FirstFrame (FF)
(FF_DL > 409510) a,c
00012
00002
ConsecutiveFrame
(CF)a
00102
SN
FlowControl (FC) a
00112
FS
Byte #2
Byte #3
Byte #4
Byte #5
Byte #6
SF_DL
FF_DL
0000 00002
BS
FF_DL
STmin
N/A
N/A
N/A
NOTE
Shaded cells are not utilized for PCI information, but depending on the PDU, they might be utilized
for payload data.
a
CAN FD only
Messages larger than 409510 bytes shall use an escape sequence where the lower nibble of data byte 1
and all bits in byte 2 are set to 0 (invalid length). This signifies to the network layer that the value of FF_DL
is determined based on the next 32 bits in the frame (byte 3 is the MSB and byte 6 the LSB)
c
2013 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector.
Slide: 14
Author:
Jeff Craig
Vector CANtech, Inc.
Email: [email protected]
2013 . Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector.
Slide: 15