KopherBit
Diagnostics

UDS Diagnostic Architecture: DEM, DCM, NM, and KopherUDS

UDS is the core diagnostic communication protocol for automotive ECUs. This article explains DEM event management, DCM diagnostic communication, NM network management, and KopherUDS use cases.

Summary

Unified Diagnostic Services (UDS, ISO 14229) is widely used for ECU diagnostics, data readout, DTC management, routine control, and reprogramming. It can operate over CAN, CAN FD, or Ethernet transport.

In implementation, UDS is usually designed together with event management, communication management, network management, data identifiers, and security access.

DEM, DCM, and NM Responsibilities

ModuleMain Function
DEMFault events, DTC status, snapshot data, and aging logic
DCMDiagnostic services, sessions, security access, DID, and routines
NMNetwork wake-up, sleep, node state, and communication availability
TransportCAN TP, DoIP, or other diagnostic transport handling

Common UDS Services

ServicePurpose
0x10 Diagnostic Session ControlSwitch default, extended, or programming session
0x22 Read Data By IdentifierRead version, state, and measurement data
0x19 Read DTC InformationRead DTC and event status
0x27 Security AccessProtect privileged services
0x31 Routine ControlExecute test, calibration, or production routines
0x34 / 0x36 / 0x37Firmware download and transfer workflow

KopherUDS Positioning

KopherUDS is a diagnostic communication stack for automotive ECUs. It can configure diagnostic services, DID, DTC, routine control, security access, and reprogramming flows while keeping engineering flexibility.

FAQ

Is UDS only for after-sales service?

No. UDS is also used during development, production EOL, diagnostics, data readout, DTC analysis, and ECU reprogramming.

Should DEM and DCM be designed together?

Yes. DTC reading, event status, and diagnostic services are tightly related and should be defined in a common diagnostic specification.

Can KopherUDS work with KITE UDS Tester?

Yes. KopherUDS provides ECU-side diagnostic capability, while KITE UDS Tester verifies responses, DID, DTC, reprogramming, and production test flows.