27服务用于安全验证,流程如下:

  1)向ECU请求“Seed”(通常是一个与时间相关的伪随机数);

  2)ECU向诊断仪发送“Seed”;

  3)向ECU发送“Key” (根据请求得到的Seed和一个本地的密码进行计算得来);

  4)ECU判断诊断仪发来的“Key”是否有效;

 

 

1、Request message:

ISO14229:2013 之 安全访问SecurityAccess(0x27)

ISO14229:2013 之 安全访问SecurityAccess(0x27)

Sub-function parameter:

ISO14229:2013 之 安全访问SecurityAccess(0x27)

 

2、Positive Response message:

ISO14229:2013 之 安全访问SecurityAccess(0x27)

 

3、Negative Response codes (NRC_):

ISO14229:2013 之 安全访问SecurityAccess(0x27)

 

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

Step #1:

Request the Seed:

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

ISO14229:2013 之 安全访问SecurityAccess(0x27)

Positive Response:

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

ISO14229:2013 之 安全访问SecurityAccess(0x27)

Step #2:

Send the Key:

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

ISO14229:2013 之 安全访问SecurityAccess(0x27)

Positive Response:

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

ISO14229:2013 之 安全访问SecurityAccess(0x27)

 

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

Request the Seed:

 

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

 

ISO14229:2013 之 安全访问SecurityAccess(0x27)

Positive Response:

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

ISO14229:2013 之 安全访问SecurityAccess(0x27)

 

 

 

 

相关文章:

  • 2022-12-23
  • 2021-08-02
  • 2022-01-13
  • 2022-02-08
  • 2022-01-27
  • 2021-12-10
  • 2022-12-23
  • 2021-11-09
猜你喜欢
  • 2022-01-14
  • 2022-12-23
  • 2022-12-23
  • 2022-01-07
  • 2022-12-23
  • 2022-12-23
  • 2022-01-10
相关资源
相似解决方案