SID 0x19 Read DTC Information breakdown

SID 0x19 Read DTC Information breakdown A hierarchy diagram generated by Archify. SID 0x19 Read DTC Information · ISO 14229-1:2020 Section 10.8; positive response SID 0x59 · Root SID 0x19 ReadDTC Information ISO 14229-1:2020Section 10.8; positiveresponse SID 0x59 Message formats · Byte layouts · Branch Message formats Byte layouts Request · Byte 0: 0x19, Byte 1: DTCReportType, Byte 2+: parameters · Leaf Request Byte 0: 0x19, Byte1: DTCReportType,Byte 2+: parameters Positive response · 0x59 (0x19 + 0x40), report type echo, DTCStatusAvailabilityMask, DTC data · Leaf Positive response 0x59 (0x19 + 0x40),report type echo,DTCStatusAvailabilityMask, DTC data Negative response · 0x7F 0x19 NRC · Leaf Negative response 0x7F 0x19 NRC Report types (DTCReportType) · 26+ subfunctions; most common 0x01, 0x02, 0x04, 0x06 · Branch Report types(DTCReportType) 26+ subfunctions;most common 0x01,0x02, 0x04, 0x06 Pattern 1: by status mask · Request 19 [0x01/0x02] [StatusMask] · Branch Pattern 1: bystatus mask Request 19 [0x01/0x02][StatusMask] 0x01 reportNumberOfDTCByStatusMask · Count DTCs · Leaf 0x01reportNumberOfDTCByStatusMask Count DTCs 0x02 reportDTCByStatusMask · List DTCs; main path 19 02 08 · Leaf 0x02reportDTCByStatusMask List DTCs; main path 19 0208 Pattern 2: by DTC number · Request 19 [0x04/0x06] [DTC 3 bytes] · Branch Pattern 2: by DTCnumber Request 19 [0x04/0x06][DTC 3 bytes] 0x04 reportDTCSnapshotRecordByDTCNumber · Get snapshot; e.g. P0301 = 01 03 01 · Leaf 0x04reportDTCSnapshotRecordByDTCNumber Get snapshot; e.g. P0301 = 01 03 01 0x06 reportDTCExtDataRecordByDTCNumber · Extended data · Leaf 0x06reportDTCExtDataRecordByDTCNumber Extended data Pattern 3: no parameters · Request 19 0A only · Branch Pattern 3: noparameters Request 19 0A only 0x0A reportSupportedDTC · All supported DTCs · Leaf 0x0AreportSupportedDTC All supported DTCs More report types · Optional per ISO 14229-1 compliance matrix · Branch More report types Optional per ISO 14229-1compliance matrix 0x03 reportDTCSnapshotIdentification · Snapshot IDs · Leaf 0x03reportDTCSnapshotIdentification Snapshot IDs 0x08 reportDTCBySeverityMaskRecord · By severity; not all ECUs support · Leaf 0x08reportDTCBySeverityMaskRecord By severity; not all ECUs support 0x0F reportMirrorMemoryDTCByStatusMask · Mirror memory · Leaf 0x0FreportMirrorMemoryDTCByStatusMask Mirror memory 0x13 reportEmissionsRelatedOBDDTCByStatusMask · OBD/Emissions · Leaf 0x13reportEmissionsRelatedOBDDTCByStatusMask OBD/Emissions DTC status byte · Bits 7 to 0: TF, TFTOC, PDTC, CDTC, TNCSLC, TFSLC, TNCTOC, WIR · Branch DTC status byte Bits 7 to 0: TF, TFTOC,PDTC, CDTC, TNCSLC,TFSLC, TNCTOC, WIR Example 0x4C · TFTOC + TNCSLC + TFSLC set: recently failed fault · Leaf Example 0x4C TFTOC + TNCSLC + TFSLCset: recently failed fault Example 0x20 · PDTC set: pending, not yet confirmed · Leaf Example 0x20 PDTC set: pending,not yet confirmed Example 0xD9 · TF + TFTOC + CDTC + TNCSLC + WIR: confirmed DTC with MIL on · Leaf Example 0xD9 TF + TFTOC + CDTC +TNCSLC + WIR: confirmedDTC with MIL on DTCStatusAvailabilityMask · Which status bits the ECU supports; 0xFF all, 0x4F partial · Leaf DTCStatusAvailabilityMask Which status bits the ECUsupports; 0xFF all, 0x4Fpartial Negative response codes · Response 7F 19 [NRC] · Branch Negativeresponse codes Response 7F 19 [NRC] 0x12 Sub-Function Not Supported · e.g. severity 0x08 or mirror 0x0F not implemented · Leaf 0x12 Sub-FunctionNot Supported e.g. severity 0x08 ormirror 0x0F notimplemented 0x13 Incorrect Message Length or Invalid Format · e.g. 19 02 missing status mask · Leaf 0x13 IncorrectMessage Length orInvalid Format e.g. 19 02 missingstatus mask 0x22 Conditions Not Correct · e.g. read 500ms into a SID 0x14 clear · Leaf 0x22 ConditionsNot Correct e.g. read 500ms intoa SID 0x14 clear 0x31 Request Out of Range · e.g. snapshot for DTC 99 99 99 · Leaf 0x31 RequestOut of Range e.g. snapshotfor DTC 99 99 99 0x78 Response Pending · Not an error; first ~50ms, repeats every 2-5s · Leaf 0x78 ResponsePending Not an error; first~50ms, repeats every 2-5s Session and security · Most subfunctions work in DEFAULT session · Branch Session and security Most subfunctions work inDEFAULT session Session · DEFAULT for most; 0x06 extended data may need EXTENDED (0x03) · Leaf Session DEFAULT for most; 0x06extended data may needEXTENDED (0x03) Security · 0x01/0x02/0x03/0x04/0x0A open; 0x06/0x18/0x19 may need SID 0x27 · Leaf Security 0x01/0x02/0x03/0x04/0x0A open; 0x06/0x18/0x19may need SID 0x27 Related services · Clear, then switch, then unlock, then read · Branch Related services Clear, then switch,then unlock, then read SID 0x14 Clear DTCs · Wait 2-3s after clear, else NRC 0x22 · Leaf SID 0x14 Clear DTCs Wait 2-3s after clear,else NRC 0x22 SID 0x10 Session Control · 10 03 before protected extended data · Leaf SID 0x10 SessionControl 10 03 before protectedextended data SID 0x27 Security Access · Seed 27 01, key 27 02; locked read gives 7F 19 33 · Leaf SID 0x27 SecurityAccess Seed 27 01, key 27 02;locked read gives 7F 19 33 36 3 13 2 2 1 4 4 5 2 3 Expand all