Académique Documents
Professionnel Documents
Culture Documents
V1.00.00 | 2015-11-12
Diagnostic communication over Internet Protocol (DoIP)
Protocol Introduction
7 Advantages
6 DoIP High-speed vehicle access
5
Ethernet and TCP/IP as well-known
4 UDP/TCP technologies
Parallel ECU re-programming via gateway
3 IPv4/IPv6
1 Ethernet PHY
ISO/OSI Model
Payload e.g.
PRB Ethernet Hdr IP Hdr UDP/TCP Hdr DoIP Hdr CRC
UDS data
Ethernet Frame
2/14 2015. Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector. V1.00.00 | 2015-11-12
Diagnostic communication over Internet Protocol (DoIP)
DoIP Gateway to Classical Bus Systems
Tester is connected via Ethernet to the gateway and uses DoIP for diagnostics
and ECU re-programming
Addressing of ECUs is based on logical DoIP addresses
Gateway maintains address mapping table and forwards UDS messages
ECUs re-programmed
in parallel
FlexRay CAN CAN LIN
3/14 2015. Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector. V1.00.00 | 2015-11-12
Diagnostic communication over Internet Protocol (DoIP)
DoIP Gateway to CAN
[UDP] DHCP-based
IP address assignment
t t t
4/14 2015. Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector. V1.00.00 | 2015-11-12
Diagnostic communication over Internet Protocol (DoIP)
Diagnostics of In-Vehicle Ethernet ECUs
Not explicitly specified by ISO 13400 but there are two paradigms
1. Transparent switch
Tester has direct access to in-vehicle Ethernet ECUs
3 4 5 6 Int. VLAN
5/14 2015. Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector. V1.00.00 | 2015-11-12
Diagnostics of In-Vehicle Ethernet ECUs
Transparent Switch
3 4 5 6 Int. VLAN
6/14 2015. Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector. V1.00.00 | 2015-11-12
Transparent Switch
Communication between Tester and Ethernet ECUs
[UDP] DHCP-based
IP address assignment
t t t
7/14 2015. Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector. V1.00.00 | 2015-11-12
Diagnostics of In-Vehicle Ethernet ECUs
Locked Switch
When using a locked switch, the gateway can implement security mechanisms
3 4 5 6 Int. VLAN
8/14 2015. Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector. V1.00.00 | 2015-11-12
Locked Switch
DoIP Gateway to Ethernet Emulated DoIP Tester
[UDP] DHCP-based
IP address assignment
t t t
9/14 2015. Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector. V1.00.00 | 2015-11-12
Locked Switch
DoIP Gateway to Ethernet Simplified Routing
t t t
10/14 2015. Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector. V1.00.00 | 2015-11-12
Locked Switch
Simplified Routing to In-Vehicle Ethernet ECUs
0x0302
0x0351
2. 1:1 routing of DoIP Diagnostic Messages
0x0303
DoIP addresses are used 0x0352
1 1 2 4 2 2
Protocol Inv. Prot. Payload Payload Source Target
UDS Data
Version Version Type Length Address Address
DoIP Diagnostic Message (TCP payload)
11/14 2015. Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector. V1.00.00 | 2015-11-12
Locked Switch
Simplified Routing to In-Vehicle Ethernet ECUs
1 1 2 4 2 2
Protocol Inv. Prot. Payload Payload Source Target
UDS Data
Version Version Type Length Address Address
DoIP Diagnostic Message (TCP payload)
PDU
AUTOSAR SoAd PDU Header Option PDU ID PDU Data
Length
4 4
Socket Adaptor PDU Header Option can be used as a slim transport protocol
for diagnostic communication to in-vehicle Ethernet ECUs
Efficient routing in AUTOSAR basic software possible
12/14 2015. Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector. V1.00.00 | 2015-11-12
Conclusion - Fast Vehicle Diagnostics with DoIP
Also for In-Vehicle Ethernet ECUs? Yes, but
13/14 2015. Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector. V1.00.00 | 2015-11-12
Your questions are welcome!
Author:
Marc Weber
Vector Informatik GmbH
2015. Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector. V1.00.00 | 2015-11-12