UDS 0x38 RequestFileTransfer

File-based transfer, used by larger ECUs.

Request and response

Bytes
Request38 <modeOfOperation> <filePathAndNameLength: 2 bytes> <filePathAndName> […]
Positive response78 <modeOfOperation> […]
Negative response7F 38 <NRC>

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

Example

Request:   38 04 00 0A 2F 63 66 67 2F 61 2E 62 69 6E 00
Response:  78 04 …

Read the file /cfg/a.bin.

Modes

ValueName
01AddFile
02DeleteFile
03ReplaceFile
04ReadFile
05ReadDir
06ResumeFile

Worth knowing

  • For ECUs with a file system; data then flows with TransferData as for a download.

Negative response codes it often returns

Do it in your browser