4.5 Hours Course


This course gives you a clear understanding of how diagnostics work in modern vehicles. It connects theory with practical implementation using AUTOSAR and Model-Based Development (MBD). You will learn how ECUs communicate, store, and clear faults through diagnostic protocols defined by ISO standards.

You start with the basics of vehicle diagnostics and the evolution from OBD-I and OBD-II to UDS. The course then explains how diagnostic messages flow between a tester and ECU, covering message formats, addressing modes, and transport protocol details.

You will explore UDS service formats and learn how each service is used in real ECU communication. Key services such as Diagnostic Session Control (0x10), Read/Write Data by Identifier (0x22, 0x2E), and Clear DTC (0x14) are explained with simple request-response examples.

You will understand how DTCs (Diagnostic Trouble Codes) are stored, cleared, and linked with events and freeze frame data. Basic concepts of Security Access, ECU flashing, and unlocking diagnostic functions are also introduced to help you grasp real-world applications.

Next, you will learn about AUTOSAR’s Diagnostic Communication Manager (DCM) and Diagnostic Event Manager (DEM) modules, including their configuration and interaction with CAN communication layers. This builds your understanding of how UDS is implemented within an AUTOSAR stack.

Finally, you will apply your knowledge using MATLAB Simulink. You will create and simulate diagnostic models such as Read and Write Data by Identifier and Routine Control. The course ends with an introduction to testing and MAAB modeling standards.

By the end of this course, you will be able to:

  • Explain how UDS works and why it is essential in modern ECUs.
  • Identify key AUTOSAR diagnostic components and their roles.
  • Simulate diagnostic services in Simulink using MBD principles.
  • Understand the workflow from fault detection to ECU reprogramming.

This course prepares you to work confidently on diagnostic development, testing, and validation in automotive embedded systems.


Completion Certificate

Get a Completion Certificate upon successfully finishing each course—showcasing your expertise and adding value to your professional profile.


Course Syllabus

Module 1: Basics of Vehicle Diagnostics

  • What is Vehicle Diagnostics
  • Need for Diagnostics in ECUs
  • Evolution of On-board Diagnostics: OBD-I, OBD-II, UDS
  • Overview of ISO Standards
  • ISO 14229: Unified Diagnostic Services
  • ISO 15765-2: Transport Layer (CAN-based)
  • ISO 15031: OBD-II
  • Role of UDS in modern vehicles
  • Basic overview of ECU and CAN communication

Module 2: Diagnostic Communication Flow

  • Tester-ECU communication concept
  • UDS message format: Request, Positive Response, Negative Response
  • Client-Server concept
  • Functional and Physical addressing
  • Introduction to CAN frames and Transport Protocol frames
  • Single Frame, First Frame, Consecutive Frame, Flow Control

Module 3: Understanding UDS Service Format

  • Service Identifier (SID) and Sub-functions
  • Common Request/Response examples
  • Negative Response Codes (NRC)
  • Timing Parameters (P2, P2*)
  • Simple example of a session switch or DTC read message

Module 4: Commonly Used UDS Services

  1. Session Layer Services
  • 0x10: Diagnostic Session Control
  • 0x11: ECU Reset
  • 0x3E: Tester Present
  1. Data Access Services
  • 0x22: Read Data by Identifier
  • 0x2E: Write Data by Identifier
  1. Control and Routine Services
  • 0x27: Security Access (Concept only)
  • 0x31: Routine Control
  1. DTC Management
  • 0x14: Clear Diagnostic Information
  • 0x19: Read DTC Information

Module 5: DTC and Event Handling

  • What is a DTC
  • DTC structure and format
  • Difference between OBD-II and UDS DTCs
  • Freeze Frame and Event Memory
  • Basic understanding of MIL (Malfunction Indicator Lamp) control

Module 6: UDS Security Access (Basic Level)

  • Why Security Access is needed
  • Seed-Key exchange overview
  • Understanding security levels
  • Concept of unlocking diagnostic functions

Module 7: ECU Flashing (Conceptual Introduction)

  • What is ECU flashing
  • Flash programming process overview
  • Introduction to services involved (0x34, 0x36, 0x37)
  • Typical workflow from calibration to reprogramming

Module 8: AUTOSAR and UDS Integration

  • AUTOSAR DCM and DEM Modules Overview
  • DCM – Diagnostic Communication Manager
  • DCM sub-parts are and their functionality is as per ISO14229
  • Diagnostic Communication Manager (DCM) Configuration
  • DEM – Diagnostic Event Manager
  • Diagnostic Event Manager (DEM) Configuration
  • Integration with CAN Stack (PduR, Com, CanIf)
  • Data Flow in UDS Communication

Module 9: Model-Based Diagnostics (Intro Level)

  • Role of Simulink in diagnostics modeling
  • Building a simple model for Read_data_by_Identitifier, Write_data_by_Identitifier
  • Simulating basic UDS_RoutineControl.
  • Basic Understanding of MAAB Guidelines and MIL-SIL Testing

Module 10: AUTOSAR Basic Architecture – Addon

  • Application Scope of AUTOSAR
  • Overview of Software Layers – AUTOSAR
  • AUTOSAR Basic Software Layers
  • AUTOSAR Microcontroller Abstraction Layer
  • AUTOSAR ECU Abstraction Layer
  • AUTOSAR Complex Drivers
  • AUTOSAR Services Layer
  • AUTOSAR Runtime Environment (RTE)