Debug Module
MCF52110 ColdFire® Integrated Microcontroller Reference Manual, Rev. 1
27-36
Freescale Semiconductor
Preliminary
Command Sequence:
Figure 27-37.
RCREG
Command Sequence
Operand Data:
The only operand is the 32-bit Rc control register select field.
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.
27.5.3.3.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
Table 27-22. Control Register Map
Rc
Register Definition
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
0x80E
0x80F
0xC04
Flash Base Address Register (FLASHBAR)
0xC05
RAM Base Address Register (RAMBAR)
XXX
’NOT READY’
RCREG
???
MS ADDR
’NOT READY’
MS ADDR
’NOT READY’
NEXT CMD
’NOT READY’
READ
CONTROL
REGISTER
XXX
BERR
NEXT CMD
MS RESULT
NEXT CMD
LS RESULT