Debug Event Select Register (Devent) Register - STMicroelectronics SPC572L series Reference Manual

Table of Contents

Advertisement

RM0400
57.3.4

Debug Event Select register (DEVENT) register

The Debug Event Select Register allows instrumented software to internally generate
signals when a mtspr instruction is executed and this register is accessed. The values
written to this register determine which of the p_devnt_out[0:7] processor output signals
are asserted upon access. Writing a '1' to any of these bit positions will cause a one clock
pulse to be generated on the corresponding output. For p_devnt_out[0:3], a corresponding
jd_watchpt[x] output is asserted as well to indicate a watchpoint has occurred. These
signals may be used for internal core debug resources as well as for SoC level cross-
triggering.
The DEVENT
to the last value written. Since it is unconditionally shared by hardware debug and software,
software should not rely on any value remaining.
The upper 8 bits of the DEVENT register also provide the DQTAG used to identify channels
within Data Acquisition Messages. See the "Data Acquisition ID Tag Field" section in the
Core (e200z215An3) Nexus 3 Module chapter for more detail on the DQTAG.
The DEVENT register is shown in
DQTAG
0
1
2
3
4
5
6
Figure 999. Debug Event Select register (DEVENT) register
1.
Reset by processor reset p_reset_b if EDBCR0
EDBRAC0 masks off hardware-owned resources from reset by p_reset_b and only software-owned resources indicated by
EDBRAC0 will be reset by p_reset_b. Note that DEVNT field is shared by hardware and software but is always reset by
p_reset_b.
Table 950
Bit
Name
0:7
DQTAG
8:23
24:31
DEVNT
57.3.5
Debug Data Acquisition Message (DDAM) register
The Debug Data Acquisition Message Register allows instrumented software to generate
real-time Data Acquisition Messages (as defined by Nexus 3) via a mtspr instruction to this
register field value is undefined on a read; it may or may not remain set
DEVNT
7
8
9
10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
SPR 975; Reset
EDM
provides bit definitions for the Debug Event Register.
Table 950. DEVENT field descriptions
Data Acquisition Message IDTAG channel identifier (supplied to Nexus 3)
Reserved, should be cleared.
Debug Event Signals
00000000
No signal is asserted
xxxxxxx1
p_devnt_out[0] and jd_watchpt[12] are asserted for one clock
xxxxxx1x
p_devnt_out[1] and jd_watchpt[13] are asserted for one clock
xxxxx1xx
p_devnt_out[2] and jd_watchpt[20] are asserted for one clock
xxxx1xxx
p_devnt_out[3] and jd_watchpt[21] are asserted for one clock
xxx1xxxx
p_devnt_out[4] is asserted for one clock
xx1xxxxx
p_devnt_out[5] is asserted for one clock
x1xxxxxx
p_devnt_out[6] is asserted for one clock
1xxxxxxx
p_devnt_out[7] is asserted for one clock
DocID027809 Rev 4
Figure
999.
0
(1)
: 0x0
=0, as well as unconditionally by m_por. If EDBCR0
Description
e200z215An3 Core Debug Support
DEVNT
EDM
=1,
1685/2058
1719

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the SPC572L series and is the answer not in the manual?

Questions and answers

Table of Contents