Read Loop; Write/Read Loop - Motorola M68CPU32BUG User Manual

Debug monitor
Table of Contents

Advertisement

6.3.2 Read Loop

RL.<SIZE> [<ADDR> [<DEL><DATA>]]
The RL command executes a streamlined read of specified size from a specified memory
location. This command is intended as a debugging aid once specific fault areas are identified.
The read loop is very short in execution so measuring devices such as oscilloscopes may be
utilized in tracking failures. Pressing the BREAK key does not terminate this command, but
pressing the ABORT switch or RESET switch does.
Command size must be specified as B for byte, W for word, or L for longword.
The command requires one parameter: target address. The address is a hexadecimal value. To
read from address $10000, enter RL.B 10000. The system prompts the user if the parameter is
omitted.
EXAMPLES
CPU32Diag>RL.B<CR>
CPU32Diag>RL.W A000<CR>

6.3.3 Write/Read Loop

WR.<SIZE> [<ADDR> [<DEL><DATA>]]
The WR command executes a streamlined write and read of specified size to a specified memory
location. This command is intended as a debugging aid once specific fault areas are identified.
The write/read loop is very short in execution so measuring devices such as oscilloscopes may be
utilized in tracking failures. Pressing the BREAK key does not terminate this command, but
pressing the ABORT switch or RESET switch does.
Command size must be specified as B for byte, W for word, or L for longword.
The command requires two parameters: target address and data to be written. The address and
data are both hexadecimal values and must not be preceded by a $. To write $00 out to address
$10000 and read back, enter WR.B 10000 00. The system prompts the user if either or both
parameters are omitted.
EXAMPLE
CPU32Diag>WR.W 8000 FFFFFFFF<CR>
M68CPU32BUG/D REV 1
Prompts for address from which to read byte value
Read longword at $A000
Writes longword $FFFFFFFF to location $8000 and
reads it back
6-5
DIAGNOSTIC FIRMWARE GUIDE

Advertisement

Table of Contents
loading

Table of Contents