![NXP Semiconductors SAFE ASSURE Qorivva MPC5601P Скачать руководство пользователя страница 885](http://html.mh-extra.com/html/nxp-semiconductors/safe-assure-qorivva-mpc5601p/safe-assure-qorivva-mpc5601p_reference-manual_1721898885.webp)
Chapter 36 Nexus Development Interface (NDI)
MPC5602P Microcontroller Reference Manual, Rev. 4
Freescale Semiconductor
885
36.11.2 Debug Control and Status Registers
Debug Control Registers (DBCR0, DBCR1, DBCR2, DBCR4, and DBERC0) are used to enable debug
events, reset the processor, and set the debug mode of the processor. The Debug Status register (DBSR)
records debug exceptions while Internal or External Debug Mode is enabled.
e200z0h requires that a context synchronizing instruction follow a
mtspr
DBCR0-4 or DBSR to ensure
that any alterations enabling/disabling debug events are effective. The context synchronizing instruction
may or may not be affected by the alteration. Typically, an
isync
instruction is used to create a
synchronization boundary beyond which it can be guaranteed that the newly written control values are in
effect.
For watchpoint generation, configuration settings contained in DBCR1and DBCR2 are used, even though
the corresponding event(s) may be disabled (via DBCR0) from setting DBSR flags.
36.11.2.1 Debug Control Register 0 (DBCR0)
Debug Control Register 0 is used to enable debug modes and controls which debug events are allowed to
set DBSR flags. e200z0h adds some implementation specific bits to this register, as seen in
.
SPR - 308;
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
R
EDM
IDM
RST
ICMP
BR
T
IR
PT
TRAP
IA
C1
IA
C2
IA
C3
IA
C4
DA
C
1
DA
C
2
W
Reset
1
1
DBCR0
EDM
is affected by
j_trst_b
or
m_por
assertion, and remains reset while in the Test_Logic_Reset state, but
is not affected by
p_reset_b
. All other bits are reset by processor reset
p_reset_b
if DBCR0
EDM
=0, as well as
unconditionally by
m_por
. If DBCR0
EDM
=1, DBERC0 masks off hardware-owned resources (other than RST) from
reset by
p_reset_b,
and only software-owned resources indicated by DBERC0 and the DBCR0
RST
field will be
reset by
p_reset_b
. The DBCR0
RST
field will always be reset by
p_reset_b
regardless of the value of DBCR0
EDM
.
0
0
0
0
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
RET
0
0
0
0
DEVT1
DEVT2
0
0
CIRPT
CRET
0
0
0
0
0
W
Reset
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
Figure 36-4. DBCR0 Register
Содержание SAFE ASSURE Qorivva MPC5601P
Страница 2: ...MPC5602P Microcontroller Reference Manual Rev 4 2 Freescale Semiconductor ...
Страница 4: ...MPC5602P Microcontroller Reference Manual Rev 4 4 Freescale Semiconductor ...
Страница 62: ...Chapter 2 MPC5602P Memory Map MPC5602P Microcontroller Reference Manual Rev 4 62 Freescale Semiconductor ...
Страница 104: ...Chapter 4 Clock Description MPC5602P Microcontroller Reference Manual Rev 4 104 Freescale Semiconductor ...
Страница 128: ...Chapter 6 Power Control Unit MC_PCU MPC5602P Microcontroller Reference Manual Rev 4 128 Freescale Semiconductor ...
Страница 272: ...Chapter 12 e200z0 and e200z0h Core MPC5602P Microcontroller Reference Manual Rev 4 272 Freescale Semiconductor ...
Страница 280: ...Chapter 14 Crossbar Switch XBAR MPC5602P Microcontroller Reference Manual Rev 4 280 Freescale Semiconductor ...
Страница 306: ...Chapter 16 Internal Static RAM SRAM MPC5602P Microcontroller Reference Manual Rev 4 306 Freescale Semiconductor ...
Страница 380: ...Chapter 17 Flash Memory MPC5602P Microcontroller Reference Manual Rev 4 380 Freescale Semiconductor ...
Страница 532: ...Chapter 21 LIN Controller LINFlex MPC5602P Microcontroller Reference Manual Rev 4 532 Freescale Semiconductor ...
Страница 578: ...Chapter 22 FlexCAN MPC5602P Microcontroller Reference Manual Rev 4 578 Freescale Semiconductor ...
Страница 708: ...Chapter 25 FlexPWM MPC5602P Microcontroller Reference Manual Rev 4 708 Freescale Semiconductor ...
Страница 742: ...Chapter 26 eTimer MPC5602P Microcontroller Reference Manual Rev 4 742 Freescale Semiconductor ...
Страница 760: ...Chapter 27 Functional Safety MPC5602P Microcontroller Reference Manual Rev 4 760 Freescale Semiconductor ...
Страница 782: ...Chapter 28 Fault Collection Unit FCU MPC5602P Microcontroller Reference Manual Rev 4 782 Freescale Semiconductor ...
Страница 788: ...Chapter 29 Wakeup Unit WKPU MPC5602P Microcontroller Reference Manual Rev 4 788 Freescale Semiconductor ...
Страница 798: ...Chapter 30 Periodic Interrupt Timer PIT MPC5602P Microcontroller Reference Manual Rev 4 798 Freescale Semiconductor ...
Страница 816: ...Chapter 32 Cyclic Redundancy Check CRC MPC5602P Microcontroller Reference Manual Rev 4 816 Freescale Semiconductor ...
Страница 848: ...Chapter 33 Boot Assist Module BAM MPC5602P Microcontroller Reference Manual Rev 4 848 Freescale Semiconductor ...
Страница 930: ...Chapter 36 Nexus Development Interface NDI MPC5602P Microcontroller Reference Manual Rev 4 930 Freescale Semiconductor ...