Demo – UDS over Ethernet (DoIP) on Aurix TC4D7

UDS over Ethernet (DoIP) on Infineon AURIX TC4D7

This demo showcases a custom implementation of Diagnostics over Internet Protocol (DoIP – ISO 13400) on Infineon AURIX TC4D7 Lite Kit using the integrated Gigabit Ethernet controller and the lwIP TCP/IP stack.

The project demonstrates the complete communication path from Ethernet frame reception to UDS diagnostic services transported over DoIP.

Implemented Features

Ethernet

  • GETH Ethernet driver integration
  • RMII PHY communication
  • lwIP network stack integration
  • Static IPv4 configuration
  • ARP handling
  • ICMP Echo Request / Reply (Ping)

DoIP (ISO 13400)

UDP Discovery (Port 13400)

  • Vehicle Identification Request (0x0001)
  • Vehicle Identification Request with EID (0x0002)
  • Vehicle Identification Response (0x0004)
  • Vehicle Announcement Message (startup broadcast)

TCP Diagnostic Communication (Port 13400)

  • Routing Activation Request (0x0005)
  • Routing Activation Response (0x0006)
  • Diagnostic Message (0x8001)
  • Diagnostic Message Positive Acknowledge (0x8002)
  • Diagnostic Message Negative Acknowledge (0x8003)

UDS (ISO 14229)

Diagnostic Session Control

  • Service 0x10
  • Extended Diagnostic Session (0x03)

Read Data By Identifier

  • Service 0x22
  • DID F190 (VIN)

Leave a Reply

Your email address will not be published. Required fields are marked *