Components / Interface and audio modules / ST-Link V2 programmer (clone)

ST-Link V2 programmer (clone)

Programmer and debugger for STM32 boards.

FunctionSWD programmer and debugger
Supply voltageUSB
InterfaceSWDIO, SWCLK, 3.3 V, GND
Logic level3.3 V
InterfacesReviewedMPN ST-LINK/V2Used in 27 projects
ST
In short

What is the ST-Link V2 programmer (clone) and what is it used for?

Programmer and debugger for STM32 boards. Makers use it for programming Blue Pill and STM32.

How it works

An STM32 running ST-Link firmware that bridges USB to the SWD debug port.

Key specifications

Interface module specValue
FunctionSWD programmer and debugger
Supply voltageUSB
InterfaceSWDIO, SWCLK, 3.3 V, GND
Logic level3.3 V

Pinout

SWDIOData
SWCLKClock
GNDGround
3.3VPower out
RSTReset
SWIMFor STM8

How to use it

Wire SWDIO, SWCLK, GND and 3.3 V to the Blue Pill's SWD header and program with STM32CubeProgrammer or OpenOCD. Do not power the target from both USB and the ST-Link at once.

Applications

Alternatives

Buy at

Common questions

What is the ST-Link V2 programmer (clone) used for?

In maker projects: programming Blue Pill and STM32.

How does the ST-Link V2 programmer (clone) work?

An STM32 running ST-Link firmware that bridges USB to the SWD debug port.

What voltage does the ST-Link V2 programmer (clone) need?

USB.

How do I connect the ST-Link V2 programmer (clone) to an Arduino or ESP32?

SWDIO, SWCLK, 3.3 V, GND. Pins: SWDIO (Data), SWCLK (Clock), GND (Ground), 3.3V (Power out), RST (Reset), SWIM (For STM8).

What can I use instead of the ST-Link V2 programmer (clone)?

J-Link EDU Mini and Raspberry Pi Debug Probe.