Debug Support
7-10
ColdFire2/2M User’s Manual
For More Information On This Product,
Go to: www.freescale.com
MOTOROLA
7.3.3.2 COLDFIRE BDM COMMANDS.
bit operation word followed by an optional set of one or more extension words.
All ColdFire Family BDM commands include a 16-
Operation Field
The operation field specifies the command.
Table 7-3. BDM Command Summary
COMMAND
MNEMONIC
DESCRIPTION
CPU
IMPACT
HALTED
1
PAGE
READ A/D REGISTER
RAREG/RDREG Read the selected address or data register and
return the results via the serial interface.
WRITE A/D REGISTER WAREG/WDREG The data operand is written to the specified
address or data register.
READ MEMORY
LOCATION
by the longword address.
WRITE MEMORY
LOCATION
specified by the longword address.
DUMP MEMORY
BLOCK
READ is executed to set up the starting
address of the block and to retrieve the first
result. Subsequent operands are retrieved with
the DUMP command.
FILL MEMORY BLOCK
FILL
Used in conjunction with the WRITE command
to fill large blocks of memory. An initial WRITE
is executed to set up the starting address of the
block and to supply the first operand.
Subsequent operands are written with the FILL
command.
RESUME EXECUTION
GO
The pipeline is flushed and refilled before
resuming instruction execution at the current
PC
.
NO OPERATION
NOP
NOP performs no operation and may be used
as a null command.
READ CONTROL
REGISTER
WRITE CONTROL
REGISTER
register.
READ DEBUG MODULE
REGISTER
WRITE DEBUG
MODULE REGISTER
register.
NOTE: 1.
General command effect and/or requirements on CPU operation:
Halted - The CPU must be halted to perform this command
Steal - Command generates bus cycles which can be interleaved with CPU accesses
Parallel - Command is executed in parallel with CPU activity
Refer to command summaries for detailed operation descriptions.
7-13
HALTED
7-13
READ
Read the data at the memory location specified
CYCLE
STEAL
CYCLE
STEAL
CYCLE
STEAL
7-14
WRITE
Write the operand data to the memory location
7-16
DUMP
to dump large blocks of memory. An initial
7-17
CYCLE
STEAL
7-19
HALTED
7-21
PARALLEL
7-21
RCREG
Read the system control register.
HALTED
7-22
WCREG
Write the operand data to the system control
HALTED
7-23
RDMREG
Read the Debug Module register.
PARALLEL
7-24
WDMREG
Write the operand data to the Debug Module
PARALLEL
7-25
15
10
9
0
EXTENSION WORD(S)
BDM Command Format
8
7
OP SIZE
6
5
0
4
0
3
2
0
OPERATION
R/W
A/D
REGISTER
F
Freescale Semiconductor, Inc.
n
.