Skip to Content
UDS Simulator 2.0 Released

Docs baseline actions

Copy this page URLEdit page
Docs0x14 Clear Diagnostic Information

Service Interaction Protocol

Clear Diagnostic Information

0x14
Protocol Identifier
The Clear Diagnostic Information service allows the client to clear diagnostic data (DTCs, Freeze Frames, etc.) from the server
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.”

Message Format

Request Format

Byte
Field
Value
Description
0SID0x14Clear Diagnostic Information
1GroupOfDTC (High)0x00–0xFFDTC Group Mask (High Byte)
2GroupOfDTC (Mid)0x00–0xFFDTC Group Mask (Middle Byte)
3GroupOfDTC (Low)0x00–0xFFDTC Group Mask (Low Byte)

Response Format

Byte
Field
Value
Description
0Response SID0x54Positive Response (SID + 0x40)

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

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

Logic_Exceptions

Critical_Error_Paths

NRC_0x13

Incorrect Message Length

The request was not exactly 4 bytes long (SID + 3 bytes).
SEQ_DIAGRAM_DUMPOFFSET_0x7F

Incorrect Message Length Flow

2 steps
Tester
ECU
NRC_0x22

Conditions Not Correct

Vehicle state prevents clearing (e.g. Engine Running, Speed > 0).
SEQ_DIAGRAM_DUMPOFFSET_0x7F

Conditions Not Correct Flow

2 steps
Tester
ECU
NRC_0x31

Request Out Of Range

The requested GroupOfDTC is not valid or supported.
SEQ_DIAGRAM_DUMPOFFSET_0x7F

Request Out Of Range Flow

2 steps
Tester
ECU
NRC_0x72

General Programming Failure

Hardware failure during memory erase/write (e.g. EEPROM error).
SEQ_DIAGRAM_DUMPOFFSET_0x7F

General Programming Failure Flow

2 steps
Tester
ECU