UDS 诊断协议 $36

一、接收格式

1. SID:0x36

 2. blockSequenceCounter

 长度1个字节,第一包为1,依次递增到255后变为0

    3.transferRequestParameterRecord

  数据参数

 

二、否定响应码

1. 0x13   incorrectMessageLengthOrInvalidFormat

  最小长度检查

2.0x24    requestSequenceError

未请求$34下载命令

3.0x31    requestOutOfRange

请求数据格式长度不正确

4.0x71    transferDataSuspended

如果下载模块长度不满足requestDownload服务的请求消息中发送的memorySize参数的要求,则应返回此NRC。

5.0x72   generalProgrammingFailure

6. 0x73 wrongBlockSequenceCounter

如果服务器检测到blockSequenceCounter序列中的错误,则应返回此NRC。

7. 0x92 / 0x93 voltageTooHigh / voltageTooLow

如果在服务器的主电源引脚上测得的电压超出了将数据下载到服务器的永久性存储器(例如闪存)中可接受的范围,则将在适当的情况下发送此返回码。

三、正常响应码回复格式

1. 0x76

2.blockSequenceCounter

原文地址:https://www.cnblogs.com/hkj8808/p/13397128.html