
Self Introduction
Diagnostics analyzes vehicle components, ECUs, and sensors to scan systems and reveal data like voltage, speed, and fuel intake, while AUTOSAR decouples software from hardware for cost-efficient reuse.
This lecture covers Autosar Dem part 2 voltage monitors, in-range and out-of-range checks, and reporting via Rte to Dem, with event memory, dtc, and freeze frame data.
Explore the status byte in Autosar diagnostics, detailing how each of the eight bits signals test failures, passes, pending DTC, aging, healing, and clear DTC operations.
Explain how diagnostic event storage sets and resets status bits (prefail, prepass, pass, fail) and performs debouncing, qualification, and retention in memory based on operation cycles and storage conditions.
Explain the aging and healing processes in Autosar diagnostics, detailing how pending DTC bit resets, healing thresholds, and memory management interact to clear CDTC and delete events.
Explore debouncing of diagnostic events in Autosar diagnostics, covering counter-based and timer-based algorithms, pre-fail and pre-pass states, and the asynchronous versus synchronous processing of BSW and ASW faults.
Explore how DEM part 8 processes event bits, stores events and freeze frame data, and manages triggers, displacement, and synchronous versus asynchronous capturing of DTC-related information in memory.
Explore configuring dem events and dtcs in Autosar diagnostics using the Da Vinci vector tool or KPIT's Ksar, covering event IDs, type, indicator, debouncing, aging, memory, and OBD DTC handling.
Discover how diagnostic requests yield positive or negative UDS responses and interpret NRC codes such as 0x10 general reject, 0x78 pending, 0x22 condition not correct, and 0x33 security access denied.
Learn to use the canoe tool by Vector to configure can networks, add odx/pdx files, simulate ecus, and send requests with ig blocks.
Explore OBD part 2 within Autosar diagnostics, focusing on onboard diagnostic monitoring, service responses, thresholds, and how external test equipment interacts with vehicle systems.
Explore the Autosar dcm in the service layer, implementing uds and obd per iso 14229-1 and iso 15031-5, to manage diagnostic data flow and sessions across networks.
Explain how DCM timers work, detailing P2 and P2* minimum and maximum response times, NRC 78 handling, NRC 10 general reject, and S3 session timeouts returning to default.
Master the dsl layer of Autosar diagnostics, handling request routing, security and session states, protocol processing, and response/communication mode management across PduR, DSD, and DCM.
Explore the DSD module, which validates diagnostic requests from DSM, forwards valid requests to DSP, and assembles or suppresses positive, negative, or no responses, with bidirectional DSL communication.
Explore how the DSP diagnostic service processing handles UDS and OBD requests, verifies subfunction support, interacts with DEM, BSW, NVM, and RTE, and assembles the response.
Summarizes the dcm sws document overview, including acronyms, three submodules dsl, dsd, dsp, and how dcm interfaces with dem, nvm, pdur, comM, and rte for obd and uds.
Examine dsl configuration for autosar diagnostics, including dsl buffer setup up to 4 kb, dcm dsl callback service, protocol selection, and pdu id handling for functional and physical requests.
Explain DSD configuration in the DCM DSD module, including containers, notification options, service tables, enabling or disabling services, and sub function handling with session references.
Configure dsp for did, routine, and security to govern diagnostic communication with the vehicle. Define did and pid details, ranges, endianness, ports, and seed-key security for dcm, dsd, and dsp.
Adopt automotive ethernet as the high-speed in-vehicle backbone, an adaptation of IEEE 802.3, enabling IP-based communication among ECUs over a single twisted pair in harsh automotive conditions.
Explore the automotive protocol stack architecture from physical layer to application, highlighting DSN integration, TSN support, and vehicle data flow through IPv4/IPv6, TCP/UDP, and Some/IP for diagnostics.
Explore time sensitive networking capabilities of automotive ethernet for real-time, deterministic communication of safety-critical messages. See how IEEE 802.1AS time synchronization, scheduled traffic, and preemption with redundancy boost reliability in vehicles.
Explore high speed automotive ethernet for V2X connectivity supporting autonomous driving, ADAS, infotainment, and HD camera streams, while Doi diagnostics over IP enable 100x faster remote diagnostics.
Explore EMC and EMI requirements and compliance for automotive design, covering cable design, unshielded twisted pair with differential signaling, filtering, PCB guidelines, and automotive Ethernet security measures.
Address implementation challenges in advanced vehicle networking by managing system complexity and cybersecurity while balancing legacy integration. Use VLAN-based segmentation, Macsec and IPsec, plus intrusion detection to protect safety-critical systems.
Explore how functional safety is integrated into automotive ethernet under ISO 26262, using ASIL concepts, and how safety mechanisms, redundancy, time triggered communication, and end-to-end protection ensure robust data delivery.
This lecture contrasts the CAN bus with automotive Ethernet via DoIP, showing higher bandwidth, remote diagnostics, OTA updates, advanced driver assistance, and improved security using IP-based networking.
Explore the automotive diagnostic protocol stack, paralleling the OSI model, from UDS and OBD at the application layer to IP-based transport and Ethernet data links, enabling fast, secure remote diagnostics.
Explore how the gateway module acts as the digital traffic controller, linking CAN, LIN, and Ethernet networks to route diagnostic requests, software updates, and status messages between ECUs.
Explore UDP discovery and TCP routing for in-vehicle diagnostics, using UDS payloads (8001) with source and target addresses, plus vehicle identification and routing activation workflows.
Discover how UDP on port 13400 enables fast, broadcast vehicle discovery, with identification requests/responses revealing VIN, MAC, and ECU status, and power mode checks for ready diagnostics.
Initiate routing activation to establish a diagnostic path with an ECU, validating source address, activation type, and security policies, then report success or failure with optional OEM data.
Explain error handling in the doit module, detailing header validation, routing activation and diagnostic failure codes, timeouts, and TCP connection recovery with retry and reestablish routing.
Explore doip-based diagnostics for automotive ECUs, covering network setup, performance optimization, robust error recovery, and ota software updates, while comparing ethernet advantages over can and uds integration.
Explore the type protocol, based on ISO 13400, that enables IP-based networking for automotive diagnostics, a structured protocol with header format, payload structure, UDP discovery, and TCP reliable communications.
Answer audience queries from email and LinkedIn, addressing them one by one. Expand the coverage by adding videos as more queries arrive.
Explore how Autosar diagnostics handle event processing by demonstrating memory storage, precondition checks, and interface calls to DMZ and status handling. Describe immediate storage, memory layout, and event status flow.
Explore how the system stores events in memory or buffers, how ignition-off resets affect data retention, and how free-stream data is captured and managed before transfer.
Explore pre-fail and pre-pass concepts and debouncing in AUTOSAR diagnostics, detailing how counters and thresholds govern 0-to-1 transitions, event handling, and five-millisecond sampling intervals.
Share your feedback, comments, and questions to help improve future videos; the instructor will re-upload unclear content and address queries via Q&A or Udemy messages.
When I started working as a professional , I tried searching relevant contents and explanation on diagnostics but i was unable to find a structured course online, there were just huge documents and and difficult to understand for a new person, so this led me to make this course on Diagnostics so that others benefit from my experience.
Diagnostics is one of the most important and interesting topic in Automotive industries and is ubiquitous, it is used to diagnose faults present in your vehicles, and can also be used for software updates over the air. It helps in reducing emissions emitted by cars thus helping build a clean and green environment.
This course is developed considering the required knowledge needed to work on Diag Stack. It is a well versed and structured course keeping in mind the audience from experienced professionals to freshers.
It covers Autosar modules DEM(Diagnostic Event Manager), DCM(Diagnostic communication Manager), OBD (On Board Diagnostic), UDS ( Unified Diagnostic services) and their interaction with other modules, configuration required for them and their uses cases from the practical view point.
I will be updating the course based on feedback from audience and will also add content on other Autosar modules time to time.