UDS Negative Response Codes (NRC list)
When a server cannot execute a request, it answers with a three-byte negative response: , the service identifier it rejected, and one negative response code (NRC). The first byte never changes and the second only names the rejected service, so the third byte carries the entire reason.
ISO 14229 defines the NRC space, and this simulator models 22 of the codes. The table lists every one with its meaning and the most common cause, taken from the simulator’s own NRC data.
Negative response: requestOutOfRange
A ReadDataByIdentifier request 22 F1 90 for a DID this ECU does not support comes back as 7F 22 31. The rejected service is 0x22 and the reason is 0x31.
The full list
| Code | Name | Meaning | Typical cause |
|---|---|---|---|
| 0x10 | GeneralReject | The requested action cannot be performed for an unspecified general reason. | Malformed request structure |
| 0x11 | ServiceNotSupported | The requested service identifier is not supported by the ECU. | Using a service the ECU does not implement |
| 0x12 | SubFunctionNotSupported | The requested sub-function parameter is not supported by the server. | Invalid sub-function value for this service |
| 0x13 | IncorrectMessageLengthOrInvalidFormat | The length of the request message did not match expectations for the service. | Missing sub-function byte (many services require one) |
| 0x14 | ResponseTooLong | The response payload would exceed the maximum allowable transmission length. | Requesting too much data at once |
| 0x21 | BusyRepeatRequest | The ECU is temporarily busy performing background operations. Repeat the request. | Previous operation still in progress |
| 0x22 | ConditionsNotCorrect | Prerequisites for performing the requested diagnostic service are not met. | Vehicle is moving when an operation requires standstill |
| 0x24 | RequestSequenceError | The diagnostic service was requested in an incorrect sequence. | Skipped required prerequisite steps (e.g. SendKey before RequestSeed) |
| 0x25 | NoResponseFromSubnetComponent | A gateway ECU failed to receive a response from a subnet component. | No cause documented in the simulator lessons |
| 0x26 | FailurePreventsExecutionOfRequestedAction | An internal ECU fault or DTC condition prevents execution of the action. | No cause documented in the simulator lessons |
| 0x31 | RequestOutOfRange | A parameter or data value in the request payload falls outside the acceptable range. | Data identifier (DID) not supported by this ECU |
| 0x33 | SecurityAccessDenied | Security access must be unlocked before this service or DID can run. | Attempting a protected operation without unlocking |
| 0x35 | InvalidKey | The security key submitted to SID 0x27 did not match the expected value. | Incorrect key calculation algorithm |
| 0x36 | ExceedNumberOfAttempts | The maximum allowed failed security access attempts was exceeded. | Multiple incorrect key submissions |
| 0x37 | RequiredTimeDelayNotExpired | The anti-hammering delay timer after failed security attempts has not expired. | Sending requests too quickly after a failure |
| 0x70 | UploadDownloadNotAccepted | The upload or download request was rejected by the ECU. | Security access not granted |
| 0x71 | TransferDataSuspended | The data transfer operation was suspended due to bus or hardware conditions. | ECU detected a fault during the transfer |
| 0x72 | GeneralProgrammingFailure | An unrecoverable error occurred during flash memory programming or erase. | Flash write failure |
| 0x73 | WrongBlockSequenceCounter | The block sequence counter in TransferData (0x36) was out of order. | Skipped a block number |
| 0x78 | RequestCorrectlyReceivedResponsePending | The ECU received the request and is still processing it. The response will arrive within the P2* timeout. | Long-running operation in progress (flash erase, for example) |
| 0x7E | SubFunctionNotSupportedInActiveSession | The sub-function is defined for the service, but not allowed in the current session. | Trying extended-session features from the default session |
| 0x7F | ServiceNotSupportedInActiveSession | The service identifier is not permitted in the current diagnostic session. | Using diagnostic services that need a different session |
0x78 is not a failure. The server accepted the request and needs longer than the normal P2 timeout, so it sends 0x78 to keep the connection open and delivers the real answer later inside the P2* window, typically 5000 ms instead of 50 ms. Reading 0x78 as an error and abandoning the request is the most common mistake with negative responses, and long operations such as flash erase produce it routinely.
Where you meet these codes
- Session and security scope: 0x7E and 0x7F come from the session state machine (SID 0x10); 0x33, 0x35, 0x36 and 0x37 come from SecurityAccess (SID 0x27).
- Memory and transfer scope: 0x70 through 0x73 belong to the download sequence (RequestDownload 0x34, TransferData 0x36).
- Request validity: 0x13 and 0x31 can come back from any parameterised service, including ReadDataByIdentifier (0x22) and RoutineControl (0x31).
- Fault memory: the DTC services return the same codes when a request is malformed; see ReadDTCInformation (0x19) for the DTC side.
Decode a frame you already have
The NRC decoder takes a full frame such as or a single byte and shows the code’s name, usual causes, bench checks, and the rejected and accepted frames side by side. Decoding runs in the browser with no account.