Skip to Content
UDS Simulator 2.0 Released

Docs baseline actions

Copy this page URLEdit page
Docs0x85 Control DTC Setting

Service Interaction Protocol

Control DTC Setting

0x85
Protocol Identifier
Enable or disable the recording of Diagnostic Trouble Codes (DTCs) in the ECU

Overview

ISO 14229-1

“The ControlDTCSetting service is used by a client to stop or resume the setting of DTCs in the server.”

tip _entry

Practical Use: Technicians use this service during component replacement (like unplugging a battery or sensor) to prevent the vehicle from storing hundreds of “communication lost” or “circuit open” codes that aren’t real faults.

Message Format

Enable DTC Monitoring (0x01)
tx_packet

Request

85 01

> Sub-fn 0x01 (ON)

rx_packet

Response

C5 01

> Success

Disable DTC Monitoring (0x02)
tx_packet

Request

85 02

> Sub-fn 0x02 (OFF)

rx_packet

Response

C5 02

> Success

Optional: DTCSettingType

A third byte can be added to target specific groups of DTCs:

  • 0x00: All DTCs
  • 0x01: Emissions
  • 0x02: Safety

DTC Recording Behavior

SID 0x85 State Machine
Click to Enlarge

Internal logic of DTC recording suppression vs. fault detection.

warning _entry

Non-Volatile Persistence: Unlike session states, the DTC disabled state is temporary. ECU power-on always defaults to ENABLED to ensure safety diagnostics are never permanently muted.

info _entry

Detection != Recording: Even when disabled, the ECU still detects faults. It simply skips the ‘Write to NVRAM’ and ‘Set Status Bit’ steps.

Maintenance Workflow

Workflow: Clean Sensor Replacement

8 steps
Tester
ECU

Negative Response Codes

Logic_Exceptions

Critical_Error_Paths

NRC_0x7F

Service Not Supported in Session

Attempted to disable DTCs while still in the Default Session (0x01).
SEQ_DIAGRAM_DUMPOFFSET_0x7F

Service Not Supported in Session Flow

2 steps
Tester
ECU
NRC_0x33

Security Access Denied

The ECU requires a security unlock before allowing DTC recording state changes.
SEQ_DIAGRAM_DUMPOFFSET_0x7F

Security Access Denied Flow

2 steps
Tester
ECU