Figure 684. Swj Debug Port - ST STM32G4 Series Reference Manual

Advanced arm-based 32-bit mcus
Hide thumbs Also See for STM32G4 Series:
Table of Contents

Advertisement

RM0440
Figure 684
TDO. This means that the asynchronous trace can only be used with SW-DP, not JTAG-DP.
46.3.1
Mechanism to select the JTAG-DP or the SW-DP
By default, the JTAG-Debug Port is active.
If the debugger host wants to switch to the SW-DP, it must provide a dedicated JTAG
sequence on TMS/TCK (respectively mapped to SWDIO and SWCLK) which disables the
JTAG-DP and enables the SW-DP. This way it is possible to activate the SWDP using only
the SWCLK and SWDIO pins.
This sequence is:
1.
Send more than 50 TCK cycles with TMS (SWDIO) =1
2.
Send the 16-bit sequence on TMS (SWDIO) = 0111100111100111 (MSB transmitted
first)
3.
Send more than 50 TCK cycles with TMS (SWDIO) =1
46.4
Pinout and debug port pins
The STM32G4 Series MCUs are available in various packages with different numbers of
available pins. As a result, some functionalities (ETM) related to pin availability may differ
between packages.

Figure 684. SWJ debug port

shows that the asynchronous TRACE output (TRACESWO) is multiplexed with
RM0440 Rev 1
Debug support (DBG)
2043/2083
2073

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Subscribe to Our Youtube Channel

Table of Contents

Save PDF