Skip to content

Clear DTCs

Common/tasks/PROC_X_CLEAR-DTCS

What this task does

Clears the diagnostic data on the chosen Electronic Control Unit (ECU). This will clear any active Diagnostic Trouble Codes (DTC). DTC functionality may not exist on all ECUs depending on the platform.

Vehicle compatibility

Select your vehicle’s hardware to see task details, requirements, and inputs. Availability is confirmed after connection.

Model 3 / Y AMD
Vehicle coverage
2024+ Model 3, 2025+ Model Y, Model Y, Pre-2024 Model 3
Supported connection
Local connection
Vehicle state
Stationary · Parked
Gateway diagnostic level
Factory, DiagLinkActive, Service, Park

Task inputs (3)

ECU

ecu_name · EnumType

The ECU to clear the diagnostic data for

Default: ALL

Options: ALL, TESLA, THIRD_PARTY, BMS, CP, DI, DIF, DIR, DIREL, DIRER, DIRE1L, DIRE1R, DIRE2, HVBATT, HVBATT1, HVBATT2, HVBATT3, PCS, PCSL, PCSR, PEBS, PPB, SEBS, VCFRONT, VCFRONT2, VCLEFTS3, VCRIGHTS1, VCSUPER

DTC Group

dtc_group · EnumType

The DTC group to input into the clear command (0xFFFF33 for CARB, 0xFFFFFF for all)

Default: FFFFFF

Options: FFFFFF, FFFF33

Set Power

set_power · Bool

Whether to set the vehicle power state

Default: false

Model 3 / Y Intel
Vehicle coverage
Model Y, Pre-2024 Model 3
Supported connection
Local connection
Vehicle state
Stationary · Parked
Gateway diagnostic level
Factory, DiagLinkActive, Service, Park

Task inputs (3)

ECU

ecu_name · EnumType

The ECU to clear the diagnostic data for

Default: ALL

Options: ALL, TESLA, THIRD_PARTY, BMS, CP, DI, DIF, DIR, DIREL, DIRER, DIRE1L, DIRE1R, DIRE2, HVBATT, HVBATT1, HVBATT2, HVBATT3, PCS, PCSL, PCSR, PEBS, PPB, SEBS, VCFRONT, VCFRONT2, VCLEFTS3, VCRIGHTS1, VCSUPER

DTC Group

dtc_group · EnumType

The DTC group to input into the clear command (0xFFFF33 for CARB, 0xFFFFFF for all)

Default: FFFFFF

Options: FFFFFF, FFFF33

Set Power

set_power · Bool

Whether to set the vehicle power state

Default: false

Model S / X (2021+) AMD
Vehicle coverage
2021+ Model S, 2021+ Model X
Supported connection
Local connection
Vehicle state
Stationary · Parked
Gateway diagnostic level
Factory, DiagLinkActive, Service, Park

Task inputs (3)

ECU

ecu_name · EnumType

The ECU to clear the diagnostic data for

Default: ALL

Options: ALL, TESLA, THIRD_PARTY, BMS, CP, DI, DIF, DIR, DIREL, DIRER, DIRE1L, DIRE1R, DIRE2, HVBATT, HVBATT1, HVBATT2, HVBATT3, PCS, PCSL, PCSR, VCFRONT, VCFRONT2, VCLEFTS3, VCRIGHTS1, VCSUPER

DTC Group

dtc_group · EnumType

The DTC group to input into the clear command (0xFFFF33 for CARB, 0xFFFFFF for all)

Default: FFFFFF

Options: FFFFFF, FFFF33

Set Power

set_power · Bool

Whether to set the vehicle power state

Default: false

Browse all tasks →
Service procedures

Clear IDB DTCs

Clear the Mando Decoupled Brake (IDB) Diagnostic Trouble Codes (DTC).

PROC-IDB_X_CLEAR_DTCS

Model 3 / Y
Service procedures

Clear RCU DTCs

Clear the Mando Redundant HCU (RCU) Diagnostic Trouble Codes (DTC).

PROC-RCU_X_CLEAR_DTCS

Model 3 / Y
Service procedures

Clear Side View Mirror Fold Type

Executes a routine to clear the side view mirror fold actuator type auto-detected by the Tesla ECU.

PROC_X_CLEAR-MIRROR-FOLD-TYPE

Model 3 / Y
Service procedures

Compressor RPM Override

Set the compressor to a target speed (800-7000 RPM). If sweep is disabled, the compressor will ramp to target RPM and hold that speed for 15 seconds. If sweep is enabled, the compressor will ramp to target RPM in 500 RPM increments and hold at final target RPM for 15 seconds. Note: The routine may skip some RPM values during sweep, or stop short of the target RPM. This is because some vehicles have certain speeds that are avoided.

PROC_X_COMPRESSOR-RPM-OVERRIDE

Model 3 / Y Model S / X (2021+)