UDS/OBD DTC (Diagnostic Trouble Code) Format Analysis

tags: # UDS Diagnostics (ISO 14229)  # OBD Diagnostics (ISO 15031)  UDS/OBD Diagnosis CDD  autosar  UDS and OBD Diagnosis CDD

Table of contents

1 OBD DTC format structure

2 UDS DTC format structure

3 Body system groupings Body system groupings

4 Chassis system groupings Chassis system group

5 Powertrain system groupings Powertrain system group

6 Network and vehicle integration groupings Network and vehicle integration group

7 end


Previous link:

1 OBD DTC format structure

OBD DTCISO 15031usetwo bytes, decoded according to SAE J2012-DA.

Example: A powertrain DTC of 0x0143 should display as P0143.

2 byte DTC

DTC High Byte

DTC Low Byte

DTCHex value:0x0143

0

0

0

0

0

0

0

1

0

1

0

0

0

0

1

1

display characters

No.1characters

No.2characters

No.3characters

No.4characters

No.5characters

P

0

1

4

3

of each DTCDTC High ByteofBit7~6(high)Indication: The DTC ispower systemchassisbodystillnetworkDTC(Refer to SAE J2012_DA for the structure of DTC);DTC High ByteofBit5~4Indication: the first number (0~3) of the DTC;DTC High ByteofBit3~0andDTC Low ByteofBit7~0Indication: 3 hexadecimal characters of the DTC.

OBD DTC 5The characters are defined as follows:

The length of the first character is 2 Bits (Bit15~14): meansThe fault belongs to the system

Bit15~14

display characters

System

00

P

Powertrain Powertrain

01

C

Chassis

10

B

Body

11

U

Network and vehicle Integration

Network and Vehicle Integration

The length of the second character is 2 Bits (Bit13~12), which meansFault type

Bit13~12

display characters

type

00

0

ISO/S AE controlled

01

1

manufacturercontrolled

10

2

ISO/S AE controlled

11

3

ISO/S AE controlled

The length of the third character is 4 Bits (Bit11~8): meansvehicle system domain(Area of ​​vehicle system), parsed into 1 hexadecimal character according to 4 Bits.

The length of the 4th~5th characters is 8 Bits (Bit7~0), and they are parsed into 2 hexadecimal characters according to the 4 Bits respectively.

Note:

Alphanumeric codes are "B0", "B1", "B2", "B3", "C0", "C1", "C2", "C3", "P0", "P1", "P2", "P3" " ", "U0", "U1", "U2", and "U3" respectively correspond to four sets of body, four sets of chassis, four sets of powertrain, four sets of network and vehicle integration fault codes.

code structureitself is partially open. Parts of the available numerical sequences (parts of "B0", "C0", "P0", "P2", "P3", "U0" and "U3") are reserved for use in this or future updated Unicode assignments.

Key

  1. Display character 3 is used to identify a specific vehicle area; within any area, display characters 4 and 5 allow up to 256 code definitions
  2. For Powertrain, these Bits are controlled by ISO/SAE; for all others, they are Manufacturer Controlled
  3. For powertrain, 11 = manufacturer control for P3000 to P33FF; 11 = ISO/SAE reserved for P3400 to P3FFF

2 UDS DTC format structure

UDS DTCISO 14229usethree bytes, the two most significant bytes (DTC High ByteandDTC Middle Byte) is decoded according to the DTC Format Identifier = 0x00 or 0x04 specified by the implemented diagnostic protocol; the least significant byte (DTC Low Byte) are decoded according to the SAE J2012-DA Failure Type Byte (FTB) table.

The figure below shows an example of a 3-byte DTCFormatIdentifier = 0x00/0x04 DTC structure. A 3 byte DTC with DTCFormatIdentifier = 0x00/0x04 as data bus value 0x923411 will be displayed to the technician as manufacturer controlled body code B1234–11.

For the definition of DTC low byte (failure type byte), please refer to the SAE J2012-DA FTB table. The low byte should be displayed in hexadecimal format, for example, 0x11 should be displayed as "11". When the most significant 2 bytes of this DTC are contained within the SAE control range, it is decoded according to the DTCFormatIdentifier = 0x00/0x04 list in SAE J2012-DA.

3 Body system groupings Body system groupings

DTC numbers and descriptions are given in SAE J2012-DA. The following table defines the body system groups.

DTC range

range of hexadecimal values

describe

B0000 – B0FFF

0x8000 ~ 0x8FFF

ISO/SAE controlled

B1000 – B1FFF

0x9000 ~ 0x9FFF

manufacturer controlled

B2000 – B2FFF

0xA000 ~ 0xAFFF

manufacturer controlled

B3000 – B3FFF

0xB000 ~ 0xBFFF

reserved by document

4 Chassis system groupings Chassis system group

DTC numbers and descriptions are given in SAE J2012-DA. The following table defines the undercarriage groups.

DTC range

range of hexadecimal values

describe

C0000 – C0FFF

0x4000 ~ 0x4FFF

ISO/SAE controlled

C1000 – C1FFF

0x5000 ~ 0x5FFF

manufacturer controlled

C2000 – C2FFF

0x6000 ~ 0x6FFF

manufacturer controlled

C3000 – C3FFF

0x7000 ~ 0x7FFF

reserved by document

5 Powertrain system groupings Powertrain system group

DTC numbers and descriptions are given in SAE J2012-DA. The table below defines the powertrain groups.

DTC range

range of hexadecimal values

describe

P0000 – P0FFF

0x0000 ~ 0x0FFF

ISO/SAE controlled

P1000 – P1FFF

0x1000 ~ 0x1FFF

manufacturer controlled

P2000 – P2FFF

0x2000 ~ 0x2FFF

ISO/SAE controlled

P3000 – P33FF

0x3000 ~ 0x33FF

manufacturer controlled

P3400 – P3FFF

0x3400 ~ 0x3FFF

ISO/SAE controlled

6 Network and vehicle integration groupings Network and vehicle integration groupings

DTC numbers and descriptions are given in SAE J2012-DA. The following table defines the network and vehicle integration groups.

DTC range

range of hexadecimal values

describe

U0000 – U0FFF

0xC000 ~ 0xCFFF

ISO/SAE controlled

U1000 – U1FFF

0xD000 ~ 0xDFFF

manufacturer controlled

U2000 – U2FFF

0xE000 ~ 0xEFFF

manufacturer controlled

U3000 – U3FFF

0xF000 ~ 0xFFFF

ISO/SAE controlled

7 end

Get more "automotive electronics information" and "tool chain usage",

Please pay attention"Automotive Electronics Assistant”(CSDNandWeChat public accountsame name), be your good assistant.

Intelligent Recommendation

Unified Diagnostic Service (UDS) negative response code determination (NRC priority)

Judgment of the negative response code of the unified diagnosis service NRC and priority for all diagnostic services NRC and priority for diagnostic services with functional parameters The NRC priorit...

uds diagnostic services Introduction

01 UDS Introduction UDS protocol that is ISO-14229, is a Unified Diagnostic Services, a unified diagnostic services, diagnostic services are standardized criteria. OBD is the biggest difference is UDS...

UDS-diagnostic service function

DiagnosticSessionControl(0x10) Client request control with a diagnostic session of a server Support child function Some diagnostic services of the ECU must be performed in the specified diagnostic ses...

AUTOSAR--UDS diagnostic message

Preface: Focus on learning the protocol content of ISO 15765-2 and ISO 14229-1, and then you can transplant the open source UDS protocol stack on Git to your familiar embedded platform for data sendin...

Course Study - DTC Code

Matlab: DTC encoding. code: result: The teenager is not mistaken by the floor, and the rest of his life is not free. Come on, come on!...

More Recommendation

UDS difference between the DTC and the J1939 SPN and the FIM

Standard character belongs fault code system 00 P Powertrain power system failure 01 C Chassis chassis fault 10 B Body Body fault 11 U Network network failure DTC trouble code is represented by UDS re...

UDS DTC aging (Ageing) test CAPL script

UDS DTC aging (Ageing) test What is aging 1.1 From the perspective of testing, the ECU had a failure, and then the failure disappeared. Storage was a historical failure. This is the prerequisite for a...

Introduction of Automobile OBD Diagnostic System

"Limits and Measurement Methods of Light Vehicle Pollutant Emissions" • On April 27, 2005, the State Environmental Protection Administration promulgated the "Limits and Measurement...

DTC

reference: Permanent Magnet Synchronous Motor Servo Control System - Lam Wai-kit   Method for direct torque control, the most basic is a switch control table plus bangbang.   Control: contro...

Unified diagnostic services (UDS) (1)

DS is defined by the ISO-14229 series of standards, ISO 14229-1 defines diagnostic services, does not involve the network and implementation, only the content of the application layer. ISO 14229-3 def...

Copyright  DMCA © 2018-2026 - All Rights Reserved - www.programmersought.com  User Notice

Top