NRC Codes Notes
NRC Codes Notes
NRC Codes Notes
FOR EXAMPLE , WE ARE GIVEN THE INVALID SERVICE ID IN REQUEST THEN WE GET RESPONSE WITH 11
NRC CODE i.e,
-res - 7F 43 11
FOR EXAMPLE , WE ARE GIVEN THE INVALID SUB FUNCTION IN REQUEST THEN WE GET RESPONSE WITH
12 NRC CODE i.e,
-res - 7F 10 12
FOR EXAMPLE WHILE WE READING DATA BY IDENTIFIER DID SIZE 2 BYTES IF WE GIVEN 3 BYTES IN
REQUEST IT SHOWS 13 NRC CODE INAVALID MESSAGE LENGTH.
-res - 7F 22 13
FOR EXAMPLE WE GIVEN A REQUEST, IN THAT TIME THE ECU IS BUSY WITH SOME OTHER TASKS IT WILL
GIVE RESPONSE WITH 21 NRC CODE.THEN WE WILL SEND THE REQUEST AGAIN AFTER SOME TIME.
22.CONDITION NOT CORRECT: ( CONDITION:- STANDARD - 01 ---> EXTENDED -03 --> PROGRAMMING-
02)
FOR EXAMPLE OUR ECU IS IN STANDARD SESSION IF WE WANT TO CHNAGE THE ECU SESSION TO
PROGRAMMING IN THIS CONDITION IS IF WE WANT TO ENTER INTO PROGRAMMING SESSION FIRST WE
CHANGE SESSION TO EXTENDED THEN ONLY IF WE CHANGE THE SESSION INTO PROGRAMMING
OTHERWISE IT SHOWS 22 NRC CONDITION NOT CORRECT.i.e,
-res - 7F 10 22
FOR EXAMPLE FOR GETTING SECURITY ACCESS TO UNLOCK THE ECU WE FOLLOW THE SEQUENCE TO GET
SECURITY ACCESS THAT IS FIRST WE REQUEST THE SEED THEN WE SEND THE SEED THEN ONLY WE GET
SECURITY ACCESS TO UNLOCK THE ECU. FOR SUPPOSE IF WE DONT FOLLOW THIS SEQUENCE WE CAN
DIRECTLY SEND THE SEED IN THAT CASE 24 NRC DISPLPAYS.
-res - 7F 27 24
FOR EXAMPLE , WHILE WE READ DATA BY USING IDENTIFIER IN THAT CASE IN OUR REQUEST WE ARE
GIVEN DID IS NOT IN OUR DATABASE THEN IT WILL DISPLAYS 31 NRC CODE.i.e,
-res - 7F 22 31
-res - 7F 2E 33
35.INVALID KEY:
FOR EXAMPLE IF WE SENDING REQUEST FOR SECURITY ACCESS TO UNLOCK THE ECU IN THAT CASE WE
ENTERED THE WRONG SEED KEY IN REQUEST THEN IT WILL DISPLAYS 35 NRC CODE i.e,
-res - 7F 27 35
36.INVALID NO OF ATTEMPTS :
FOR EXAMPLE IF WE SENDING REQUEST FOR SECURITY ACCESS TO UNLOCK THE ECU IN THAT CASE WE
ENTERED THE WRONG SEED KEY IN REQUEST THREE TIMES THEN THE THIRD TIME IT WILL DISPLAYS 36
NRC CODE i.e,
1 res - 7F 27 35
2 res - 7F 27 35
3 res - 7F 27 36
FOR EXAMPLE ,IN OUR GIVEN DATABASE 2E SERV.ID(READ DATA BY IDENTIFIER) ONLY READ DATA IN
EXTENDED SESSION IN THAT CASE WE SEND THE REQUEST TO READ THE DATA IN STANDARD OR
PROGRAMMING SESSION IT WILL DISPLAYS 7F NRC CODE.i.e,
req - 2E 23 45 01 ( SERVICE ID NOT SUPPORTED IN THIS SESSION )
-res - 7F 2E 7F
FOR EXAMPLE , WHILE SOFTWARE FLASHING ECU SHOULD BE IN PROGRAMMING SESSION-02 ,BUT WE
CAN GIVE THE REQUEST AS SUB FUNCTION AS STANDARAD SESSION - 01 THEN IT WILL DISPLAYS NRC
7E.i.e,
-res - 7F 10 7E