ST-Link V2 pinout

ST-Link V2, clone in an aluminum case, STM32F103C8T6, 3.3 V logic, 54×18 mm, 10 pins

partly verified20.10.2026

Top view of the case, USB-A on the left, 2×5 header on the right; the pins come out of the end face, drawn from the diagram on the case, header key not checked.

BuyDownload PNG
Chip
STM32F103C8T6
Logic
3.3 V
Power
USB-A 4.75-5.25 V

Important

  • Connecting to Blue Pill (SWD header at the end): SWDIO to DIO, SWCLK to CLK, GND to GND, 3.3V to 3.3 if nothing else powers the board.
  • If Blue Pill is already powered from USB, do not connect the programmer's 3.3V pin.
  • About 100 mA from the 3.3V pin (seller): not enough for a board with Wi-Fi, motors or a backlight.
  • Do not connect 3.3V and 5.0V to the same board at once.
  • SWIM is needed only for STM8. STM32 is flashed over SWD (SWDIO, SWCLK).
  • The pin order differs between batches: check the label on the case.
  • The 3.3V and 5.0V pins are outputs only, for powering the target board.

Revisions and clones

  • Batches from around 2016: 1 RST, 2 SWDIO, 3 GND, 4 GND, 5 SWIM, 6 SWCLK, 7-8 3.3V, 9-10 5.0V. Labels on the case and board are sometimes wrong.
  • Batches from 2020: 1 RST, 2 SWCLK, 3 SWIM, 4 SWDIO, 5-6 GND, 7-8 3.3V, 9-10 5.0V (drawn here).
  • Inside is an STM32F103C8, in some batches an STM32F101C8 or an STM32 clone; the board sometimes has a separate SWD pad for reflashing the programmer itself.

All pins

LabelNumberFunctionsLimitsCheck
RSTpin 1Target NRST: resetnot from manufacturer
SWIMpin 3SWIM: STM8 single-wire debugnot from manufacturer
GNDpin 5Groundnot from manufacturer
3.3Vpin 73.3 Vpower outputnot from manufacturer
5.0Vpin 95 Vpower outputnot from manufacturer
SWCLKpin 2SWCLK: SWD clocknot from manufacturer
SWDIOpin 4SWDIO: SWD datanot from manufacturer
GNDpin 6Groundnot from manufacturer
3.3Vpin 83.3 Vpower outputnot from manufacturer
5.0Vpin 105 Vpower outputnot from manufacturer

Sources

Not verified against the manufacturer: 10 of 10 pins. The pin card says what confirms each one and where sources disagree.

Size: case 54×18×11 mm per the seller's description (ShillehTek); no drawing (approximate).

FAQ

What supply voltage does the ST-Link V2 need?
USB-A: 4.75-5.25 V. 3.3 V logic.

You might also need

Similar boards