doip with canoe - vector › cms › content › events › 2019 › vh › vic...laygude , prashant...
TRANSCRIPT
V1.03 | 2019-07-15OverviewDoIP with CANoe
2
1. OSI Layers2. DoIP Basics3. ExampleAgenda
3
Diagnostics over IPOSI Layers
4
Vehicle and external networkDoIP Basics
ExternalnetworkAccording to ISO 13400-2:2012(E)
Vehicle networkECU 1.1ECU 1.2
ECU 1.<u> DoIP edge node gateway 1 DoIP gateway <w> Network node 1 DoIPnode 1
ECU 2.1ECU 2.2
ECU 2.<v> Network node <x> DoIPnode <y>
External test equipment Network node 2 Network node <z>
Vehicle sub-network 1 Vehicle sub-network 2
IP-based networkIP-based networkActivation line
... ...... ... ......
5
Diagnostic MessagesDoIP Basics
TCP: Diagnostic Message (SA, TA, UD1))TCP: Diagnostic Message Positive Acknowledgement (SA, TA, ACK Code, …)2)1) UD = User Data, contains the Diagnostic Request/Response2) Only sent by a gateway after receiving, processing and copying the message correctly into the destination network transmission bufferTCP: Diagnostic Message (TA, SA, UD)
Ext. test equipment DoIP ECU/Gateway
6
DoIP Port UsageDoIP Basics� The first edition of the standard only specifies one port number both for TCP and UDP frames (13400)Ext. test equipment (“Tester”) DoIP entity(“ECU”, “Gateway”)UDP Port: 13400(“UDP_DISCOVERY”)UDP Port: <dynamically assigned>UDP Port: <dyn. assigned 49125..65535>(“UDP_TEST_EQUIPMENT_REQUEST”)
Unsolicited DoIP messages(e.g. Vehicle Announcement Message)“DoIP routing Messages” (Requests)
Control Commands, Information Requests
“DoIP routing Messages” (Responses) TCP Port: 13400 (unicast)(“TCP_DATA”)TCP Port: <chosen automatically>UDP Port: 13400(“UDP_DISCOVERY”) Responses
7
DOIP : CANoe as Tester Download to CAN ECU via Ethernet GatewayExampleDOIP demo: EthernetDiagnosticsSystem.cfgDownloadGW test module: Flashing of the HSFZ gateway (network node GW)DownloadECU test module: Flashing of ECU Door (network node ECU)
8 © 2016. Vector Informatik India Private Limited. All rights reserved. Any distribution or copying is subject to prior written approval by Vector. V1.03 | 2019-07-15
Author:Laygude , Prashant Vector IndiaFor more information about Vectorand our products please visitwww.vector.com