EasyManua.ls Logo

ST STM32F101xx - Reference ARM Documentation; SWJ Debug Port (Serial Wire and JTAG); Mechanism to Select the JTAG-DP or the SW-DP; Figure 360. SWJ Debug Port

ST STM32F101xx
1096 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
Loading...
Debug support (DBG) RM0008
1050/1096 Doc ID 13902 Rev 12
31.2 Reference ARM documentation
Cortex™-M3 r1p1 Technical Reference Manual (TRM)
It is available from:
http://infocenter.arm.com/help/topic/com.arm.doc.ddi0337e/DDI0337E_cortex_m3_r1p1_trm.pdf
ARM Debug Interface V5
ARM CoreSight Design Kit revision r1p1 Technical Reference Manual
31.3 SWJ debug port (serial wire and JTAG)
The STM32F10xxx core integrates the Serial Wire / JTAG Debug Port (SWJ-DP). It is an
ARM standard CoreSight debug port that combines a JTAG-DP (5-pin) interface and a SW-
DP (2-pin) interface.
The JTAG Debug Port (JTAG-DP) provides a 5-pin standard JTAG interface to the AHP-
AP port.
The Serial Wire Debug Port (SW-DP) provides a 2-pin (clock + data) interface to the
AHP-AP port.
In the SWJ-DP, the two JTAG pins of the SW-DP are multiplexed with some of the five JTAG
pins of the JTAG-DP.
Figure 360. SWJ debug port
Figure 360 shows that the asynchronous TRACE output (TRACESWO) is multiplexed with
TDO. This means that the asynchronous trace can only be used with SW-DP, not JTAG-DP.
31.3.1 Mechanism to select the JTAG-DP or the SW-DP
By default, the JTAG-Debug Port is active.
TRACESWO
JTDO
JTDI
NJTRST
nTRST
TDI
TDO
SWJ-DP
TDO
TDI
nTRST
TCK
TMS
nPOTRST
JTAG-DP
nPOTRST
From
power-on
reset
DBGRESETn
DBGDI
DBGDO
DBGDOEN
DBGCLK
SW-DP
SWCLKTCK
SWDOEN
SWDO
SWDITMS
SWD/JTAG
select
JTMS/SWDIO
JTCK/SWCLK
(asynchronous trace)
ai17139

Table of Contents

Related product manuals