Specifications

42000010: ffffffea ffffffe9 ffffffe8 ffffffe7 ................
42000020: ffffffe6 ffffffe5 ffffffe4 ffffffe3 ................
42000030: ffffffe2 ffffffe1 ffffffe0 ffffffdf ................
=> mw 0x42000000 0xaabbccdd
=> md 0x42000000 0x10
42000000: aabbccdd ffffffed ffffffec ffffffeb ................
42000010: ffffffea ffffffe9 ffffffe8 ffffffe7 ................
42000020: ffffffe6 ffffffe5 ffffffe4 ffffffe3 ................
42000030: ffffffe2 ffffffe1 ffffffe0 ffffffdf ................
=> mw 0x42000000 0 6
=> md 0x42000000 0x10
42000000: 00000000 00000000 00000000 00000000 ................
42000010: 00000000 00000000 ffffffe8 ffffffe7 ................
42000020: ffffffe6 ffffffe5 ffffffe4 ffffffe3 ................
42000030: ffffffe2 ffffffe1 ffffffe0 ffffffdf ................
=>
This is another command that accepts the type extensions .l, .w and .b :
=> mw.w 0x42000004 0x1155 6
=> md 0x42000000 0x10
42000000: 00000000 11551155 11551155 11551155 ....U.U.U.U.U.U.
42000010: 00000000 00000000 ffffffe8 ffffffe7 ................
42000020: ffffffe6 ffffffe5 ffffffe4 ffffffe3 ................
42000030: ffffffe2 ffffffe1 ffffffe0 ffffffdf ................
=> mw.b 0x42000007 0xff 7
=> md 0x42000000 0x10
42000000: 00000000 ff551155 ffffffff 1155ffff ....U.U.......U.
42000010: 00000000 00000000 ffffffe8 ffffffe7 ................
42000020: ffffffe6 ffffffe5 ffffffe4 ffffffe3 ................
42000030: ffffffe2 ffffffe1 ffffffe0 ffffffdf ................
=>
5.9.2.9. nm - memory modify (constant address)
=> help nm
nm - memory modify (constant address)
Usage:
nm [.b, .w, .l] address
=>
The nm command (non-incrementing memory modify) can be used to interactively write different data several
times to the same address. This can be useful for instance to access and modify device registers:
=>
=> nm.b 0x42000000
42000000: 00 ? 0x48
42000000: 48 ? 0x65
42000000: 65 ? 0x6c
42000000: 6c ? 0x6c
42000000: 6c ? 0x6f
42000000: 6f ? .
=> md 0x42000000 8
42000000: 0000006f ff551155 ffffffff 1155ffff o...U.U.......U.
42000010: 00000000 00000000 ffffffe8 ffffffe7 ................
=>
The nm command too accepts the type extensions .l, .w and .b.
5.9.2.8. mw - memory write (fill) 49