English
Language : 

MC9S12P128 Datasheet, PDF (137/564 Pages) Freescale Semiconductor, Inc – S12 Microcontrollers
Background Debug Module (S12SBDMV1)
Register Global Address 0x3_FF06
R
W
Reset
Special Single-Chip Mode
All Other Modes
7
CCR7
6
CCR6
5
CCR5
4
CCR4
3
CCR3
2
CCR2
1
1
0
0
1
0
0
0
0
0
0
0
Figure 5-4. BDM CCR Holding Register (BDMCCR)
1
CCR1
0
0
0
CCR0
0
0
Read: All modes through BDM operation when not secured
Write: All modes through BDM operation when not secured
NOTE
When BDM is made active, the CPU stores the content of its CCR register
in the BDMCCR register. However, out of special single-chip reset, the
BDMCCR is set to 0xD8 and not 0xD0 which is the reset value of the CCR
register in this CPU mode. Out of reset in all other modes the BDMCCR
register is read zero.
When entering background debug mode, the BDM CCR holding register is used to save the condition code
register of the user’s program. It is also used for temporary storage in the standard BDM firmware mode.
The BDM CCR holding register can be written to modify the CCR value.
5.3.2.2 BDM Program Page Index Register (BDMPPR)
Register Global Address 0x3_FF08
7
6
5
4
3
2
R
0
0
0
BPAE
BPP3
BPP2
W
Reset
0
0
0
0
0
0
= Unimplemented, Reserved
Figure 5-5. BDM Program Page Register (BDMPPR)
1
BPP1
0
0
BPP0
0
Read: All modes through BDM operation when not secured
Write: All modes through BDM operation when not secured
Table 5-3. BDMPPR Field Descriptions
Field
7
BPAE
3–0
BPP[3:0]
Description
BDM Program Page Access Enable Bit — BPAE enables program page access for BDM hardware and
firmware read/write instructions The BDM hardware commands used to access the BDM registers (READ_BD
and WRITE_BD) can not be used for global accesses even if the BGAE bit is set.
0 BDM Program Paging disabled
1 BDM Program Paging enabled
BDM Program Page Index Bits 3–0 — These bits define the selected program page. For more detailed
information regarding the program page window scheme, please refer to the S12S_MMC Block Guide.
S12P-Family Reference Manual, Rev. 1.12
Freescale Semiconductor
137