
U-Boot Commands
LITE5200B User’s Manual, Rev. 0
7-42
Freescale Semiconductor
7.40
NM
nm
– Memory modify (constant address).
nm [.b, .w, .l] address
– Memory modify, read and keep 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 100000
00100000: 00 ? 48
00100000: 48 ? 61
00100000: 61 ? 6c
00100000: 6c ? 6c
00100000: 6c ? 6f
00100000: 6f ? .
=> md 100000 8
00100000: 6f000000 115511ff ffffffff ffff1155 o....U.........U
00100010: 00000000 00000000 00000015 00000016 ................
=>