mcf5307cft90b Freescale Semiconductor, Inc, mcf5307cft90b Datasheet - Page 134

no-image

mcf5307cft90b

Manufacturer Part Number
mcf5307cft90b
Description
Mcf5307 Coldfire Integrated Microprocessor User
Manufacturer
Freescale Semiconductor, Inc
Datasheet
Programming Model
programming model by executing the WDEBUG instruction. Thus, the breakpoint
hardware in the debug module can be accessed by the external 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
MCF5307 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.
These registers are accessed through the BDM port by new BDM commands,
RDMREG
contain a 5-bit field, DRc, that specifies the register, as shown in Table 5-3.
5-6
Note: Each debug register is accessed as a 32-bit register; shaded fields above are not used (don’t care).
31
31
31
31
31
31
31
31
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
, described in Section 5.5.3.3, “Command Set Descriptions.” These commands
and
WDMREG
Freescale Semiconductor, Inc.
Figure 5-4. Debug Programming Model
15
15
15
15
15
15
15
15
For More Information On This Product,
commands
Go to: www.freescale.com
7
7
MCF5307 User’s Manual
.
0
0
0
0
0
0
0
0
ABLR
ABHR
BAAR
CSR
DBR
DBMR
PBR
PBMR
TDR
AATR
Address attribute trigger register
Address low breakpoint register
Address high breakpoint register
BDM address attribute register
Configuration/status register
Data breakpoint register
Data breakpoint mask register
PC breakpoint register
PC breakpoint mask register
Trigger definition register
WDMREG
and

Related parts for mcf5307cft90b