3.8.9. mw - memory write¶
3.8.9.1. Usage¶
mw [-bwlqx] [-d FILE] REGION DATA...
3.8.9.2. Synopsis¶
Write DATA value(s) to the specified REGION.
3.8.9.3. Options¶
- -b
byte access
- -w
word access (16 bit)
- -l
long access (32 bit)
- -q
quad access (64 bit)
- -d FILE
write file (default /dev/mem)
- -x
swap bytes
3.8.9.4. Description¶
Memory regions can be specified in two different forms: START+SIZE or START-END, If START is omitted it defaults to 0x100 Sizes can be specified as decimal, or if prefixed with 0x as hexadecimal. An optional suffix of k, M or G is for kbytes, Megabytes or Gigabytes.