Embedded code generator

Chip Support

What is UDS?

The UDS (Unified Diagnostic Services) diagnostic protocol is a diagnostic communication protocol in the automotive electronic ECU environment and is specified in ISO 14229. New vehicles on the market today have a diagnostic interface for out-of-vehicle diagnostics, which allows us to connect to the vehicle's bus system with diagnostic tools. Thus, the messages defined in the UDS can be sent to the controllers (known in the industry as ECUs) that support the UDS service. This allows us to access the fault memory of each control unit or update the ECU's program with new firmware.

UDS Code Generator

The goal of this project was to create a generic CAN bus transport layer code that was written with reference to ISO 15765-2 2016. It has the following characteristics:

  • Support multiple fault handling mechanisms
  • Supports 1-0xfffffff bytes of data transfer (not limited to 4095 bytes)
  • Different CAN DLC lengths (8-0x0f) are supported, i.e. CAN-FD is supported
  • Platform independent, supports embedded and PC compilation and operation
  • Support multiple channels to run without interference when RAM resources are sufficient
Chip Support

Case description

This paper introduces a general bootloader implementation method for Infineon TLE989X series. The bootloader can remotely upgrade the product firmware (program) through any communication port, which solves the trouble of disassembling the equipment or needing professional personnel, special tools and on-site operation for the MCU to burn the program. The provided Bootloader integrates part of the UDS (14229, 15765 specification) service with the TSMaster host computer through the CAN FD interface to download the APP program.

Infineon UDS Brush Writing

Support Brands