EasyManuals Logo

ST STM32F20 Series User Manual

ST STM32F20 Series
29 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 #19 background imageLoading...
Page #19 background image
AN3320 Debug management
Doc ID 18267 Rev 2 19/29
4.3.2 Flexible SWJ-DP pin assignment
After reset (SYSRESETn or PORESETn), all five pins used for the SWJ-DP are assigned as
dedicated pins immediately usable by the debugger host (note that the trace outputs are not
assigned except if explicitly programmed by the debugger host).
However, some of the JTAG pins shown in Tabl e 3 can be configured to an alternate function
through the GPIOx_AFRx registers.
Tabl e 3 shows the different possibilities to release some pins.
For more details, see the STM32F20xxx/21xxx (RM0033) reference manual, available from
the STMicroelectronics website www.st.com.
4.3.3 Internal pull-up and pull-down resistors on JTAG pins
The JTAG input pins must not be floating since they are directly connected to flip-flops to
control the debug mode features. Special care must be taken with the SWCLK/TCK pin that
is directly connected to the clock of some of these flip-flops.
Table 2. Debug port pin assignment
SWJ-DP pin name
JTAG debug port SW debug port
Pin
assignment
Type Description Type Debug assignment
JTMS/SWDIO I
JTAG test mode
selection
I/O
Serial wire data
input/output
PA 1 3
JTCK/SWCLK I JTAG test clock I Serial wire clock PA14
JTDI I JTAG test data input - - PA15
JTDO/TRACESWO O JTAG test data output -
TRACESWO if async trace
is enabled
PB3
JNTRST I JTAG test nReset - - PB4
Table 3. SWJ I/O pin availability
Available Debug ports
SWJ I/O pin assigned
PA13 /
JTMS/
SWDIO
PA14 /
JTCK/
SWCLK
PA15 /
JTDI
PB3 /
JTDO
PB4/
JNTRST
Full SWJ (JTAG-DP + SW-DP) - reset state X X X X X
Full SWJ (JTAG-DP + SW-DP) but without
JNTRST
XXXX
JTAG-DP disabled and SW-DP enabled X X
JTAG-DP disabled and SW-DP disabled Released

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

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

ST STM32F20 Series Specifications

General IconGeneral
BrandST
ModelSTM32F20 Series
CategoryMicrocontrollers
LanguageEnglish

Related product manuals