ISO14229:2013 之 例程控制RoutineControl (0x31)

 

31服务是调用ECU内置的一些操作序列的接口,典型的用途包括检查边界条件、清除闪存、对数据进行较验、对软硬件依赖性进行校验等,甚至有需要的话可以进行恢复出厂设置的操作,还有很多与ECU自身逻辑功能相关的操作也可以定义。

 

1、Request message:

Sub-function parameter:

 

2、Positive response message:

 

3、Supported negative response codes (NRC_):

 

4、Example #1:sub-function = startRoutine
Request:

0x727  04 31 01 02 01 [00 00 00]

Positive response:

0x7A7  05 71 01 02 01 [00 00]

 

Example #2:sub-function = stopRoutine
Request:

0x727  04 31 02 02 01 [00 00 00]

Positive response:

0x7A7  05 71 02 02 01 30 [00 00]

 

Example #3:sub-function = requestRoutineResults
Request:

Positive response:

 

Example #4:sub-function = startRoutine with routineControlOption

Request:

Positive response:

 

posted @ 2020-02-22 13:17  张小力  阅读(1386)  评论(0编辑  收藏  举报