User Guide
Useful applications
38
LxNETES User’s Guide
Useful applications
mem
With this application you can read and write the contents of the SDRAM.
All the options of this tool are accessible through a command line. Just type an 'h' to list all
the available commands:
# mem
-> h
c <addr> [<len>]: Display char at
w <addr> [<len>]: Display word at
i <addr> [<len>]: Display int at
s <addr>: Display string at
B <addr> <val> [<len>]: Write byteval at addr
W <addr> <val> [<len>]: Write wordval at addr
I <addr> <val> [<len>]: Write intval at addr
/ <addr> <txt> [<len>]: Search string at
h :Display this help
q :Quit
-> b 0x31000000 32
0x31000000: 0xff 0xff 0xff 0xbf 0xfd 0x7d 0xbf 0xcd 0xf9 0xfb 0xfe 0xfb 0xff
0xfb 0xff 0xfb
0x31000010: 0xbf 0xd7 0xf5 0xff 0xff 0xff 0xf7 0xff 0xff 0xff 0xee 0xff 0x7f
0x7f 0xff 0xe7
->










