ISO14229:2013 之 安全訪問SecurityAccess(0x27)


27服務用於安全驗證,流程如下:

  1)向ECU請求“Seed”(通常是一個與時間相關的偽隨機數);

  2)ECU向診斷儀發送“Seed”;

  3)向ECU發送“Key” (根據請求得到的Seed和一個本地的密碼進行計算得來);

  4)ECU判斷診斷儀發來的“Key”是否有效;

 

 

1、Request message:

Sub-function parameter:

 

2、Positive Response message:

 

3、Negative Response codes (NRC_):

 

4、Example #1 - server is in a “locked” state:

Step #1:

Request the Seed:

0x727  02 27 01 [00 00 00 00 00]

Positive Response:

0x7A7  04 67 01 36 57 [00 00 00]

Step #2:

Send the Key:

0x727  04 27 02 C9 A9 [00 00 00]

Positive Response:

0x7A7  02 67 02 [00 00 00 00 00]

 

Example #2 - server is in an “unlocked” state:

Request the Seed:

 

0x727  02 27 01 [00 00 00 00 00]

 

Positive Response:

0x7A7  04 67 01 00 00 [00 00 00]

 

 

 

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM