Debug Module
MCF52211 ColdFire® Integrated Microcontroller Reference Manual, Rev. 2
Freescale Semiconductor 28-23

Freescale reserves unassigned command opcodes. All unused command formats within any revision level

perform a NOP and return the illegal command response.

Table 28-20. BDM Command Summary

Command Mnemonic Description CPU
State1
1General command effect and/or requirements on CPU operation:
- Halted: The CPU must be halted to perform this command.
- Steal: Command generates bus cycles that can be interleaved with bus accesses.
- Parallel: Command is executed in parallel with CPU activity.
Section/Page Command
(Hex)
Read A/D
register
RAREG/
RDREG
Read the selected address or data register and
return the results through the serial interface.
Halted 28.5.3.3.1/28-26 0x218 {A/D,
Reg[2:0]}
Write A/D
register
WAREG/
WDREG
Write the data operand to the specified address or
data register.
Halted 28.5.3.3.2/28-27 0x208 {A/D,
Reg[2:0]}
Read
memory
location
READ Read the data at the memory location specified by
the longword address.
Steal 28.5.3.3.3/28-27 0x1900—byte
0x1940—word
0x1980—lword
Write
memory
location
WRITE Write the operand data to the memory location
specified by the longword address.
Steal 28.5.3.3.4/28-29 0x1800—byte
0x1840—word
0x1880—lword
Dump
memory
block
DUMP Used with READ to dump large blocks of memory. An
initial READ executes to set up the starting address
of the block and to retrieve the first result. A DUMP
command retrieves subsequent operands.
Steal 28.5.3.3.5/28-30 0x1D00—byte
0x1D40—word
0x1D80—lword
Fill memory
block
FILL Used with WRITE to fill large blocks of memory. An
initial WRITE executes to set up the starting address
of the block and to supply the first operand. A FILL
command writes subsequent operands.
Steal 28.5.3.3.6/28-32 0x1C00—byte
0x1C40—word
0x1C80—lword
Resume
execution
GO The pipeline is flushed and refilled before resuming
instruction execution at the current PC.
Halted 28.5.3.3.7/28-33 0x0C00
No operation NOP Perform no operation; may be used as a null
command.
Parallel 28.5.3.3.8/28-34 0x0000
Output the
current PC
SYNC_PC Capture the current PC and display it on the
PST/DDATA outputs.
Parallel 28.5.3.3.9/28-34 0x0001
Read control
register
RCREG Read the system control register. Halted 28.5.3.3.10/28-35 0x2980
Write control
register
WCREG Write the operand data to the system control
register.
Halted 28.5.3.3.12/28-37 0x2880
Read debug
module
register
RDMREG Read the debug module register. Parallel 28.5.3.3.13/28-38 0x2D {0x42
DRc[4:0]}
20x4 is a three-bit field.
Write debug
module
register
WDMREG Write the operand data to the debug module
register.
Parallel 28.5.3.3.14/28-38 0x2C {0x42
DRc[4:0]}