English
Language : 

MC68332ACEH16 Datasheet, PDF (51/88 Pages) Freescale Semiconductor, Inc – 32-Bit Modular Microcontroller
Freescale Semiconductor, Inc.
4.7 Background Debugging Mode
The background debugger on the CPU32 is implemented in CPU microcode. The background debug-
ging commands are summarized below.
Table 21 Background Debuggung Mode
Command
Read D/A Register
Write D/A Register
Read System Register
Write System Register
Read Memory Location
Write Memory Location
Dump Memory Block
Fill Memory Block
Resume Execution
Patch User Code
Reset Peripherals
No Operation
Mnemonic
Description
RDREG/RAREG Read the selected address or data register and return the
results through the serial interface.
WDREG/WAREG The data operand is written to the specified address or data
register.
RSREG
The specified system control register is read. All registers that
can be read in supervisor mode can be read in background
mode.
WSREG
The operand data is written into the specified system control
register.
READ
Read the sized data at the memory location specified by the
long-word address. The source function code register (SFC)
determines the address space accessed.
WRITE
Write the operand data to the memory location specified by the
long-word address. The destination function code (DFC)
register determines the address space accessed.
DUMP
Used in conjunction with the READ command to dump large
blocks of memory. An initial READ is executed to set up the
starting address of the block and retrieve the first result.
Subsequent operands are retrieved with the DUMP command.
FILL
Used in conjunction with the WRITE command to fill large
blocks of memory. Initially, a WRITE is executed to set up the
starting address of the block and supply the first operand. The
FILL command writes subsequent operands.
GO
The pipe is flushed and refilled before resuming instruction
execution at the current PC.
CALL
Current program counter is stacked at the location of the
current stack pointer. Instruction execution begins at user
patch code.
RST
Asserts RESET for 512 clock cycles. The CPU is not reset by
this command. Synonymous with the CPU RESET instruction.
NOP
NOP performs no operation and can be used as a null
command.
MC68332
MC68332TS/D
For More Information On This Product,
Go to: www.freescale.com
MOTOROLA
51