command M

Format: ‘M addr,length:XX…’

Meaning: Write length addressable memory units starting at address addr. The data is given by XX…; each byte is transmitted as a two-digit hexadecimal number.

Reply:

OK

All the data was written successfully. (If only part of the data was written, this command returns an error.)