TOOL / AUTOMOTIVE / UDS-DTC-CODEC

UDS DTC & ISO-TP Frame Tool

Convert UDS DTCs like P0420 to/from two-byte frames, build and parse ISO-TP single/first frames locally.

Runs locally Automotive Electronics 诊断工具 #dtc 故障码解析#uds iso-tp#isotp single frame
LIVE WORKBENCH / uds-dtc

Sample input is pre-filled and editable. Everything runs locally in your browser — nothing is uploaded.

DTC code (e.g. P0420)P0420
BYTES04 20
DECODEDP0420
GROUP / D1 / D2 / IDP / 0 / 4 / 0x20

P/C/B/U use the top 2 bits; digits 2–3 encode the subsystem, low byte the fault id.

FAQ

FAQ

How are the first DTC characters encoded?

The top two bits of the high byte encode P/C/B/U, the next two the subsystem, and the remaining 12 bits the fault id — hence P0420 → 04 20.

How much data fits in an ISO-TP single frame?

A classic 8-byte CAN frame spends one byte on PCI, leaving 7 data bytes. Longer payloads need a first frame plus consecutive frames.

How to use

The article body below is currently available in full only in Chinese; the interface, titles, descriptions and FAQ follow your selected language.

  1. DTC 编解码:输入 P0420 得到报文字节;或输入 04 20 反解出故障码及分组、子系统字段。
  2. ISO-TP 帧:输入诊断载荷(≤7 字节)生成单帧;工具同时给出总长 120 字节的首帧示例,并对输入的 8 字节帧做 PCI 类型解析。

帧类型速查

首字节高 4 位类型说明
0x0单帧 SF低 4 位 = 数据长度,≤7
0x1首帧 FF低 4 位 + 第 2 字节 = 12 位总长度
0x2连续帧 CF低 4 位为序列号
0x3流控帧 FC块大小 / 最小间隔

常见诊断请求 22 F1 90(ReadDataByIdentifier)在本工具默认载荷里,可直接生成 03 22 F1 90 AA AA AA AA。填充值 0xAA 是本工具采用的常见约定,并非标准强制;实际项目请按 OEM 诊断规范选择填充字节。

NEXT / RELATED TOOLS

Related tools

ALL IN SECTOR ↗