Milestone 5

Automotive Protocols on Litex

Unified Diagnostic Services

Unified Diagnostic Services (UDS) is a communication protocol used in automotive Electronic Control Units (ECUs) to enable diagnostics, firmware updates, routine testing and more.

UDS communication is performed in a client-server relationship -

  • client being a tester-tool
  • server being a vehicle ECU

The UDS protocol (ISO 14229) is supported on both CAN and Ethernet.It describes the application layer requirements for UDS (independent of what lower layer protocol is used). Opensource implementation on CAN is available at:

The standard which specifies a transport protocol and network layer services for use in CAN based vehicle networks is CAN ISO-TP - Transport Protocol (ISO 15765). Opensource implementation is available at:

DoIP(Diagnostics over Internet Protocol) is a standardized diagnostic transport protocol according to ISO 13400. It encapsulates diagnostics messages of protocol standards like Unified Diagnostic Services (UDS) over Ethernet. Opensource implementation is available at:

As part of this milestone, integration of the above Opensource projects to buildroot is compelted so that it is available on Linux on Litex. The link to the integration effort in buildroot project is available at below link -

Once these python packages are added to buildroot project, the buildroot configuration can be updated with below options:


The screenshoot below shows these packages working on buildroot rootfs of Litex Console:


Show Comments