Skip to Content
UDS Simulator 2.0 Released
Docs0x14 Clear Diagnostic Information

Service Interaction Protocol

Clear Diagnostic Info

0x14
Protocol Identifier
The Clear Diagnostic Information service allows the client to clear diagnostic data (DTCs, Freeze Frames, etc.) from the server memory.
A Service Identifier (SID) is a single-byte value (0x00–0xFF) in position 0 of every UDS request frame. It specifies which diagnostic operation the client wishes the ECU to execute. The positive response echoes the SID with the high bit set (SID + 0x40).

OPERATION

DESTRUCTIVE
Permanently removes fault history and aging data from the ECU NVM storage.

DTC_TARGET

GROUP_MASK
Can target individual DTCs (implementation specific) or entire classes of faults (P/B/C/U).

STORAGE_TYPE

NVM/FLASH
Requires slow memory write operations. May prompt NRC 0x78 (Response Pending).
info _entry

Permanent DTCs: This service typically does not clear “Permanent DTCs” (as defined by OBD-II). Those usually require a successful driving cycle to clear automatically by the ECU logic.

Overview

ISO 14229-1

“The client uses this service to clear one or more units of diagnostic information from the server’s memory. This includes DTCs, captured data, and status counters.”

This service is the destructive counterpart to Read DTC Information (0x19). It resets the internal fault counters and aging statistics.

Default Behavior

Diagnostic Trouble Codes (DTCs) and snapshots are stored in Non-Volatile Memory (NVM). They persist through power resets and battery disconnects. Information is only cleared when a valid 0x14 request is received or if a “permanent” fault is cleared by the ECU after a successful repair and verification cycle.

Protocol Anatomy

◆ PROTOCOL ANATOMY

View
REQUEST_TX

0x14 CLEAR DIAGNOSTIC INFO

RESPONSE_RX

0x14 RESPONSE

Group of DTC Parameter

The 3-byte GroupOfDTC parameter allows specific targeting of fault groups. The most common use case is clearing all code.

All DTCs (Standard)

Clears all diagnostic info including DTCs, freeze frames, and extended data.

tx_packet

Request

14 FF FF FF
Emissions Related

Targets only OBD-II/Emissions related faults.

tx_packet

Request

14 00 00 00
Powertrain Only

Example: Targeting only P-codes (implementation dependent).

tx_packet

Request

14 FF FF 00
Network/Comms

Example: Targeting only communication U-codes.

tx_packet

Request

14 C0 00 00

Workflow & Response Pending

Clear DTC Workflow
Click to Enlarge

ECU logic for clearing diagnostic trouble codes and snapshots.

Internal logic flow for clearing diagnostic information from memory.

Clearing memory (writing to EEPROM or Flash) can be a slow operation. If it takes longer than the standard response time (approx 50ms), the ECU will send NRC 0x78 (Response Pending). This tells the tester to wait and prevents a timeout.

Long Operation Workflow (NRC 0x78)

5 steps
Tester
ECU

Negative Response Codes

Error_Catalog

Negative Response Codes

THREAT_LEVEL2 HIGH2 MEDIUM4 NRCs TOTAL
ISO_14229_ANNEX_ANRC_ENGINE_V2