29-20
MCF5282 User’s Manual
MOTOROLA
Background Debug Mode (BDM)
29.5.3 BDM Command Set
Table 29-17 summarizes the BDM command set. Subsequent paragraphs contain detailed
descriptions of each command. Issuing a BDM command when the processor is accessing
debug module registers using the WDEBUG instruction causes undefined behavior.
Unassigned command opcodes are reserved by Motorola. All unused command formats
within any revision level perform a
NOP
and return the illegal command response
.
Table 29-17. BDM Command Summary
Command
Mnemonic
Description
CPU
State
1
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 that can be interleaved with bus accesses.
- Parallel. Command is executed in parallel with CPU activity.
Section
Command
(Hex)
Read A/D
register
RAREG
/
RDREG
Read the selected address or data register and return the
results through the serial interface.
Halted
29.5.3.3.1
0x218 {A/D,
Reg[2:0]}
Write A/D
register
WAREG
/
WDREG
Write the data operand to the specified address or data
register.
Halted
29.5.3.3.2
0x208 {A/D,
Reg[2:0]}
Read memory
location
READ
Read the data at the memory location specified by the
longword address.
Steal
29.5.3.3.3
0x1900—byte
0x1940—word
0x1980—lword
Write memory
location
WRITE
Write the operand data to the memory location specified
by the longword address.
Steal
29.5.3.3.4
0x1800—byte
0x1840—word
0x1880—lword
Dump
memory block
DUMP
Used with
READ
to dump large blocks of memory. An
initial
READ
is executed to set up the starting address of
the block and to retrieve the first result. A
DUMP
command retrieves subsequent operands.
Steal
29.5.3.3.5
0x1D00—byte
0x1D40—word
0x1D80—lword
Fill memory
block
FILL
Used with
WRITE
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. A
FILL
command writes subsequent operands.
Steal
29.5.3.3.6
0x1C00—byte
0x1C40—word
0x1C80—lword
Resume
execution
GO
The pipeline is flushed and refilled before resuming
instruction execution at the current PC.
Halted
29.5.3.3.7
0x0C00
No operation
NOP
Perform no operation; may be used as a null command.
Parallel
29.5.3.3.8
0x0000
Read control
register
RCREG
Read the system control register.
Halted
29.5.3.3.9
0x2980
Write control
register
WCREG
Write the operand data to the system control register.
Halted
29.5.3.3.10 0x2880
Read debug
module
register
RDMREG
Read the debug module register.
Parallel
29.5.3.3.11 0x2D {0x4
2
DRc[4:0]}
2
0x4 is a three-bit field.
Write debug
module
register
WDMREG
Write the operand data to the debug module register.
Parallel
29.5.3.3.12 0x2C {0x4
2
DRc[4:0]}
Содержание ColdFire MCF5281
Страница 1: ...MCF5282UM D Rev 2 1 2004 MCF5282 ColdFire Microcontroller User s Manual Devices Supported MCF5281 ...
Страница 124: ...3 20 MCF5282 User s Manual MOTOROLA EMAC Instruction Set Summary ...
Страница 141: ...MOTOROLA Chapter 5 Static RAM SRAM 5 5 SRAM Programming Model ...
Страница 142: ...5 6 MCF5282 User s Manual MOTOROLA SRAM Programming Model ...
Страница 168: ...6 26 MCF5282 User s Manual MOTOROLA Interrupts ...
Страница 186: ...7 18 MCF5282 User s Manual MOTOROLA Functional Description ...
Страница 228: ...9 22 MCF5282 User s Manual MOTOROLA Functional Description ...
Страница 246: ...10 18 MCF5282 User s Manual MOTOROLA Low Power Wakeup Operation ...
Страница 254: ...11 8 MCF5282 User s Manual MOTOROLA Memory Map and Registers ...
Страница 264: ...12 10 MCF5282 User s Manual MOTOROLA Chip Select Registers ...
Страница 280: ...13 16 MCF5282 User s Manual MOTOROLA Misaligned Operands ...
Страница 314: ...14 34 MCF5282 User s Manual MOTOROLA MCF5282 External Signals ...
Страница 339: ...MOTOROLA Chapter 15 Synchronous DRAM Controller Module 15 25 SDRAM Example ...
Страница 340: ...15 26 MCF5282 User s Manual MOTOROLA SDRAM Example ...
Страница 356: ...16 16 MCF5282 User s Manual MOTOROLA DMA Controller Module Functional Description ...
Страница 408: ...17 52 MCF5282 User s Manual MOTOROLA Buffer Descriptors ...
Страница 446: ...20 24 MCF5282 User s Manual MOTOROLA Interrupts ...
Страница 474: ...22 18 MCF5282 User s Manual MOTOROLA Programming Model ...
Страница 510: ...23 36 MCF5282 User s Manual MOTOROLA Operation ...
Страница 526: ...24 16 MCF5282 User s Manual MOTOROLA I2C Programming Examples ...
Страница 672: ...28 12 MCF5282 User s Manual MOTOROLA Functional Description ...
Страница 718: ...29 46 MCF5282 User s Manual MOTOROLA Motorola Recommended BDM Pinout ...
Страница 750: ...32 8 MCF5282 User s Manual MOTOROLA Ordering Information ...
Страница 800: ...A 22 MCF5282 User s Manual MOTOROLA ...