User`s guide

SROM Mini-Debugger Command Set 3–35
User Commands
mt
The memory test (mt) command performs a simple write-read-compare test.
Control Flags
!d (negate data flag)
ba (base address flag)
fr (follow-with-read flag)
fw (follow-with-write flag)
lo (loop flag)
qw (quadword data flag)
wa (write address flag)
Description
The memory test command first writes to the memory range specified with the
user-specified data or command-generated data. It then begins reading back the data
and comparing it against what was written. If a mismatch is encountered, both the
read and the expected data are displayed on the screen.
Example
In the following example, the data pattern 12345678 is written to the block starting at
400000 and ending at 600000. The range is then read back and compared with the
expected data 12345678. In this example, no mismatches are found.
SROM> mt
A> 400000
A> 600000
D> 12345678
In this next example, a bit stuck high is detected by the memory test.
SROM> wa ! Use address of write as the data
Wrt Addr ON