Write Memory By Address
0x3DThe Write Memory By Address service allows the client to write a block of data to a specific memory location in the server.
✕Negative response codes
0x130x220x310x330x72
Request
SID 0x3D · 5 bytesLen (bits)
Parameter description
Value (hex)
8
Write Memory By Address SID0x3D4
memorySizeLengthSpecifies the byte length of the memory size field.0x0-0xF4
memoryAddressLengthSpecifies the byte length of the memory address field.0x0-0xFn*
8
memoryAddressTarget memory address where data will be written.0x00-0xFFm*
8
memorySizeNumber of bytes to write at the specified address.0x00-0xFFk*
8
dataData bytes to write to memory.0x00-0xFFn = value of memoryAddressLength
m = value of memorySizeLength
k = Number of data bytes to write
Positive response
SID 0x7DLen (bits)
Parameter description
Value (hex)
8
Write Memory By Address SID0x7D4
Echo of
memorySizeLength0x0-0xF4
Echo of
memoryAddressLength0x0-0xFn*
8
memoryAddressTarget memory address where data will be written.0x00-0xFFm*
8
memorySizeNumber of bytes to write at the specified address.0x00-0xFF