write-mem command writes data to the target’s memory.
The command takes three arguments. The first argument is the address of the
where the first datum should be written. The second argument is the number
of bytes to write. The third argument is the value of the byte to be
Note that this command attempt to write directly into the memory space indicated by the specified address. In general, you cannot use this command to write to non-volatile memory such as flash memory or EEPROM.