Motorola ColdFire MCF5281 User Manual page 705

Motorola microcontroller user's manual
Table of Contents

Advertisement

Command Sequence:
RCREG
MS ADDR
???
'NOT READY'
Operand Data:
Result Data:
BDM Accesses of the Stack Pointer Registers (A7: SSP, USP)
The V2 core of the MCF5282 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 and the other register is named simply the "other_A7".
Thus, 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 the A7 and other_A7 registers
directly. It is the responsibility of the external development system to determine the
mapping of the two hardware registers (A7, other_A7) to the two program-visible
definitions (supervisor and user stack pointers), based on the Supervisor bit of the status
register.
BDM Accesses of the EMAC Registers
The presence of rounding logic in the output datapath of the EMAC requires that special
care be taken during any BDM-initiated reads and writes of its programming model. In
particular, it is necessary that any result rounding modes be disabled during the read/write
process so the exact bit-wise contents of the EMAC registers are accessed.
MOTOROLA
MS ADDR
'NOT READY'
Figure 29-34.
RCREG
The only operand is the 32-bit Rc control register select field.
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.
Chapter 29. Debug Support
Background Debug Mode (BDM)
READ
CONTROL
'NOT READY'
REGISTER
NEXT CMD
MS RESULT
BERR
Command Sequence
XXX
NEXT CMD
LS RESULT
XXX
NEXT CMD
'NOT READY'
29-33

Advertisement

Table of Contents
loading

This manual is also suitable for:

Coldfire mcf5282

Table of Contents