TATVONYour account ↗
Diagnostics & flashing / 17 MIN

Read a UDS request and response

Interpret service identifiers, negative responses and timing before changing ECU configuration.

01

Service layer

UDS defines diagnostic services such as ReadDataByIdentifier. A request begins with a service identifier; a positive response normally uses the request SID plus 0x40. The service defines the remaining bytes and any subfunction behaviour.

02

Negative responses

A negative response begins with 0x7F, then the requested SID and a negative response code. Decode all three before diagnosing. Response pending indicates ongoing processing under the applicable timing contract, not final success. Session, access and conditions may restrict services.

03

Transport is separate

UDS can use different transports. On CAN, ISO-TP handles segmentation and flow control. A UDS timeout may result from transport loss, scheduling or service processing. A bus frame can therefore be present without a complete valid UDS message.

Request:           22 F1 90
Positive response: 62 F1 90 ...
Negative response: 7F 22 31
/* Decode NRC 0x31 in the applicable UDS specification. */
SEE THE SYSTEM

Follow each transition

1 / 4
STEP 1

Request

The tester requests a diagnostic service.

Conceptual sequence. Timing is slowed for learning; it is not a hardware measurement.

PUT IT TO WORK

Your investigation

The trace contains 7F 22 31. Is it a positive response to a different service? Explain the fields.

Reveal the investigation checklist
  1. Recognize 0x7F as a negative response SID.
  2. Identify the original requested SID 0x22.
  3. Decode the NRC using the applicable specification.
  4. Check DID support and current conditions.
CHECK YOUR UNDERSTANDING

Which bytes identify a negative response to service 0x22?

Choose one answer
Sign up to save your progress →

Answer the knowledge check correctly to complete this lesson.

TATVON AI MENTOR

Think through Read a UDS request and response

Ask for an explanation, an automotive example or a question that tests your understanding.

Checking mentor availability…