
ECU diagnostic sessions and message structure
Reading and writing data identifiers
Managing and interpreting Diagnostic Trouble Codes (DTCs)
Performing real-world UDS operations confidently
By the end of this lecture, learners will be able to:
Explain the purpose of Service $10 in UDS — why a tester must switch sessions before performing diagnostic or programming actions.
List and describe the common session types, including:
Default Session (0x01)
Programming Session (0x02)
Extended Diagnostic Session (0x03)
Understand the request and response structure of Service $10:
Request: 10 xx
Positive Response: 50 xx
Negative Responses: like 0x12 – Sub-function not supported, 0x13 – Incorrect message length
Interpret real CAN traces showing session switching — identify request, response, and timing behavior.
? Learning Outcomes — Service $3E (Tester Present / Keep-Alive Message)
By the end of this lecture, students will be able to:
Explain the purpose of the Tester Present ($3E) service — how it keeps the ECU session active during diagnostics and prevents automatic timeout.
Understand the structure of the Tester Present message, including the sub-function byte:
3E 00 → Request with response expected
3E 80 → Request with suppress positive response bit set
Identify the correct ECU response format (7E 00) and interpret the communication flow between tester and ECU.
Describe when and why to use suppress response mode (to reduce CAN bus load or avoid unnecessary responses).
Configure the correct periodic interval for sending Tester Present messages (e.g., 2–5 seconds depending on ECU spec).
? Learning Outcomes — Service $22 (Read Data By Identifier)
By the end of this lecture, students will be able to:
Explain the function of Service $22 — reading data items stored in the ECU, identified by unique Data Identifiers (DIDs).
Understand the structure of a $22 request and response, including DID representation (2 bytes) and data payload.
Interpret real CAN traces for RDBI communication, identifying DID values and corresponding data.
Recognize standard DIDs (e.g., F190 for VIN, F187 for software version) and OEM-specific DIDs.
? Learning Outcomes — Service $2E (Write Data By Identifier)
By the end of this session, students will be able to:
Explain the purpose and use case of Service $2E — how it allows testers or calibration tools to modify ECU parameters or configuration data identified by Data Identifiers (DIDs).
Understand the message structure of a WriteDataByIdentifier request and response:
Request: 2E [DID_High] [DID_Low] [Data...]
Positive Response: 6E [DID_High] [DID_Low]
Identify which DIDs are writable and which are read-only, based on ECU specifications (e.g., VIN – F190 is read-only; calibration flags – F18C may be writable).
Recognize and interpret common ECU responses, including:
6E → Write successful
7F 2E 33 → Security Access Denied
7F 2E 31 → Request Out of Range
Understand the relationship between $2E and $27 (Security Access) — why writing operations often require authentication before execution.
Demonstrate a successful write operation using simulation tools (CANoe, UDSim, or Python):
Unlock ECU with $27 (Security Access)
Switch session using $10 03 (Extended Diagnostic Session)
Send 2E [DID] [Data...]
Confirm with $22 [DID] read-back
Master ECU Communication with Unified Diagnostic Services (UDS – ISO 14229)
Modern vehicles are powered by dozens of Electronic Control Units (ECUs) that constantly communicate, monitor, and diagnose their own systems.
Unified Diagnostic Services (UDS) is the universal language that makes this possible — and mastering it is essential for automotive engineers, testers, and developers.
This course takes you from the fundamentals of diagnostics to advanced UDS service implementation using real-world examples and demonstrations.
What You’ll Learn:
Section 1 – Fundamentals of UDS
Introduction to diagnostics and ECU communication
Overview of ISO 14229
Understanding diagnostic sessions, timing parameters, and message flow
Service $10 – Diagnostic Session Control: switch ECU sessions safely
Service $3E – Tester Present: keep-alive and session maintenance
Service $22 – Read Data By Identifier: read internal ECU data
Service $2E – Write Data By Identifier: update configuration and calibration values
and much more
By the End of This Course, You Will Be Able To:
Understand and explain the complete UDS protocol (ISO 14229)
Communicate confidently with ECUs using key diagnostic services
Decode UDS messages and interpret ECU responses
Simulate and test UDS communication using diagnostic tools
Build and automate diagnostic scripts for ECU testing or validation
Apply this knowledge in automotive testing, development, and cybersecurity roles