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