Debug Management; Introduction; Swd Port (Serial Wire Debug); Pinout And Debug Port Pins - ST STM32F0 Series Application Note

Hide thumbs Also See for STM32F0 Series:
Table of Contents

Advertisement

AN4080
5

Debug management

5.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, an SWD
connector and a cable connecting the host to the debug tool.
Figure 10
The STM320518_EVAL evaluation board embeds the debug tools (ST-LINK). Consequently,
it can be directly connected to the PC through a USB cable.
Figure 10. Host-to-board connection
5.2

SWD port (serial wire debug)

The STM32F0xxx core integrates the serial wire debug port (SW-DP). It is an ARM®
standard CoreSight™ debug port with a 2-pin (clock + data) interface to the debug access
port.
5.3

Pinout and debug port pins

The STM32F0xxx MCU is offered in various packages with varying numbers of available
pins.
5.3.1

Serial wire debug (SWD) pin assignment

The same SWD pin assignment is available on all STM32F0 packages.
Table 3.
SWD pin name
SWDIO
SWCLK
shows the connection of the host to the evaluation board (STM320518_EVAL).
Host PC
SWD port pins
Type
I/O
I
Doc ID 023035 Rev 2
Debug tool
Evaluation board
SWD port
Debug assignment
Serial wire data input/output
Serial wire clock
Debug management
SWD connector
Power supply
ai14866c
Pin assignment
PA13
PA14
19/29

Advertisement

Table of Contents
loading
Need help?

Need help?

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

This manual is also suitable for:

Stm32f05Stm32f06An4080

Table of Contents