Chapter 36 Nexus Development Interface (NDI)
MPC5602P Microcontroller Reference Manual, Rev. 4
Freescale Semiconductor
915
Additionally, the DBCR0
EDM
bit is forced to ‘1’ internally while single-stepping to prevent Debug events
from generating Debug interrupts. Also, during a debug session, the DBSR is frozen from updates due to
debug events regardless of DBCR0
EDM
. They may still be modified during a debug session via a
single-stepped
mtspr
instruction if DBCRO
EDM
is programmed to a ‘0’, or via OnCE access if
DBCR0
EDM
is set.
36.12.5.3 e200z0h OnCE Control Register (OCR)
The e200z0h OnCE Control Register is a 32-bit register used to force the e200z0h core into debug mode
and to enable / disable sections of the e200z0h OnCE control logic. The control bits are read/write. These
bits are only effective while OnCE is enabled (
jd_en_once
asserted). The OCR is shown in
provides bit definitions for the OnCE Control Register.
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
R
0
0
0
0
0
0
0
0
I_DMDIS
0
0
I_D
V
LE
I_
DI
I_DM
0
I_
DE
W
Reset
1
1
0xo000_0000 on
m_por
,
j_trst_b
, or entering Test_logic_Reset state
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
R
D
_
DM
DI
S
0
0
D_D
W
D_
D
I
D_DM
D_D
G
D_
DE
0
0
0
0
0
WKUP
FDB
DR
W
Reset
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
Figure 36-15. OnCE Control Register
Table 36-13. OnCE Control Register Bit Definitions
Bit(s)
Name
Description
0:7
—
Reserved
8
I_DMDIS
1
Instruction Side Debug MMU Disable Control Bit (I_DMDIS)
0 – MMU not disabled for debug sessions
1 – MMU disabled for debug sessions
This bit may be used to control whether the MMU is enabled normally, or whether the MMU
is disabled during a debug session for Instruction Accesses. When enabled, the MMU
functions normally. When disabled, for Instruction Accesses, no address translation is
performed (1:1 address mapping), and the TLB VLE, I,M, and E bits are taken from the OCR
bits I_VLE, I_DI, I_DM, and I_DE bits. The W and G bits are assumed ‘0’. The SX and UX
access permission control bits are set to‘1’ to allow full access. When disabled, no TLB miss
or TLB exceptions are generated for Instruction accesses. External access errors can still
occur.
9:10
—
Reserved