UDS SID Table: Understanding Service Identifiers in UDS Protocol

uds
sid
protocol
automotive
diagnostics

This page covers UDS SIDs for different UDS protocol services. It also mentions UDS SIDs for request and response messages.

What are UDS SIDs | Service Identifiers?

All the ECUs of different cars use the UDS protocol so that they can all be communicated with by a common tester tool. The tester and ECU act as client and server respectively. The tester sends a service request, which is then responded to by the server. The UDS protocol is defined in ISO 14229, which consists of about five documents. UDS is essentially a collection of various diagnostic services.

Each service in the UDS protocol has a unique service identifier that is one byte in length. UDS service requests have a range from 0x00 to 0x3E.

The following table lists UDS SIDs for requests and responses, along with details about the UDS services.

UDS Request and Response Frame Format

The SID field is always the first byte in the service request message and is a mandatory field. The other fields of the service request message include SubFn (size: 1 byte), DID (size: 2 bytes), and Data Rec (size: n bytes). Refer to the UDS request and response frame format for more information.

UDS SID Table

UDS SID (Request)UDS SID (Response)UDS Service Details
0x100x50Diagnostic session control - Controls which UDS services are available.
0x110x51ECU Reset - Resets the ECU (includes hard reset, key off, and soft reset).
0x270x67Security access - Enables the use of security-critical services via authentication.
0x280x68Communication control - Turns send/receive of messages ON or OFF in the ECU.
0x290x69Authentication - Enables more advanced authentication vs. 0x27 (PKI based exchange).
0x3E0x7ETester present - Sends a heartbeat message periodically to remain in the existing session.
0x830xC3Access timing parameters - View/Modify timing parameters used in client/server communication.
0x840xC4Secured Data Transmission - Sends encrypted data via ISO 15764 (extended data link security)
0x850xC5Control DTC Settings - Enable/Disable detection of errors (e.g., used during diagnostics)
0x860xC6Response On Event - Request that ECU processes a service request if an event happens
0x870xC7Link Control - Set the baud rate for diagnostic access
0x220x62Read Data by Identifier - Read data from the targeted ECU - e.g., VIN, sensor data, etc.
0x230x63Read Data by Address - Read data from physical memory (e.g., to understand software behavior)
0x240x64Read Scaling Data By Identifier - Read information about how to scale data identifiers
0x2A0x6ARead Data by Identifier Periodic - Request ECU to broadcast sensor data at slow/medium/fast/stop rate
0x2C0x6CDynamically Define Data Identifier - Define data parameter for use in 0x22 or 0x2A dynamically
0x2E0x6EWrite Data By Identifier - Program specific variables determined by data parameters
0x3D0x7DWrite Memory By address - Write information to the ECU’s memory
0x140x54Clear Diagnostic Information - Delete stored DTCs
0x190x59Read DTC Information - Read stored DTCs as well as related information
0x2F0x6FInput Output Control By Identifier - Gain control over ECU analog/digital inputs/outputs
0x310x71Routine Control - Initiate/stop routines (e.g., self-testing, erasing of flash memory)
0x340x74Request Download Start - Request to add software/data to ECU (including location/size)
0x350x75Request Upload Start - Request to read software/data from ECU (including location/size)
0x360x76Transfer Data - Perform actual transfer of data following use of 0x74/0x75
0x370x77Request Transfer Exit - Stop the transfer of data
0x380x78Request File Transfer - Perform a file download/upload to/from the ECU
0x7FN/ANegative Response - Send with a negative response code when a request can not be handled.

CAN Bus: Advantages and Disadvantages

Explore the benefits and drawbacks of using CAN bus for in-vehicle networking and industrial applications, comparing it to other bus interface options.

can bus
networking
automotive
UDS Protocol: Advantages and Disadvantages

UDS Protocol: Advantages and Disadvantages

Explore the benefits and limitations of the UDS (Unified Diagnostic Services) protocol, a key standard for automotive ECU diagnostics and communication.

uds protocol
automotive
diagnostics