Send DOWNLOAD to write data to the slave starting at the current MTA.
DOWNLOAD
data
Connection handle returned by XcpCreateConnection.
Payload bytes to write (number[], Uint8Array, or Buffer). Length must be a multiple of address granularity and fit in MAX_CTO.
number[]
Uint8Array
Buffer
MAX_CTO
Raw positive response payload bytes.
If data exceeds MAX_CTO or violates alignment, the slave replies with ERR, or the request times out.
ERR
Send
DOWNLOADto writedatato the slave starting at the current MTA.