5-6
MCF5272 User’s Manual
Programming Model
development system using the debug serial interface
or by the operating system running on
the processor core. Software is responsible for guaranteeing that accesses to these resources
are serialized and logically consistent. Hardware provides a locking mechanism in the CSR
to allow the external development system to disable any attempted writes by the processor
to the breakpoint registers (setting CSR[IPW]). BDM commands must not be issued if the
MCF5272 is using the WDEBUG instruction to access debug module registers or the
resulting behavior is undefined.
These registers, shown in Figure 5-4, are treated as 32-bit quantities, regardless of the
number of implemented bits.
Figure 5-4. Debug Programming Model
These registers are accessed through the BDM port by new BDM commands,
WDMREG
and
RDMREG
, described in Section 5.5.3.3, “Command Set Descriptions.” These commands
contain a 5-bit field, DRc, that specifies the register, as shown in Table 5-3.
Table 5-3. BDM/Breakpoint Registers
DRc[4–0]
Register Name
Abbreviation
Initial State
Page
0x00
Configuration/status register
CSR
0x0000_0000
0x01–0x05
Reserved
—
—
—
0x06
Address attribute trigger register
AATR
0x0000_0005
0x07
Trigger definition register
TDR
0x0000_0000
0x08
Program counter breakpoint register
PBR
—
PC breakpoint mask register
PC breakpoint register
Data breakpoint register
Data breakpoint mask register
Trigger definition register
Configuration/status register
Note: Each debug register is accessed as a 32-bit register; shaded fields above are not used (don’t care).
All debug control registers are writable from the external development system or the CPU via the
WDEBUG instruction.
CSR is write-only from the programming model. It can be read or written through the BDM port using the
RDMREG
and
WDMREG
commands
.
Address attribute trigger register
Address low breakpoint register
Address high breakpoint register
31
15
7
0
31
15
0
31
15
0
31
15
0
31
15
0
31
15
0
AATR
ABLR
ABHR
CSR
DBR
DBMR
PBR
PBMR
TDR
Summary of Contents for DigitalDNA ColdFire MCF5272
Page 1: ...MCF5272UM D Rev 0 02 2001 MCF5272 ColdFire Integrated Microprocessor User s Manual ...
Page 38: ...xxxviii MCF5272 User s Manual TABLES Table Number Title Page Number ...
Page 58: ...1 10 MCF5272 User s Manual MCF5272 Specific Features ...
Page 90: ...2 42 MCF5272 User s Manual Exception Processing Overview ...
Page 96: ...3 6 MCF5272 User s Manual MAC Instruction Execution Timings ...
Page 158: ...5 46 MCF5272 User s Manual Motorola Recommended BDM Pinout ...
Page 184: ...7 12 MCF5272 User s Manual Interrupt Controller Registers ...
Page 338: ...13 44 MCF5272 User s Manual Application Examples ...
Page 414: ...18 6 MCF5272 User s Manual PWM Programming Model ...
Page 452: ...19 38 MCF5272 User s Manual Power Supply Pins ...
Page 482: ...20 30 MCF5272 User s Manual Reset Operation ...
Page 492: ...21 10 MCF5272 User s Manual Non IEEE 1149 1 Operation ...