Monitor: Memory/Register Commands
PmT1 and PmE1 User’s Manual 10002367-02
8-12
setmem
allows memory locations to be modified starting at address. setmem first displays the value
that was read. Then you can type new data for the value or leave the data unchanged by
entering an empty line. If you press <cr> after the data, the address counts up. If you press
<ESC> after the data, the address counts down. To quit this command type any illegal hex
character (for example, “.”[period]).
Description:
setmem -[b,w,l] address
swapmem
swaps bytecount bytes at the source address with those at the destination address.
Description:
swapmem source destination bytecount
testmem
performs a nondestructive memory test from startaddr to endaddr. If endaddr is zero, the
address range is obtained from the functions MemBase and MemTop. The memory test can
be interrupted by pressing any character.
This command can be used to verify memory (DRAM). It prints the progress of the test and
summarizes the number of passes and failures.
Description:
testmem startaddr endaddr
Also refer to the functions MemBase and MemTop in “Misc” Section .
um
performs a destructive memory test from base_addr to top_addr. This is done by first clear-
ing all memory in the range specified, doing a rotating bit test at each location, and finally
filling each data location with its own address. If top_addr is zero, the address range is
obtained from the functions MemBase and MemTop.
This command prints the progress of the test and summarizes the number of passes and
failures. The memory test can be interrupted by pressing any character.
Description:
um -[b,w,l] base_addr top_addr
Also refer to the functions MemBase and MemTop in “Misc” Section .
writemem
writes value to a memory location specified by address.
Description:
writemem -[b,w,l] address value