User`s guide

3–28 SROM Mini-Debugger Command Set
User Commands
For example, writing to address 0x600000 and reading from 0x800000 ejects the
cached write of address 0x600000. From the system memory’s point of view, a read
of 0x800000 will be followed with a write of 0x600000, followed by another read of
0x800000 and so on until the loop is broken by pressing a key.
SROM> lo ! Repeat command until a key is pressed.
Loop ON
SROM> fr
! Follow deposit command with a read.
FollowRd ON
SROM> di
! Don’t display the data from the read.
Disp OFF
SROM> dm
A> 600000 ! Address of write
A> 800000
! Address of read; a multiple of 2MB.
D> 0f0f0f0f
! Data for the write.
! (key pressed)
To test the data path and cache timing between the CPU and the external cache,
provide the same address for the read as the write. For example, each write
operation in the following fm command is followed with a read operation from the
external cache. Note that the read address is also incremented by the same amount as
the write address.
SROM> lo ! Don’t repeat fill memory command.
Loop OFF
SROM> di
! Print the data from the reads.
Disp ON
SROM> wa
! Use the address as the data for the writes.
Wrt Addr ON
SROM> fr
! Follow deposit command with a read.
FollowRd ON