ST-Link V2 Programmer & Debugger
Atoms

ST-Link V2 Programmer & Debugger

Overview

ST-Link V2 USB Programmer and Debugger designed for programming and debugging STM8 and STM32 microcontrollers using SWD (Serial Wire Debug) and JTAG interfaces. A compact and widely used development tool compatible with STM32CubeIDE, Keil MDK, IAR Embedded Workbench, PlatformIO, Arduino IDE (STM32), and various embedded development environments.

The ST-Link V2 allows firmware uploading, real-time debugging, breakpoint control, memory inspection, and chip programming for STM32 development boards such as Blue Pill, Black Pill, Nucleo, Discovery, and custom embedded hardware.

Widely used by embedded engineers, students, makers, and professional developers for ARM Cortex-M development and STM32 debugging.

Specifications

ParameterValue
ModelST-Link V2
Supported MCUsSTM8 / STM32
Debug InterfaceSWD / JTAG
USB InterfaceUSB 2.0
Communication ProtocolSWIM, SWD, JTAG
Supported Voltage3.3V / 5V
Operating Voltage3.0V – 5.5V
USB ConnectorUSB Type-A
Supported PlatformsWindows / Linux / macOS
Firmware UpgradeSupported
Programming SpeedHigh-Speed Flash Programming
LED IndicatorPower & Activity LEDs
Dimensions~55mm × 18mm

Pin Configuration

PinDescription
3.3V3.3V Output
5V5V Output
GNDGround
SWCLKSWD Clock
SWDIOSWD Data
RSTReset
SWIMSTM8 Programming
TDOJTAG Output
TDIJTAG Input

Features

  • STM32 programming support — upload firmware directly
  • Real-time debugging — breakpoints and variable inspection
  • SWD & JTAG support
  • Compatible with STM32CubeIDE
  • Works with Arduino STM32 core
  • Supports STM8 and STM32
  • Fast flash programming
  • Compact USB design
  • Professional embedded debugging
  • Firmware upgrade support
  • Wide operating system compatibility
  • Low-cost development tool

ST-Link V2 vs USB-to-UART

FeatureST-Link V2USB-to-UART
Flash ProgrammingYesLimited
Real-Time DebuggingYesNo
BreakpointsYesNo
Memory InspectionYesNo
SWD SupportYesNo
Serial CommunicationNoYes
Best ForSTM32 DevelopmentUART Communication

Pin Wiring with STM32 Blue Pill

ST-Link V2Blue Pill
3.3V3.3V
GNDGND
SWCLKSWCLK
SWDIOSWDIO
RSTNRST

Pin Wiring with STM32 Black Pill

ST-Link V2Black Pill
3.3V3.3V
GNDGND
SWCLKSWCLK
SWDIOSWDIO
RSTNRST

Supported Software

  • STM32CubeIDE
  • STM32CubeProgrammer
  • Keil MDK-ARM
  • IAR Embedded Workbench
  • PlatformIO
  • Arduino IDE (STM32)
  • OpenOCD
  • VS Code Embedded Development

Common Applications

  • STM32 firmware uploading
  • Embedded debugging
  • ARM Cortex-M development
  • Bootloader flashing
  • Real-time variable monitoring
  • Educational embedded projects
  • Industrial embedded systems
  • PCB bring-up testing
  • Custom STM32 board development

Getting Started

STM32CubeIDE Setup

  1. Install STM32CubeIDE
  2. Connect ST-Link V2 to PC
  3. Install ST-Link drivers if required
  4. Connect SWD pins to STM32 board
  5. Open STM32CubeIDE
  6. Click Debug or Run
  7. Flash firmware to MCU

STM32CubeProgrammer Setup

  1. Install STM32CubeProgrammer
  2. Connect ST-Link V2
  3. Select ST-Link
  4. Connect to target MCU
  5. Erase / Program / Verify firmware

OpenOCD Example (Linux)

openocd -f interface/stlink.cfg -f target/stm32f1x.cfg

Common SWD Pins

SignalFunction
SWDIODebug Data
SWCLKDebug Clock
NRSTReset
GNDGround
3V3Reference Voltage

Package Includes

  • 1× ST-Link V2 Programmer
  • 1× Dupont Cable Set

Notes

  • Use correct target voltage (3.3V recommended)
  • Clone ST-Link devices may vary in quality
  • Some low-cost clones may require driver fixes
  • Keep SWD wires short for stable communication
  • Do not connect 5V directly to STM32 GPIO pins
  • Install latest STM32 drivers for best compatibility
  • External power may still be required for target board

Applications in Embedded Systems

The ST-Link V2 is widely used in:

  • STM32 firmware development
  • Industrial embedded systems
  • Robotics controllers
  • IoT devices
  • ARM Cortex-M debugging
  • Real-time embedded applications
  • PCB hardware testing
  • Embedded education and training

It remains one of the most essential development tools for STM32 embedded engineering due to its low cost, debugging capability, and broad STM32 ecosystem support.

$2.25$2.00Save $0.25

៛8,000

20 in stock
Quantity
1
Buy Now
🚚

Fast Shipping

Phnom Penh & provinces

↩️

7 Day Returns

Hassle-free returns