UDS 0x34 RequestDownload

Announce a download to the ECU: where it goes in memory and how big it is.

Request and response

Bytes
Request34 <dataFormatIdentifier> <addressAndLengthFormatIdentifier> <memoryAddress> <memorySize>
Positive response74 <lengthFormatIdentifier> <maxNumberOfBlockLength>
Negative response7F 34 <NRC>

The positive response service ID is the request's plus 0x40: 34 answers with 74.

Example

Request:   34 00 44 00 08 00 00 00 01 00 00
Response:  74 20 0F FA

64 KiB to 0x00080000; blocks of up to 0x0FFA = 4090 bytes, counting 36 and the counter.

Worth knowing

  • dataFormatIdentifier 00 means no compression and no encryption.
  • maxNumberOfBlockLength includes the service ID and the block counter, so each TransferData carries 2 bytes less data.

Negative response codes it often returns

Do it in your browser