ST-Link V2 Programmer and Debugger for STM32 and STM8
The ST-Link V2 is a USB programmer and debugger for the full range of STM32 (SWD interface) and STM8 (SWIM interface) microcontrollers. It connects to a target board via a 20-pin ribbon cable or individual dupont wires, and works with STM32CubeIDE, Keil MDK, IAR Embedded Workbench, and OpenOCD — covering the most widely used STM32 development environments without purchasing a more expensive JTAG probe. Both 5V and 3.3V reference voltage outputs are provided on the connector, and all I/O lines carry overcurrent protection.
- STM32 SWD support — covers the full STM32 F, L, H, G, and U series
- STM8 SWIM support — covers STM8S, STM8L, and STM8AF families
- 5V and 3.3V outputs — powers target boards directly from the programmer
- All I/O lines protected — overcurrent fusing prevents damage to host USB
- 500mA self-recovery fuse — resettable, protects the PC USB port
- Red/blue LED indicators — confirm communication and power status
| Specification | Value |
|---|---|
| Supported targets | STM32 (SWD/JTAG), STM8 (SWIM) |
| USB interface | USB 2.0 Full Speed |
| Power outputs | 5V and 3.3V (target power) |
| I/O protection | All pins protected |
| Fuse | 500mA self-recovery (PPTC) |
| Compatible software | STM32CubeIDE, Keil, IAR, OpenOCD, PlatformIO |
Does the ST-Link V2 work with STM32CubeIDE?
Yes. STM32CubeIDE detects the ST-Link V2 automatically on Windows, macOS, and Linux. Select ST-Link as the debug probe in the Run Configuration, connect SWD pins (SWDIO, SWCLK, GND, and optionally 3.3V) to the target, and click Debug. No driver installation is needed on Windows 10 or 11.
Can the ST-Link V2 program a Blue Pill (STM32F103C8T6) board?
Yes. Connect SWDIO to pin A13, SWCLK to pin A14, GND to GND, and optionally 3.3V to 3.3V on the Blue Pill header. In STM32CubeIDE or PlatformIO, select the STM32F103C8T6 target. The same four-wire connection works for flashing and live debugging with breakpoints.
Best for
STM32 Blue Pill and Black Pill programming, STM8 bootloader flashing, embedded firmware debugging with breakpoints, OpenOCD JTAG sessions, PlatformIO STM32 projects, and anyone moving from Arduino to STM32 development for the first time.
Why Kunkune
Shipped from UK stock. 60-day returns and no minimum order. Same-day dispatch on orders placed before 2pm.
Compatible STM32 boards stocked at Kunkune include the STM32F103C8T6 Blue Pill and the STM32F401/F411 Black Pill.
Buying in bulk? For orders of 10+ units or trade pricing, contact us for a custom quote.














