STLINK-V3 Pinout, Datasheet, Schematic [Ultimate Guide]

In this guide, you’ll find the STLINK-V3 pinout diagram (the STDC14 debug connector, the legacy 20-pin JTAG/SWD connector, the wire headers, and the bridge connectors of the STLINK-V3SET), its datasheet and schematic information, and every interface explained with its wiring and gotchas. Without further ado, let’s get right into it!

The STLINK-V3SET is ST’s modular debugger and programmer for STM32 (SWD, JTAG and SWV trace) and STM8 (SWIM). It’s a small main module (MB1441) with an STM32F723 inside, USB 2.0 High-Speed, and SWD at up to 24MHz, plus an adapter board (MB1440) that adds a legacy 20-pin connector, wire headers, and a USB-to-SPI/I2C/UART/CAN/GPIO bridge. It’s the ST-LINK V3 that replaced the ST-LINK/V2.


Here is a detailed STLINK-V3 Pinout Diagram with colored labels and legends to help you easily identify the functionalities that each pin can perform. It shows the STDC14 connector (CN1 on the MB1441 main module), which is the debug connector of every STLINK-V3 probe: the STLINK-V3SET, STLINK-V3MINIE, STLINK-V3MODS, and STLINK-V3PWR.

STLINK-V3 STDC14 pinout diagram with SWD, JTAG, SWO and Virtual COM port pin functions
STLINK-V3 STDC14 debug connector (MB1441 CN1)

Each row shows the ST signal name (as printed in UM2448), its SWD, JTAG and VCP role, the direction seen from the probe, and what it connects to on your target. The STDC14 is a 2×7, 1.27mm-pitch Samtec header: pin 1 is top-left, next to the “1” on the silkscreen, the odd pins (1, 3 … 13) run down that column, and the even pins (2 … 14) are the other column.

The MB1440 adapter board has the classic ARM 20-pin JTAG/SWD box header (CN2, 2.54mm pitch), pin-compatible with the ST-LINK/V2 ribbon cable.

STLINK-V3SET legacy 20-pin JTAG/SWD connector pinout diagram
MB1440 CN2: legacy ARM 20-pin JTAG/SWD connector

These four single-row 2.54mm headers on the MB1440 are the ones you’ll use with jumper wires: CN6 for SWD, CN3 for the Virtual COM port, CN4 for STM8 SWIM, and CN5 for CAN.

STLINK-V3SET adapter SWD, SWIM, VCP and CAN wire header pinout diagram
MB1440 wire headers: CN6 SWD, CN3 VCP, CN4 SWIM, CN5 CAN

CN9 is the 2×10, 2.0mm right-angle bridge connector that carries every bridge signal (SPI, I2C, UART, CAN, and 4 GPIOs). Mind its numbering: it runs by column, not odd/even.

STLINK-V3SET bridge connector CN9 pinout diagram with SPI, I2C, UART, CAN and GPIO pins
MB1440 CN9: bridge connector (SPI, I2C, UART, CAN, GPIO)

STLINK-V3SET bridge connector CN7 pinout diagram with UART, I2C and CAN pins
MB1440 CN7: UART/I2C/CAN bridge connector (2×5, 1.27mm)

STLINK-V3SET bridge connector CN8 pinout diagram with SPI and GPIO pins
MB1440 CN8: SPI/GPIO bridge connector (2×5, 1.27mm)

Every connector is drawn the same way round as on the board photo, with a red arrow from the photo to the drawing and pin 1 marked with a red ring. The red T_VCC boxes are sense inputs, the dashed red boxes are reserved pins you must leave unconnected, and the numbered badges point to the notes under each diagram.

Buy an STLINK-V3: You can get the STLINK-V3SET kit from Amazon or AliExpress, or the smaller and cheaper STLINK-V3MINIE from Amazon or AliExpress. Both are genuine ST probes with SWD, JTAG, SWO trace, and a Virtual COM port; the STLINK-V3SET adds STM8 SWIM, the 20-pin adapter, and the bridge.

Download STLINK-V3 Pinout Diagrams (Full Resolution)

All 6 STLINK-V3SET pinout diagrams (STDC14, legacy 20-pin JTAG/SWD, wire headers, and the CN9, CN7 and CN8 bridge connectors) in full resolution (5120 px WebP), in one ZIP file. Print them, zoom in, or keep them next to your bench. Please consider supporting my work if it helped you.


ST doesn’t publish a classic “datasheet” for the STLINK-V3SET. Its specifications are in the DB3692 data brief, and the connector pinouts, jumpers and LED states are in the UM2448 user manual. Here are the official documents you’ll need, all from st.com:

DocumentIDRevisionWhat You’ll Use It ForLink
STLINK-V3SET data brief (the “datasheet”)DB3692Rev 3 (Jul 2024)Features, speeds, voltage ranges, order codePDF
STLINK-V3SET user manualUM2448Rev 9 (Apr 2025)Every connector pinout (Tables 6–14), cable mappings (Tables 15 and 16), jumpers (Tables 3 and 4)PDF
Overview of ST-LINK derivativesTN1235Rev 7 (Jan 2025)COM LED states, firmware update, V2 vs V3 family featuresPDF
SWD multidrop for STM32 with ST-LINKAN6382Rev 1 (Nov 2025)Debugging several STM32s on one SWD busPDF
STLINK-V3MINIE user manualUM2910Rev 5 (Jul 2026)The smaller V3 probe (same STDC14 pinout)PDF

Which document do I need? UM2448 for the pinouts and jumpers (everything in this article’s tables comes from it), DB3692 for the specs, and TN1235 for the LED codes and firmware updates. All of them are listed on ST’s STLINK-V3SET product page, where the kit is marked ACTIVE (checked November 2026).


ST doesn’t publish a schematic for the STLINK-V3SET. Its product page has no schematic or CAD pack (only the plastic casing files), and people have been asking for one on the forums since 2018. Here’s what UM2448 does show about the hardware:

  • Block diagram and layouts: the MB1441 main module (STM32F723 probe MCU, USB High-Speed, STDC14) and the MB1440 adapter, with top-side layout drawings that mark pin 1 of every connector (UM2448 Figures 10–12).
  • Connector tables: STDC14 (Table 6), the legacy 20-pin CN2 (Table 7), the CN3–CN6 wire headers (Tables 8–11), and the CN7, CN8 and CN9 bridge connectors (Tables 12–14), plus the MIPI-10 and MIPI-20 cable mappings (Tables 15 and 16).
  • Jumper tables: MB1441 JP1–JP3 (Table 3) and MB1440 JP1–JP12 (Table 4), which set the JTAG clock loopback, the 5v feed for SWIM, and the CAN and I2C options.
  • Level shifting: SWD, JTAG, VCP and the bridge run at 3.3v with 5v-tolerant inputs; the SWIM level shifters on the MB1440 handle 1.65v to 5.5v.

If you want to see a real STLINK-V3 circuit, the closest official one is the STLINK-V3E that ST draws on the schematic of newer Nucleo-144 boards (for example the NUCLEO-H723ZG schematic on its st.com page). It’s the same STM32F723-based design without the adapter, but it’s not the STLINK-V3SET itself.


The STLINK-V3SET comes as a kit: the MB1441 main module in a plastic case, the MB1440 adapter board, three STDC14 flat cables, and a USB cable. Here are its specifications from DB3692 and UM2448.

STLINK-V3SET debugger/programmer kit: MB1441 main module and MB1440 adapter board

Get an STLINK-V3: The STLINK-V3SET is the one I recommend when you need SWIM, JTAG on a 20-pin header, or the bridge; grab it from Amazon or AliExpress. For STM32 SWD and VCP only, the STLINK-V3MINIE from Amazon or AliExpress does the job for less.

ItemSTLINK-V3SET
Order codeSTLINK-V3SET (MB1441 main module + MB1440 adapter board)
Probe MCUSTM32F723 (Arm Cortex-M7), running ST’s STLINK-V3 firmware
Host interfaceUSB 2.0 High-Speed, Micro-B connector, powered by USB
STM32 interfacesSWD up to 24MHz, SWO (SWV trace) up to 16MHz, JTAG up to 21MHz (no daisy chain, no TRST)
STM8 interfaceSWIM low-speed and high-speed (needs the MB1440 adapter)
Virtual COM port732bps to 16Mbps (STDC14 pins 13/14, MB1440 CN3)
Bridge (MB1440)USB to SPI, I2C, CAN, UART (2nd VCP with the bridge firmware), and 4 GPIOs
Target voltageSWD/JTAG/VCP/bridge: 3.0v to 3.6v, 5v-tolerant inputs (down to 1.65v with B-STLINK-VOLT or B-STLINK-ISOL); SWIM: 1.65v to 5.5v
Powers the targetNo: T_VCC is a sense input on every connector
ConnectorsMB1441: STDC14 (2×7, 1.27mm). MB1440: STDC14, 20-pin JTAG/SWD (2.54mm), CN3–CN6 wire headers, CN7/CN8 (2×5, 1.27mm), CN9 (2×10, 2.0mm)
Cables includedSTDC14 to STDC14, STDC14 to MIPI-10, STDC14 to MIPI-20 (all 1.27mm), USB cable
LEDsCOM (red/green/orange status) and PWR (red, 5v enabled)
Drag-and-drop programmingYes, USB mass storage (removed by the bridge firmware that adds the 2nd VCP)
Firmware updateOver USB: STSW-LINK007 or STM32CubeProgrammer
Add-on boardsB-STLINK-VOLT (1.65v–3.6v level shifter), B-STLINK-ISOL (adds galvanic isolation)
  • The STLINK-V3SET debugs and programs STM32 over SWD or JTAG and STM8 over SWIM.
  • SWD runs at up to 24MHz, JTAG at up to 21MHz, and the SWO trace at up to 16MHz.
  • The STDC14 pinout is: 3 T_VCC, 4 SWDIO/TMS, 5 GND, 6 SWCLK/TCK, 7 GND, 8 SWO/TDO, 9 RTCK, 10 TDI, 11 GNDDetect, 12 NRST, 13 VCP_RX, 14 VCP_TX; pins 1 and 2 are reserved.
  • The minimal SWD wiring is T_VCC, GND, SWDIO and SWCLK, plus NRST for connect under reset and SWO for printf trace.
  • The STLINK-V3SET does not power the target: T_VCC only senses the target voltage.
  • Plain V3SET targets must run at 3.0v to 3.6v; for 1.65v–3.0v targets you need the B-STLINK-VOLT or B-STLINK-ISOL add-on.
  • The Virtual COM port runs at 732bps to 16Mbps, and its pins are named from the target’s side: T_VCP_TX goes to the target’s TX.
  • The legacy 20-pin connector (MB1440 CN2) is ST-LINK/V2-compatible, but pin 3 (TRST) is not driven.
  • STM8 SWIM is on MB1440 CN4: 1 T_VCC, 2 SWIM_DATA, 3 GND, 4 NRST, for 1.65v to 5.5v targets.
  • The MB1440 bridge gives the PC SPI, I2C, CAN, a 2nd UART and 4 GPIOs through ST’s bridge API.

Not sure which STLINK-V3 pins to connect? Here are the connections I’d use for each job, and why.

Use CaseSTLINK-V3 PinsWhy
Flash and debug any STM32 (minimum)STDC14 3 T_VCC, 4 SWDIO, 6 SWCLK, 5 GND (or CN6 1, 4, 2, 3)SWD needs 2 signals; T_VCC tells the probe the target voltage
Connect under resetAdd STDC14-12 / CN6-5 NRSTNeeded when your code reuses PA13/PA14 or sleeps
printf over SWOAdd STDC14-8 / CN6-6 SWO → PB3Serial Wire Viewer trace on Cortex-M3/M4/M7/M33
printf over the Virtual COM portSTDC14-14 / CN3-1 T_VCP_TX → target TX, STDC14-13 / CN3-2 T_VCP_RX → target RXA USB serial port on the PC; TX goes to TX
Board with an ARM 10-pin Cortex debug headerSTDC14 → MIPI-10 cableSTDC14 pins 3–12 = MIPI-10 pins 1–10 (no VCP)
Board with an ARM 20-pin JTAG headerMB1440 CN2 + 20-pin ribbonSame pinout as the ST-LINK/V2 (no TRST)
STM8 programmingMB1440 CN4: 1 T_VCC, 2 SWIM, 3 GND, 4 NRSTNeeds JP3, JP4, JP6 on MB1440 and JP2 on MB1441 closed
Talk to a target over SPI/I2C/CAN from the PCMB1440 CN7, CN8 or CN9Bridge interface (STM32CubeProgrammer or ST’s bridge API)
PinReasonWhat to Do
STDC14-3, CN2-1, CN4-1, CN6-1 T_VCCSense input, not a supply outputWire it to the target’s VDD; power the target separately
STDC14-1, STDC14-2ReservedLeave them unconnected
STDC14-13/14, CN3 VCPNamed from the target’s side (TX → TX)Don’t cross them like a normal UART
CN7/CN9 UART_TX/RXNamed from the probe’s side (TX → RX), the opposite of the VCPCross them as usual
CN9-6, CN9-15“Reserved” (5V on the silkscreen)Never connect them
CN2-3 (TRST)Not driven by the V3Use NRST; TRST-only JTAG setups won’t work
STDC14-9 RTCKJTAG clock return, looped back by MB1441 JP1Leave it unconnected unless you open JP1 (VOLT/ISOL add-ons)
STDC14-11 GNDDetectPulled to GND by the firmwareTreat it as GND (a target can use it to detect the probe)

The 14 pins of the STLINK-V3 STDC14 connector, plus the extra connectors on the STLINK-V3SET adapter board, are divided into the following groups based on the interface they’re used for. Some pins do two jobs: STDC14 pin 4 is SWDIO and JTAG TMS, pin 6 is SWCLK and TCK, and pin 8 is SWO and TDO.

We’ll discuss each pin group in the following sections one by one in more detail.


The STLINK-V3 SWD pins are STDC14-4 (T_SWDIO) and STDC14-6 (T_SWCLK), which go to PA13 and PA14 on the STM32. SWD runs at up to 24MHz, and the SWO trace (STDC14-8) at up to 16MHz. On the STLINK-V3SET adapter, the same signals are on the 20-pin CN2 and the 6-pin CN6 wire header.

STLINK-V3 Minimal SWD Wiring: T_VCC → target VDD, SWDIO → PA13, SWCLK → PA14, GND → GND, and NRST → NRST for connect under reset.

SignalSTDC14 PinCN6 PinCN2 PinConnect To (STM32)Needed?
T_VCC311Target VDD (3.3v)Yes: the probe reads the target voltage here
T_SWDIO447PA13 (SWDIO)Yes
T_SWCLK629PA14 (SWCLK)Yes
GND5, 734–20 evenGNDYes
T_NRST12515NRSTRecommended (connect under reset)
T_SWO8613PB3 (TRACESWO)Optional (printf trace)

With jumper wires on CN6, keep them short and drop the SWD frequency in your IDE if the connection is flaky: 24MHz is meant for the flat cables. ST also recommends the flat ribbon over loose wires for anything fast.

Here’s the short C code that sends printf() to the SWO pin on an STM32 Cortex-M3/M4/M7/M33 (STM32CubeIDE project, HAL):

In CubeMX, set SYS → Debug to “Trace Asynchronous Sw”. In the debug configuration, enable Serial Wire Viewer (SWV) and set the core clock to your real SystemCoreClock, then open the SWV ITM Data Console, enable port 0, and press “Start Trace”.

Note: If the SWV console stays empty, the core clock in the debug configuration doesn’t match the MCU’s real clock (the SWO baud rate is derived from it), or PB3 is used for something else in your code. Cortex-M0/M0+ parts (STM32F0, G0, L0, C0) have no SWO at all.

Learn more in our STM32 SWD Debugging Tutorial.


The STLINK-V3 JTAG interface uses STDC14 pins 4 (TMS), 6 (TCK), 8 (TDO), 10 (TDI) and 9 (RTCK), plus NRST on pin 12. It runs at up to 21MHz. The STLINK-V3SET does not support JTAG daisy chains, and it has no TRST signal.

SignalSTDC14 PinCN2 PinDirectionTarget JTAG PinTypical STM32 Pin
T_JTMS47In/outJTMSPA13
T_JCLK69OutJTCKPA14
T_JTDO813InJTDOPB3
T_JTDI105OutJTDIPA15
T_JRCLK911InRTCK (optional)–
T_NRST1215OutNRSTNRST

The probe needs a JTAG return clock. By default, jumper JP1 on the MB1441 loops TCK back to RTCK on the probe itself, so you leave RTCK unconnected. To reach the highest JTAG speeds, you can open JP1 and bring the return clock from the target on STDC14 pin 9 instead (UM2448 section 7.4.2).

Note: With the B-STLINK-VOLT or B-STLINK-ISOL add-on stacked on the probe, open JP1 on the MB1441 and close JP1 on the add-on (or loop TCK back to RTCK on your target). Otherwise JTAG fails with “no device found” (ST Community). The V3 also has no TRST, so JTAG setups that rely on it need NRST instead (ST Community).


The STLINK-V3 Virtual COM port (VCP) is on STDC14-13 (T_VCP_RX) and STDC14-14 (T_VCP_TX), and on the STLINK-V3SET adapter’s CN3 (pin 1 T_VCP_TX, pin 2 T_VCP_RX). It shows up on your PC as a USB serial port and runs at 732bps to 16Mbps.

SignalSTDC14 PinCN3 PinDirection (Probe)Connect To
T_VCP_TX141InTarget UART TX
T_VCP_RX132OutTarget UART RX
GND5, 7––Target GND (CN6-3 or any GND)

Note: The VCP names are from the target’s side, so you wire TX to TX and RX to RX: T_VCP_TX receives what your MCU transmits (UM2448 section 7.4.4). This is the most common STLINK-V3 wiring mistake, and crossing the wires “as usual” gives you nothing on the terminal (ST Community). The bridge UART on CN7/CN9 uses the opposite convention, see below.

Here’s the same printf() retargeting, sent to the UART wired to the VCP instead (USART2 at 115200 baud, as an example):

Open the “STMicroelectronics STLink Virtual COM Port” in any serial terminal (PuTTY, Tera Term, or the STM32CubeIDE console) at the same baud rate.

Learn more in our STM32 UART Tutorial series.


The STLINK-V3SET programs STM8 microcontrollers over SWIM on the MB1440 adapter’s CN4 header: 1 T_VCC, 2 SWIM_DATA, 3 GND, 4 T_NRST. SWIM supports 1.65v to 5.5v targets. The STDC14 connector has no SWIM pin, and the STLINK-V3MINIE, V3MODS and V3PWR can’t program STM8 at all.

CN4 PinSignalConnect To (STM8)Note
1T_VCCMCU VDDMust be connected: it powers the 680Ω pull-up
2SWIM_DATASWIM pin (PD1 on STM8S, PA0 on STM8L)680Ω pull-up on the adapter; no external pull-up needed
3GNDGND
4T_NRSTNRST

SWIM needs four jumpers set, because it’s off by default:

BoardJumperSetting for SWIMWhy
MB1441JP2ON (default)5v to the module connectors
MB1440JP3ON (default in UM2448 Rev 9)Adapter takes 5v from the module
MB1440JP4Close it (default OFF)Enables the SWIM input
MB1440JP6Close it (default OFF)Enables the SWIM output

Note: UM2448 says “JP3, JP4 and JP6 must be ON” for SWIM in section 7.4.3, while its Table 4 lists JP4 and JP6 as OFF. Both are right: Table 4 shows the default (SWIM disabled), so close JP4 and JP6 when you use SWIM. Users who fixed “cannot communicate over SWIM” did exactly that, and fed the target VCC to CN4 pin 1 (ST Community). Program STM8 parts with STVP-STM8 or STM32CubeProgrammer.


The STLINK-V3 reset output is STDC14-12 (T_NRST), wired to the STM32’s NRST pin. On the STLINK-V3SET adapter it’s also on CN2-15, CN6-5, and CN4-4 (for STM8).

NRST is what makes “Connect under reset” work: the probe holds the MCU in reset, connects to the debug port, and only then lets your code run. That’s your way back in when the firmware has locked SWD out, for example:

  • Your code configures PA13/PA14 as GPIO (or another alternate function), so SWD stops working right after reset.
  • The MCU goes into Stop, Standby or Shutdown mode, and the debug port turns off with it.
  • The firmware disables the SWJ debug port.

In OpenOCD, the matching setting is reset_config srst_only srst_nogate connect_assert_srst (OpenOCD ticket).

Note: Still can’t connect with NRST wired? Set BOOT0 = 1 and reset, so the MCU starts the system bootloader instead of your code, then erase the flash in STM32CubeProgrammer.

Learn more in our STM32 Boot Modes Tutorial.


The STLINK-V3 does not power your target board. It runs from your PC’s USB, and its T_VCC pin (STDC14-3, CN2-1, CN4-1, CN6-1) is an input that senses the target voltage. UM2448 says it plainly: “The STLINK-V3SET product does not provide the power supply to the target application.”

PinNameDirectionWhat It Does
STDC14-3, CN2-1, CN6-1T_VCCInputTarget VDD sense: sets the level shifters and reports the target voltage
CN4-1T_VCCInputSWIM reference, and powers the 680Ω SWIM pull-up
CN5-1T_CAN_VCCInputI/O voltage for the direct CAN connection
STDC14-5, 7GND–Ground; connect at least one
STDC14-11GNDDetect–Pulled to GND by the firmware; lets a target detect the probe
STDC14-1, 2Reserved–Leave unconnected

That’s why the most common first error is “Target voltage 0v” or “No STM32 target found”: T_VCC isn’t wired to the target’s 3.3v, or the target simply has no power (ST Community, ST Community). Power your board from its own supply or USB, wire T_VCC to its VDD, and the probe reads the right voltage.

Note: Plain STLINK-V3SET targets must run at 3.0v to 3.6v. The inputs are 5v tolerant, but that doesn’t make it a 5v probe: a user who fed 5v to the target voltage pin couldn’t connect (ST Community). For a 1.8v target, stack the B-STLINK-VOLT (1.65v–3.6v) or the B-STLINK-ISOL (adds galvanic isolation) on the probe.

About the “5v on target VCC” claim: Tag-Connect’s STLINK-V3SET cable page says the V3SET “can only supply the target with 5V” (Tag-Connect). That contradicts UM2448, ST’s staff on the forum, and UM2910 for the V3MINIE (“does not provide any power supply to the target”). Don’t count on any 5v from the STDC14 connector. The 5v you’ll see on the STLINK-V3SET is internal: MB1441 JP2 feeds 5v to the adapter for SWIM (the red PWR LED), and CN9 pins 6 and 15 are “Reserved” pins with 5V on the silkscreen. Leave both alone.


The STLINK-V3SET adapter turns the probe into a USB-to-SPI/I2C/UART/CAN/GPIO bridge. The signals are on CN9 (all of them, 2.0mm pitch), CN7 (UART, I2C, CAN, 1.27mm), CN8 (SPI and GPIO, 1.27mm), and CN5 (direct CAN). STM32CubeProgrammer uses the bridge to program targets through their SPI, I2C and CAN bootloaders.

FunctionSignalsCN9 PinsCN7 PinsCN8 Pins
SPINSS, MOSI, MISO, SCK1, 2, 3, 4–1, 3, 5, 7
I2CSCL, SDA7, 108, 2–
UARTTX, RX, RTS, CTS19, 18, 17, 203, 5, 7, 1–
CAN (logic level)TX, RX9, 84, 6–
GPIOGPIO0–GPIO311, 12, 13, 14–2, 4, 6, 8
GND5, 1699
ReservedDo not connect6, 151010
  • CN9 numbering runs by column, not odd/even: pins 1–10 are the inner column and 11–20 the outer one, with 1 and 11 at the bottom when the board is upright (UM2448 Table 14). Read the diagram, not your 2×10 habits.
  • Bridge UART is named from the probe’s side: UART_TX is the probe’s output (to the target’s RX). That’s the opposite of the VCP, and it caught out at least one V3MODS board designer (ST Community). The bridge UART needs the bridge firmware (selected in STLinkUpgrade): it adds a second VCP and removes the drag-and-drop drive, and you can switch back any time.
  • I2C pull-ups: close the two JP10 jumpers to enable 680Ω pull-ups, and then T_VCC must be supplied on one of the MB1440 connectors.
  • CAN needs a transceiver on CN7/CN9: those pins are logic-level TX/RX. Only CN5 connects two logic-level CAN nodes directly (target TX → CN5 TX, target RX → CN5 RX), with JP7 closed and the CAN I/O voltage fed to CN5-1 (ST Community).
  • GPIO0–3 work only through ST’s bridge API (the C++ library that ships with STM32CubeProgrammer), not through a COM port or a terminal (ST Community).
  • For fast SPI or UART, use a flat ribbon on CN7 or CN8 with the unused wires tied to GND at the target; wire clips on CN9 are fine for slow tests.

Learn more in our STM32 SPI Tutorial series.


Here are the three hookups most readers need: an STM32 board over SWD, the Virtual COM port to a target UART, and an STM8 over SWIM.

Most STM32 boards (Black Pill, Blue Pill, your own PCB) have a 4-pin SWD header: 3.3v, DIO (PA13), CLK (PA14), GND. Use the STLINK-V3SET adapter’s CN6 wire header:

MB1440 CN6 PinBoard SWD HeaderNote
1 T_VCC3.3 / 3V3Sense only: the board must be powered from its own USB or supply
4 T_SWDIODIO / SWDIO (PA13)
2 T_SWCLKCLK / SCK (PA14)
3 GNDGND
5 T_NRSTR / NRST (if the board brings it out)Optional, for connect under reset

Power the board first (USB), then select “ST-LINK” and “SWD” in STM32CubeIDE, STM32CubeProgrammer, or PlatformIO. Our Black Pill F401CE pinout guide has the board’s SWD header and boot-pin details. On a board with an ARM 10-pin Cortex debug header (1.27mm), skip the wires and use the STDC14 to MIPI-10 cable straight from the main module.

STLINK-V3 PinTargetNote
STDC14-14 / CN3-1 T_VCP_TXUART TX (e.g. PA2 for USART2)TX to TX
STDC14-13 / CN3-2 T_VCP_RXUART RX (e.g. PA3)RX to RX
Any GND (CN6-3)GNDShare a ground
T_VCC (CN6-1)VDDThe level shifters need it

The STDC14-to-STDC14 cable carries the VCP too, so a custom board with an STDC14 footprint gets debug and serial on one connector. The MIPI-10 cable doesn’t carry the VCP (pins 13 and 14 aren’t in it).

MB1440 CN4 PinSTM8 PinNote
1 T_VCCVDDRequired (feeds the SWIM pull-up)
2 SWIM_DATASWIM (PD1 on STM8S)
3 GNDGND
4 T_NRSTNRST

Close JP4 and JP6 on the MB1440, check that JP3 (MB1440) and JP2 (MB1441) are ON, power the STM8 board, and connect from STVP or STM32CubeProgrammer with the SWIM port.


The STLINK-V3SET has no buttons. It has two LEDs and a handful of jumpers you’ll actually touch. The COM LED tells you what the probe is doing (TN1235 section 6):

COM LEDMeaning
Blinking redFirst USB enumeration, or firmware being programmed
RedIdle: USB is up, waiting for an application to connect
Red / green alternatingData being exchanged with the target
GreenThe last communication was successful
OrangeThe last communication failed
Red, then orange blinkingUSB port detection failure

The PWR LED (red) shows that 5v is enabled on the module’s connectors; it only matters with the adapter or an add-on board plugged in.

JumperDefaultWhat It Does
MB1441 JP1ONJTAG clock loopback (RTCK = TCK); open it with B-STLINK-VOLT/ISOL
MB1441 JP2ON5v to the module connectors (SWIM, add-on boards)
MB1441 JP3OFFClose it to force the USB loader (firmware recovery)
MB1440 JP3ONAdapter takes 5v from the module (needed for SWIM)
MB1440 JP4, JP6OFFClose both to enable SWIM
MB1440 JP5ONJTAG clock loopback on the adapter
MB1440 JP7OFFClose it to use CAN through CN5
MB1440 JP8, JP9ONInternal 5v feeds
MB1440 JP10OFFClose for 680Ω I2C pull-ups (T_VCC must be supplied)
MB1440 JP1, JP2, JP11, JP12–GND posts, handy for a scope ground clip

Getting the STLINK-V3 running takes three things: the USB driver, up-to-date probe firmware, and a tool that talks to it. Here’s the order I’d do it in:

  1. Install the driver: on Windows, install STSW-LINK009 (STM32CubeIDE and STM32CubeProgrammer install it for you). Linux and macOS need no driver.
  2. Update the firmware: use the “Firmware upgrade” button in STM32CubeProgrammer, or the stand-alone STSW-LINK007 (STLinkUpgrade). The same tool switches between the standard firmware (with drag-and-drop) and the bridge firmware (with the 2nd VCP).
  3. Wire the target with the minimal SWD hookup above, and power the target.
  4. Connect: in STM32CubeProgrammer pick “ST-LINK”, port “SWD”, and click Connect. It reads the target voltage, the chip ID and the flash. In STM32CubeIDE, the debug configuration uses the ST-LINK GDB server by default.
  5. Other tools: OpenOCD ( -f interface/stlink.cfg), the open-source stlink tools ( st-flash, st-info --probe, which support the V3SET, V3MINI and V3MODS), Keil MDK, IAR EWARM, PlatformIO and the Arduino STM32 core all support the STLINK-V3.

Why does my STLINK-V3 say “Target voltage 0v” or “No STM32 target found”? T_VCC isn’t wired to the target’s VDD, or the target has no power. The probe never powers the target: power the board and wire T_VCC.

Why do I get nothing on the Virtual COM port? You probably crossed TX and RX. The VCP pins are named from the target’s side: T_VCP_TX goes to the target’s TX, and T_VCP_RX to its RX.

Can I use my STLINK-V3SET with a 5v or 1.8v target? Not directly. The plain V3SET supports 3.0v to 3.6v targets. Use the B-STLINK-VOLT or B-STLINK-ISOL add-on for targets down to 1.65v. Only SWIM (STM8) works up to 5.5v.

Why won’t SWIM connect to my STM8? SWIM is disabled by default. Close JP4 and JP6 on the MB1440, check JP3 (MB1440) and JP2 (MB1441), and feed the target VCC to CN4 pin 1.

Why did JTAG stop working when I added the B-STLINK-VOLT? JP1 on the MB1441 must be opened and the TCK loopback done on the add-on (its JP1 closed) or on the target.

Which way does the STDC14 cable go? Pin 1 is top-left on the MB1441, next to the “1” on the silkscreen, and the cable’s key fits only one way. On your board, match pin 1 of the footprint to the cable’s marked wire.

Why can’t I connect anymore after flashing my code? Your code probably reuses PA13/PA14 or enters a low-power mode. Use “Connect under reset” with NRST wired, or boot with BOOT0 = 1 and erase the flash.

Why is my drag-and-drop drive gone? You installed the bridge firmware (2nd VCP). Switch back to the standard firmware in STLinkUpgrade to get the mass storage drive back.

Why is the COM LED orange? The last communication with the target failed: check the wiring, the target power, T_VCC, and whether the firmware has locked out the debug pins.


Every STLINK-V3 probe uses the same STDC14 pinout, so the table above works for all of them. Here’s how they differ (DB3692, UM2910, DB4859, ST product pages, and TN1235):

FeatureSTLINK-V3SETSTLINK-V3MINIESTLINK-V3MODSSTLINK-V3PWRST-LINK/V2
FormModular kit (main module + adapter)Tiny probe, 15×42mmModule you solder onto your PCB (~15×30mm)Probe + power analyzerProbe in a plastic case
USBMicro-B, High-SpeedUSB-C, High-SpeedMicro-B, High-SpeedUSB-C, High-SpeedMini-B, Full-Speed
Debug connectorSTDC14 + 20-pin + wire headersSTDC14 + card-edge padsCastellated padsSTDC1420-pin JTAG + 4-pin SWIM
Max SWD / JTAG24MHz / 21MHz24MHz / 21MHzSWD + JTAG10MHz / 20MHz4MHz / 9MHz
Virtual COM portYes, up to 16MbpsYes, up to 16MbpsYesYesNo
STM8 SWIMYes (adapter)NoNoNoYes
Bridge (SPI/I2C/CAN/GPIO)Yes (adapter)NoYesYesNo
Target voltage3.0v–3.6v (1.65v with VOLT/ISOL)1.65v–3.6v3.0v–3.6v1.6v–3.6v1.65v–3.6v
Powers the targetNoNo5v output up to 200mAYes: 1.6v–3.6v, 500mA, measuredNo

Which one should you buy? For STM32 work, the STLINK-V3MINIE is the best value: same speeds, a VCP, USB-C, and it handles 1.65v targets without an add-on. Get the STLINK-V3SET when you need STM8 SWIM, the legacy 20-pin cable, or the USB bridge. The STLINK-V3MODS is for building a debugger into your own product, and the STLINK-V3PWR is for low-power work, since it powers the target and measures its current. The ST-LINK/V2 is the older choice: slower, no VCP, but it still does JTAG and SWIM.


Here is every STLINK-V3SET connector pin in physical order, with its SWD, JTAG and VCP role, the direction seen from the probe, and a short description.

2×7, 1.27mm (Samtec FTSH-107-01-L-DV-K-A). Pin 1 is top-left with the odd pins in one column. STDC14 pins 3–12 are the ARM MIPI-10 pins 1–10 (MIPI-10 pin = STDC14 pin − 2).

Click to expand the full pin table (14 pins)
PinSignalSWDJTAGDirectionMIPI-10 PinDescription
1Reserved––––Do not connect.
2Reserved––––Do not connect.
3T_VCCVCCVCCIn (sense)1Target VDD sense; the probe never powers the target.
4T_JTMS/T_SWDIOSWDIOTMSIn/out2SWD data (JTAG TMS), to PA13.
5GNDGNDGND–3Ground.
6T_JCLK/T_SWCLKSWCLKTCKOut4SWD clock (JTAG TCK), to PA14.
7GNDGNDGND–5Ground.
8T_JTDO/T_SWOSWOTDOIn6SWV trace (JTAG TDO), from PB3.
9T_JRCLK–RTCKIn7JTAG return clock; only needed with MB1441 JP1 open.
10T_JTDI–TDIOut8JTAG TDI, to PA15.
11GNDDetectGNDGND–9Pulled to GND by the firmware; target can detect the probe.
12T_NRSTNRSTNRSTOut10Target reset, for connect under reset.
13T_VCP_RX––Out–VCP data to the target’s RX.
14T_VCP_TX––In–VCP data from the target’s TX.

2×10, 2.54mm box header, ARM 20-pin layout. Pin 1 is on the key-notch row and marked ▲; odd pins run along that row. At least one even GND pin must be connected.

Click to expand the full pin table (20 pins)
PinSignalARM 20-Pin NameDescription
1T_VCCVTrefTarget VDD sense.
2NCVTref / NCNot connected.
3NCnTRSTTRST is not managed by the STLINK-V3.
4GNDGNDGround.
5T_JTDITDIJTAG TDI, to PA15.
6GNDGNDGround.
7T_JTMS/T_SWDIOTMS/SWDIOSWD data (JTAG TMS), to PA13.
8GNDGNDGround.
9T_JCLK/T_SWCLKTCK/SWCLKSWD clock (JTAG TCK), to PA14.
10GNDGNDGround.
11T_JRCLKRTCKJTAG return clock (optional).
12GNDGNDGround.
13T_JTDO/T_SWOTDO/SWOSWV trace (JTAG TDO), from PB3.
14GNDGNDGround.
15T_NRSTnSRSTTarget reset.
16GNDGNDGround.
17NCDBGRQNot connected.
18GNDGNDGround.
19NCDBGACKNot connected.
20GNDGNDGround.

Single-row 2.54mm male headers. Pin 1 is the square pad: at the right end of CN3, CN4 and CN6 seen from the top, and at the left end of CN5.

Click to expand the full pin table (15 pins)
HeaderPinSignalDirectionDescription
CN3 (VCP)1T_VCP_TXInFrom the target’s UART TX.
CN3 (VCP)2T_VCP_RXOutTo the target’s UART RX.
CN4 (SWIM)1T_VCCIn (sense)STM8 VDD; required, feeds the 680Ω pull-up.
CN4 (SWIM)2SWIM_DATAIn/outSTM8 SWIM line, 680Ω pull-up on board.
CN4 (SWIM)3GND–Ground.
CN4 (SWIM)4T_NRSTOutSTM8 reset.
CN5 (CAN)1T_CAN_VCCInCAN I/O voltage from the target.
CN5 (CAN)2T_CAN_TXInFrom the target’s CAN_TX (no transceiver; JP7 closed).
CN5 (CAN)3T_CAN_RXOutTo the target’s CAN_RX.
CN6 (SWD)1T_VCCIn (sense)Target VDD sense.
CN6 (SWD)2T_SWCLKOutSWD clock, to PA14.
CN6 (SWD)3GND–Ground.
CN6 (SWD)4T_SWDIOIn/outSWD data, to PA13.
CN6 (SWD)5T_NRSTOutTarget reset.
CN6 (SWD)6T_SWOInSWV trace, from PB3 (optional).

2×10, 2.0mm right-angle. Numbered by column: 1–10 inner column, 11–20 outer column, pins 1 and 11 at the bottom with the board upright.

Click to expand the full pin table (20 pins)
PinSignalDirectionDescription
1SPI_NSSOutSPI chip select.
2SPI_MOSIOutSPI data to the target.
3SPI_MISOInSPI data from the target.
4SPI_SCKOutSPI clock.
5GND–Ground.
6Reserved–5V on the silkscreen; do not connect.
7I2C_SCLIn/outI2C clock (680Ω pull-up with JP10 closed).
8CAN_RXInCAN logic RX, from a transceiver.
9CAN_TXOutCAN logic TX, to a transceiver.
10I2C_SDAIn/outI2C data (680Ω pull-up with JP10 closed).
11Bridge_GPIO0In/outBridge GPIO, through ST’s bridge API.
12Bridge_GPIO1In/outBridge GPIO.
13Bridge_GPIO2In/outBridge GPIO.
14Bridge_GPIO3In/outBridge GPIO.
15Reserved–5V on the silkscreen; do not connect.
16GND–Ground.
17UART_RTSOutBridge UART flow control (probe RTS).
18UART_RXInBridge UART, from the target’s TX.
19UART_TXOutBridge UART, to the target’s RX.
20UART_CTSInBridge UART flow control (probe CTS).

2×5, 1.27mm. CN7 pin 1 is top-right and CN8 pin 1 is bottom-left on the board (UM2448 Figure 10).

Click to expand the full pin table (10 pins)
PinCN7 SignalCN7 DescriptionCN8 SignalCN8 Description
1UART_CTSBridge UART CTS (in).SPI_NSSSPI chip select (out).
2I2C_SDAI2C data.Bridge_GPIO0Bridge GPIO.
3UART_TXBridge UART TX (out, to target RX).SPI_MOSISPI data out.
4CAN_TXCAN logic TX (to a transceiver).Bridge_GPIO1Bridge GPIO.
5UART_RXBridge UART RX (in, from target TX).SPI_MISOSPI data in.
6CAN_RXCAN logic RX (from a transceiver).Bridge_GPIO2Bridge GPIO.
7UART_RTSBridge UART RTS (out).SPI_SCKSPI clock (out).
8I2C_SCLI2C clock.Bridge_GPIO3Bridge GPIO.
9GNDGround.GNDGround.
10ReservedDo not connect.ReservedDo not connect.

Wrap Up

To conclude this guide article, the STLINK-V3SET is a very solid debugger and programmer for STM32 and STM8: fast SWD and JTAG, SWO trace, a Virtual COM port, SWIM, and a USB bridge in one kit, and its STDC14 pinout is the same on every STLINK-V3 probe. Just remember the gotchas: T_VCC only senses the target voltage, the VCP pins go TX to TX, SWIM needs JP4 and JP6 closed, and CN9 is numbered by column.

I hope you’ve found this guide helpful for using STLINK-V3 in your next project. For more boards, check out the Pinouts, Datasheets & Schematic Diagrams Library. Follow this STM32 Series of Tutorials to learn more about programming STM32 microcontrollers.

If you’re just getting started with STM32, you need to check out the STM32 Getting Started Ultimate Guide below.

Getting Started With STM32 ARM Cortex MCUs

The complete beginner’s guide to STM32 microcontrollers: the toolchain, your first project, and the STM32 tutorials series step by step.

Share This Page With Your Network!
Join Our +25,000 Newsletter Subscribers!

Stay Updated With All New Content Releases. You Also Get Occasional FREE Coupon Codes For Courses & Other Stuff!

Photo of author
Author
Embedded systems engineer with several years of experience in embedded software and hardware design. I work as an embedded SW engineer in the Automotive & e-Mobility industry. However, I still do Hardware design and SW development for DSP, Control Systems, Robotics, AI/ML, and other fields I'm passionate about.
I love reading, writing, creating projects, and teaching. A reader by day and a writer by night, it's my lifestyle. I believe that the combination of brilliant minds, bold ideas, and a complete disregard for what is possible, can and will change the world! I will be there when it happens, will you?

Leave a Comment