Figure 386. Debug And Access Port Connections - STMicroelectronics STM32WL5 Series Reference Manual

Advanced arm-based 32-bit mcus with sub-ghz radio solution
Table of Contents

Advertisement

Debug support (DBG)
Offset Register name
DP_SELECTR
0x08
Reset value
DP_BUFFR
0x0C
Reset value
DP_TARGETSELR
0x0C
Reset value
1. DP_SELECTR.DPBANKSEL = 0.
2. DP_SELECTR.DPBANKSEL = 1.
3. DP_SELECTR.DPBANKSEL = 2.
4. DP_SELECTR.DPBANKSEL = 3.
38.5
Access ports
As shown in
AP0, CPU1 (Cortex-M4) access port (AHB-AP): enables access to the debug and trace
features integrated in the core via its internal AHB bus.
AP1, CPU2 (Cortex-M0+) access port (AHB-AP): enables access to the debug and
trace features integrated in the core via its internal AHB bus.
The access ports are of MEM-AP type, that is to say the debug and trace component
registers are mapped in the address space of the associated debug bus.
AP is seen by the debugger as a set of 32-bit registers organized in banks of four registers
each. Some of these registers are used to configure or monitor the AP itself, while others
are used to perform a transfer on the bus.
The AP registers are listed in
JTAG/SWD
1330/1450
Table 268. DP register map and reset values (continued)
APSEL[3:0]
x
x
x
x
0
0
0
0
0
0
0
0
0
x
x
x
x
x
x
x
x
x
Figure
386, there are two access ports (AP) attached to the DP:
Table 270: AP register map and reset

Figure 386. Debug and access port connections

SWJ-DP
RDBUFF[31:0]
0
0
0
0
0
0
0
0
0
TPARTNO[15:0]
x
x
x
x
x
x
x
x
x
DAPBUS
AP0
(AHB-AP)
AP1
(AHB-AP)
RM0453 Rev 5
x
x
x
0
0
0
0
0
0
0
0
0
TDESIGNER[10:0]
x
x
x
x
x
x
x
x
x
values.
CPU1 Cortex-M4
CPU2 Cortex-M0+
RM0453
x
x
x
x
x
0
0
0
0 0
x
x
x
x
MSv60367V1

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the STM32WL5 Series and is the answer not in the manual?

Subscribe to Our Youtube Channel

This manual is also suitable for:

Stm32wl55 seriesStm32wl54 series

Table of Contents