EasyManuals Logo

ST STM32WL5 Series User Manual

ST STM32WL5 Series
1461 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #1325 background imageLoading...
Page #1325 background image
RM0453 Rev 1 1325/1461
RM0453 Debug support (DBG)
1448
38.2 DBG use cases
The trace and debug system is designed to support a variety of typical use cases:
Low-cost trace
Limited trace capability is available over the single-wire debug output. This supports
code instrumentation using printf, tracing of data and address watchpoints, interrupt
detection and program counter sampling. Single-wire trace can be maintained even
when one or both processors are switched off or clock-stopped.
Breakpoint debugging of each core independently
Both processor cores can be simultaneously and independently debugged using
equipment connected to the JTAG/SWD debug port. This enables, among others,
breakpoint and watchpoint setting, code stepping and memory access.
Synchronous debugging of both cores
When one core stops due to a breakpoint or a debugger stop command, the other core
can be stopped as well. Similarly, the cores can be restarted at the same time. This
allows the user to debug loosely coupled applications, which require the processors to
remain synchronized.
Tracing code execution via the trace port
Trace information from the CPU1 (Cortex-M4) is combined into a single trace stream
and sent to a trace port analyzer in real time. An ID embedded in the trace allows the
analyzer to identify the source of each information packet.
38.3 DBG functional description
38.3.1 DBG block diagram
Figure 383. Block diagram of debug support infrastructure
MSv60364V1
Debug access
port (DAP)
CPU1
Cortex-M4
CPU2
Cortex-M0+
SWJ-DP
(1)
JTAG/Serial-wire port
JTMS/SWDIO
JTDI
JTDO
JTCK/SWCLK
nJTRST
AHB-AP
(1)
CTI
(1)
DAPBUS
DBG_MCU
DWT
(1)
ROM1
table
(1)
ROM2
table
(1)
Cross trigger matrix (CTM)
BPU
(1)
ROM
table
(1)
CTI
(1)
AHB-AP
(1)
Core
DWT
(1)
AHB
PPB
FPB
(1)
AHB
ITM
(1)
Core
(1) Arm CoreSight components
TPIU
(1)
Trace port
TRACESWO

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

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

ST STM32WL5 Series Specifications

General IconGeneral
BrandST
ModelSTM32WL5 Series
CategoryMicrocontrollers
LanguageEnglish

Related product manuals