Debug Management; Introduction; Swj Debug Port (Serial Wire And Jtag); Pinout And Debug Port Pins - ST STM32F10 Series Application Note

Hardware development
Hide thumbs Also See for STM32F10 Series:
Table of Contents

Advertisement

AN2586 - Application note
4

Debug management

4.1

Introduction

The Host/Target interface is the hardware equipment that connects the host to the
application board. This interface is made of three components: a hardware debug tool, a
JTAG or SW connector and a cable connecting the host to the debug tool.
Figure 12

Figure 12. Host-to-board connection

4.2

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.
4.3

Pinout and debug port pins

The STM32F10xxx MCU is offered in various packages with different numbers of available
pins. As a result, some functionality related to the pin availability may differ from one
package to another.
4.3.1

SWJ debug port pins

Five pins are used as outputs for the SWJ-DP as alternate functions of general-purpose
I/Os (GPIOs). These pins, shown in
shows the connection of the host to the STM3210B-EVAL board.
Host PC
Debug tool
STM3210B-EVAL
Table
2, are available on all packages.
Debug management
JTAG/SW connector
Power supply
ai14374
17/23

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Questions and answers

Subscribe to Our Youtube Channel

This manual is also suitable for:

An2586

Table of Contents