UDS 诊断协议 $34


一、接收格式

 1. SID:0x34

 2. dataFormatIdentifier

  Bit 7 - 4: compressionMethod:压缩方式 无压缩添0

       Bit 3 - 0: encryptingMethod 加密方法无加密添0

具体由车厂供应商定义

    3.addressAndLengthFormatIdentifier

  bit 7 - 4: Length (number of bytes) of the memorySize parameter
  bit 3 - 0: Length (number of bytes) of the memoryAddress parameter

    4.memoryAddress

    此参数取决于addressAndLengthFormatIdentifier定义长度

    5.memorySize

    此参数取决于addressAndLengthFormatIdentifier定义长度

 

二、否定响应码

1. 0x13   incorrectMessageLengthOrInvalidFormat

  最小长度检查

2.0x22    conditionsNotCorrect

3.0x31    requestOutOfRange

请求数据格式长度不正确

4.0x33    securityAccessDenied

未通过安全访问

5.0x70   uploadDownloadNotAccepted

此NRC表示无法尝试下载到服务器的内存
由于某些故障情况而完成

没有执行31 擦除服务时。

 

三、正常响应码回复格式

1. 0x74

2.lengthFormatIdentifier

数据长度2

3.maxNumberOfBlockLength

每包传输最大量

 [
  byte#1 (MSB)
    :
  byte#m   ]

 其中此包含SID和包号。


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM