Next: disassemble, Previous: read-mem, Up: Command Reference [Contents][Index]
The 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
written.
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.