Debug Module
MCF52235 ColdFire® Integrated Microcontroller Reference Manual, Rev. 6
31-34
Freescale Semiconductor
Result Data:
Control register contents are returned as a longword, most-significant word first.
The implemented portion of registers smaller than 32 bits is guaranteed correct;
other bits are undefined.
31.4.1.5.11
BDM Accesses of the Stack Pointer Registers (A7: SSP and USP)
The ColdFire core supports two unique stack pointer (A7) registers: the supervisor stack pointer (SSP) and
the user stack pointer (USP). The hardware implementation of these two programmable-visible 32-bit
registers does not uniquely identify one as the SSP and the other as the USP. Rather, the hardware uses one
32-bit register as the currently-active A7; the other is named the OTHER_A7. Therefore, the contents of
the two hardware registers is a function of the operating mode of the processor:
if SR[S] = 1
then
A7 = Supervisor Stack Pointer
OTHER_A7 = User Stack Pointer
else
A7 = User Stack Pointer
OTHER_A7 = Supervisor Stack Pointer
The BDM programming model supports reads and writes to A7 and OTHER_A7 directly. It is the
responsibility of the external development system to determine the mapping of A7 and OTHER_A7 to the
two program-visible definitions (supervisor and user stack pointers), based on the SR[S] bit.
Table 31-21. Control Register Map
Rc
Register Definition
0x009
RGPIO Base Address Register (RGPIOBAR)
1
1
If an RGPIO module is available on this device.
0x(0,1)80 – 0x(0,1)87
Data Registers 0–7 (0 = load, 1 = store)
0x(0,1)88 – 0x(0,1)8F
Address Registers 0–7 (0 = load, 1 = store)
(A7 is user stack pointer)
0x800
Other Stack Pointer (OTHER_A7)
0x801
0x804
0x805
0x806
0x807
MAC Accumulator 0,1 Extension Bytes (ACCEXT01)
0x808
MAC Accumulator 2,3 Extension Bytes (ACCEXT23)
0x809
MAC Accumulator 1 (ACC1)
0x80A
MAC Accumulator 2 (ACC2)
0x80B
MAC Accumulator 3 (ACC3)
0x80E
0x80F
0xC04
Flash Base Address Register (FLASHBAR)
0xC05
RAM Base Address Register (RAMBAR)
Because
of
an
order
from
the
United
States
International
Trade
Commission,
BGA-packaged
product
lines
and
part
numbers
indicated
here
currently
are
not
available
from
Freescale
for
import
or
sale
in
the
United
States
prior
to
September
2010:MCF52234CVM60,
MCF52235CVM60