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.
STLINK-V3 Pinout Diagram
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.
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.
STLINK-V3SET Legacy 20-Pin JTAG/SWD Pinout (CN2)
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 SWD, SWIM, VCP and CAN Wire Headers Pinout
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 Bridge Connector CN9 Pinout
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 CN7 Pinout (UART, I2C, CAN)
STLINK-V3SET Bridge Connector CN8 Pinout (SPI, GPIO)
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.
STLINK-V3 Datasheet
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:
| Document | ID | Revision | What You’ll Use It For | Link |
|---|---|---|---|---|
| STLINK-V3SET data brief (the “datasheet”) | DB3692 | Rev 3 (Jul 2024) | Features, speeds, voltage ranges, order code | |
| STLINK-V3SET user manual | UM2448 | Rev 9 (Apr 2025) | Every connector pinout (Tables 6–14), cable mappings (Tables 15 and 16), jumpers (Tables 3 and 4) | |
| Overview of ST-LINK derivatives | TN1235 | Rev 7 (Jan 2025) | COM LED states, firmware update, V2 vs V3 family features | |
| SWD multidrop for STM32 with ST-LINK | AN6382 | Rev 1 (Nov 2025) | Debugging several STM32s on one SWD bus | |
| STLINK-V3MINIE user manual | UM2910 | Rev 5 (Jul 2026) | The smaller V3 probe (same STDC14 pinout) |
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).
STLINK-V3 Schematic
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.
STLINK-V3 Specs
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.

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.
| Item | STLINK-V3SET |
|---|---|
| Order code | STLINK-V3SET (MB1441 main module + MB1440 adapter board) |
| Probe MCU | STM32F723 (Arm Cortex-M7), running ST’s STLINK-V3 firmware |
| Host interface | USB 2.0 High-Speed, Micro-B connector, powered by USB |
| STM32 interfaces | SWD up to 24MHz, SWO (SWV trace) up to 16MHz, JTAG up to 21MHz (no daisy chain, no TRST) |
| STM8 interface | SWIM low-speed and high-speed (needs the MB1440 adapter) |
| Virtual COM port | 732bps 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 voltage | SWD/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 target | No: T_VCC is a sense input on every connector |
| Connectors | MB1441: 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 included | STDC14 to STDC14, STDC14 to MIPI-10, STDC14 to MIPI-20 (all 1.27mm), USB cable |
| LEDs | COM (red/green/orange status) and PWR (red, 5v enabled) |
| Drag-and-drop programming | Yes, USB mass storage (removed by the bridge firmware that adds the 2nd VCP) |
| Firmware update | Over USB: STSW-LINK007 or STM32CubeProgrammer |
| Add-on boards | B-STLINK-VOLT (1.65v–3.6v level shifter), B-STLINK-ISOL (adds galvanic isolation) |
STLINK-V3 Specifications Summary
- 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.
STLINK-V3 Quick Wiring Guide
Not sure which STLINK-V3 pins to connect? Here are the connections I’d use for each job, and why.
| Use Case | STLINK-V3 Pins | Why |
|---|---|---|
| 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 reset | Add STDC14-12 / CN6-5 NRST | Needed when your code reuses PA13/PA14 or sleeps |
| printf over SWO | Add STDC14-8 / CN6-6 SWO → PB3 | Serial Wire Viewer trace on Cortex-M3/M4/M7/M33 |
| printf over the Virtual COM port | STDC14-14 / CN3-1 T_VCP_TX → target TX, STDC14-13 / CN3-2 T_VCP_RX → target RX | A USB serial port on the PC; TX goes to TX |
| Board with an ARM 10-pin Cortex debug header | STDC14 → MIPI-10 cable | STDC14 pins 3–12 = MIPI-10 pins 1–10 (no VCP) |
| Board with an ARM 20-pin JTAG header | MB1440 CN2 + 20-pin ribbon | Same pinout as the ST-LINK/V2 (no TRST) |
| STM8 programming | MB1440 CN4: 1 T_VCC, 2 SWIM, 3 GND, 4 NRST | Needs JP3, JP4, JP6 on MB1440 and JP2 on MB1441 closed |
| Talk to a target over SPI/I2C/CAN from the PC | MB1440 CN7, CN8 or CN9 | Bridge interface (STM32CubeProgrammer or ST’s bridge API) |
STLINK-V3 Pins to Use With Caution
| Pin | Reason | What to Do |
|---|---|---|
| STDC14-3, CN2-1, CN4-1, CN6-1 T_VCC | Sense input, not a supply output | Wire it to the target’s VDD; power the target separately |
| STDC14-1, STDC14-2 | Reserved | Leave them unconnected |
| STDC14-13/14, CN3 VCP | Named from the target’s side (TX → TX) | Don’t cross them like a normal UART |
| CN7/CN9 UART_TX/RX | Named from the probe’s side (TX → RX), the opposite of the VCP | Cross them as usual |
| CN9-6, CN9-15 | “Reserved” (5V on the silkscreen) | Never connect them |
| CN2-3 (TRST) | Not driven by the V3 | Use NRST; TRST-only JTAG setups won’t work |
| STDC14-9 RTCK | JTAG clock return, looped back by MB1441 JP1 | Leave it unconnected unless you open JP1 (VOLT/ISOL add-ons) |
| STDC14-11 GNDDetect | Pulled to GND by the firmware | Treat it as GND (a target can use it to detect the probe) |
STLINK-V3 Pins Functions
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.
- 4x SWD/SWV Pins: SWDIO, SWCLK, SWO, NRST
- 6x JTAG Pins: TMS, TCK, TDI, TDO, RTCK, NRST
- 2x Virtual COM Port Pins: T_VCP_RX, T_VCP_TX
- 1x SWIM Pin (STM8, MB1440 CN4)
- 1x NRST Reset Pin
- Power & Target Voltage Pins: T_VCC, GND, GNDDetect
- USB Bridge Pins (MB1440): 4x SPI, 2x I2C, 4x UART, 2x CAN, 4x GPIO
We’ll discuss each pin group in the following sections one by one in more detail.
STLINK-V3 SWD Pins
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.
| Signal | STDC14 Pin | CN6 Pin | CN2 Pin | Connect To (STM32) | Needed? |
|---|---|---|---|---|---|
| T_VCC | 3 | 1 | 1 | Target VDD (3.3v) | Yes: the probe reads the target voltage here |
| T_SWDIO | 4 | 4 | 7 | PA13 (SWDIO) | Yes |
| T_SWCLK | 6 | 2 | 9 | PA14 (SWCLK) | Yes |
| GND | 5, 7 | 3 | 4–20 even | GND | Yes |
| T_NRST | 12 | 5 | 15 | NRST | Recommended (connect under reset) |
| T_SWO | 8 | 6 | 13 | PB3 (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.
STLINK-V3 SWO printf Example
Here’s the short C code that sends printf() to the SWO pin on an STM32 Cortex-M3/M4/M7/M33 (STM32CubeIDE project, HAL):
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
#include <stdio.h> /* Redirect printf() to the ITM stimulus port 0 (SWO on PB3) */ int _write(int file, char *ptr, int len) { for (int i = 0; i < len; i++) { ITM_SendChar(*ptr++); } return len; } /* In main(), inside the while(1) loop: */ printf("Counter = %lu\r\n", counter++); HAL_Delay(500); |
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.
Also Read
STLINK-V3 JTAG Pins
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.
| Signal | STDC14 Pin | CN2 Pin | Direction | Target JTAG Pin | Typical STM32 Pin |
|---|---|---|---|---|---|
| T_JTMS | 4 | 7 | In/out | JTMS | PA13 |
| T_JCLK | 6 | 9 | Out | JTCK | PA14 |
| T_JTDO | 8 | 13 | In | JTDO | PB3 |
| T_JTDI | 10 | 5 | Out | JTDI | PA15 |
| T_JRCLK | 9 | 11 | In | RTCK (optional) | – |
| T_NRST | 12 | 15 | Out | NRST | NRST |
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).
STLINK-V3 Virtual COM Port Pins
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.
| Signal | STDC14 Pin | CN3 Pin | Direction (Probe) | Connect To |
|---|---|---|---|---|
| T_VCP_TX | 14 | 1 | In | Target UART TX |
| T_VCP_RX | 13 | 2 | Out | Target UART RX |
| GND | 5, 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.
STLINK-V3 VCP printf Example
Here’s the same printf() retargeting, sent to the UART wired to the VCP instead (USART2 at 115200 baud, as an example):
|
1 2 3 4 5 6 7 8 9 10 11 12 13 |
#include <stdio.h> extern UART_HandleTypeDef huart2; /* USART2 TX -> T_VCP_TX, RX -> T_VCP_RX */ int _write(int file, char *ptr, int len) { HAL_UART_Transmit(&huart2, (uint8_t *)ptr, len, HAL_MAX_DELAY); return len; } /* In main(), inside the while(1) loop: */ printf("Hello from the STLINK-V3 VCP\r\n"); HAL_Delay(1000); |
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.
Also Read
STLINK-V3 SWIM Pins (STM8)
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 Pin | Signal | Connect To (STM8) | Note |
|---|---|---|---|
| 1 | T_VCC | MCU VDD | Must be connected: it powers the 680Ω pull-up |
| 2 | SWIM_DATA | SWIM pin (PD1 on STM8S, PA0 on STM8L) | 680Ω pull-up on the adapter; no external pull-up needed |
| 3 | GND | GND | |
| 4 | T_NRST | NRST |
SWIM needs four jumpers set, because it’s off by default:
| Board | Jumper | Setting for SWIM | Why |
|---|---|---|---|
| MB1441 | JP2 | ON (default) | 5v to the module connectors |
| MB1440 | JP3 | ON (default in UM2448 Rev 9) | Adapter takes 5v from the module |
| MB1440 | JP4 | Close it (default OFF) | Enables the SWIM input |
| MB1440 | JP6 | Close 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.
STLINK-V3 NRST Reset Pin
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.
Also Read
STLINK-V3 Power & Target Voltage Pins
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.”
| Pin | Name | Direction | What It Does |
|---|---|---|---|
| STDC14-3, CN2-1, CN6-1 | T_VCC | Input | Target VDD sense: sets the level shifters and reports the target voltage |
| CN4-1 | T_VCC | Input | SWIM reference, and powers the 680Ω SWIM pull-up |
| CN5-1 | T_CAN_VCC | Input | I/O voltage for the direct CAN connection |
| STDC14-5, 7 | GND | – | Ground; connect at least one |
| STDC14-11 | GNDDetect | – | Pulled to GND by the firmware; lets a target detect the probe |
| STDC14-1, 2 | Reserved | – | 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.
STLINK-V3 USB Bridge Pins (SPI, I2C, UART, CAN, GPIO)
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.
| Function | Signals | CN9 Pins | CN7 Pins | CN8 Pins |
|---|---|---|---|---|
| SPI | NSS, MOSI, MISO, SCK | 1, 2, 3, 4 | – | 1, 3, 5, 7 |
| I2C | SCL, SDA | 7, 10 | 8, 2 | – |
| UART | TX, RX, RTS, CTS | 19, 18, 17, 20 | 3, 5, 7, 1 | – |
| CAN (logic level) | TX, RX | 9, 8 | 4, 6 | – |
| GPIO | GPIO0–GPIO3 | 11, 12, 13, 14 | – | 2, 4, 6, 8 |
| GND | 5, 16 | 9 | 9 | |
| Reserved | Do not connect | 6, 15 | 10 | 10 |
- 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.
Also Read
STLINK-V3 Wiring Examples
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.
STLINK-V3 to an STM32 Board (SWD)
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 Pin | Board SWD Header | Note |
|---|---|---|
| 1 T_VCC | 3.3 / 3V3 | Sense only: the board must be powered from its own USB or supply |
| 4 T_SWDIO | DIO / SWDIO (PA13) | |
| 2 T_SWCLK | CLK / SCK (PA14) | |
| 3 GND | GND | |
| 5 T_NRST | R / 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 Virtual COM Port to a Target UART
| STLINK-V3 Pin | Target | Note |
|---|---|---|
| STDC14-14 / CN3-1 T_VCP_TX | UART TX (e.g. PA2 for USART2) | TX to TX |
| STDC14-13 / CN3-2 T_VCP_RX | UART RX (e.g. PA3) | RX to RX |
| Any GND (CN6-3) | GND | Share a ground |
| T_VCC (CN6-1) | VDD | The 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).
STLINK-V3SET to an STM8 (SWIM)
| MB1440 CN4 Pin | STM8 Pin | Note |
|---|---|---|
| 1 T_VCC | VDD | Required (feeds the SWIM pull-up) |
| 2 SWIM_DATA | SWIM (PD1 on STM8S) | |
| 3 GND | GND | |
| 4 T_NRST | NRST |
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.
STLINK-V3 On-Board Features
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 LED | Meaning |
|---|---|
| Blinking red | First USB enumeration, or firmware being programmed |
| Red | Idle: USB is up, waiting for an application to connect |
| Red / green alternating | Data being exchanged with the target |
| Green | The last communication was successful |
| Orange | The last communication failed |
| Red, then orange blinking | USB 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.
| Jumper | Default | What It Does |
|---|---|---|
| MB1441 JP1 | ON | JTAG clock loopback (RTCK = TCK); open it with B-STLINK-VOLT/ISOL |
| MB1441 JP2 | ON | 5v to the module connectors (SWIM, add-on boards) |
| MB1441 JP3 | OFF | Close it to force the USB loader (firmware recovery) |
| MB1440 JP3 | ON | Adapter takes 5v from the module (needed for SWIM) |
| MB1440 JP4, JP6 | OFF | Close both to enable SWIM |
| MB1440 JP5 | ON | JTAG clock loopback on the adapter |
| MB1440 JP7 | OFF | Close it to use CAN through CN5 |
| MB1440 JP8, JP9 | ON | Internal 5v feeds |
| MB1440 JP10 | OFF | Close for 680Ω I2C pull-ups (T_VCC must be supplied) |
| MB1440 JP1, JP2, JP11, JP12 | – | GND posts, handy for a scope ground clip |
Getting Started With STLINK-V3
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:
- Install the driver: on Windows, install STSW-LINK009 (STM32CubeIDE and STM32CubeProgrammer install it for you). Linux and macOS need no driver.
- 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).
- Wire the target with the minimal SWD hookup above, and power the target.
- 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.
- 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.
STLINK-V3 Common Problems & Fixes
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.
STLINK-V3SET vs STLINK-V3MINIE vs V3MODS vs V3PWR vs ST-LINK/V2
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):
| Feature | STLINK-V3SET | STLINK-V3MINIE | STLINK-V3MODS | STLINK-V3PWR | ST-LINK/V2 |
|---|---|---|---|---|---|
| Form | Modular kit (main module + adapter) | Tiny probe, 15×42mm | Module you solder onto your PCB (~15×30mm) | Probe + power analyzer | Probe in a plastic case |
| USB | Micro-B, High-Speed | USB-C, High-Speed | Micro-B, High-Speed | USB-C, High-Speed | Mini-B, Full-Speed |
| Debug connector | STDC14 + 20-pin + wire headers | STDC14 + card-edge pads | Castellated pads | STDC14 | 20-pin JTAG + 4-pin SWIM |
| Max SWD / JTAG | 24MHz / 21MHz | 24MHz / 21MHz | SWD + JTAG | 10MHz / 20MHz | 4MHz / 9MHz |
| Virtual COM port | Yes, up to 16Mbps | Yes, up to 16Mbps | Yes | Yes | No |
| STM8 SWIM | Yes (adapter) | No | No | No | Yes |
| Bridge (SPI/I2C/CAN/GPIO) | Yes (adapter) | No | Yes | Yes | No |
| Target voltage | 3.0v–3.6v (1.65v with VOLT/ISOL) | 1.65v–3.6v | 3.0v–3.6v | 1.6v–3.6v | 1.65v–3.6v |
| Powers the target | No | No | 5v output up to 200mA | Yes: 1.6v–3.6v, 500mA, measured | No |
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.
STLINK-V3 Pin Details
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.
STLINK-V3 STDC14 Connector (MB1441 CN1)
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)
| Pin | Signal | SWD | JTAG | Direction | MIPI-10 Pin | Description |
|---|---|---|---|---|---|---|
| 1 | Reserved | – | – | – | – | Do not connect. |
| 2 | Reserved | – | – | – | – | Do not connect. |
| 3 | T_VCC | VCC | VCC | In (sense) | 1 | Target VDD sense; the probe never powers the target. |
| 4 | T_JTMS/T_SWDIO | SWDIO | TMS | In/out | 2 | SWD data (JTAG TMS), to PA13. |
| 5 | GND | GND | GND | – | 3 | Ground. |
| 6 | T_JCLK/T_SWCLK | SWCLK | TCK | Out | 4 | SWD clock (JTAG TCK), to PA14. |
| 7 | GND | GND | GND | – | 5 | Ground. |
| 8 | T_JTDO/T_SWO | SWO | TDO | In | 6 | SWV trace (JTAG TDO), from PB3. |
| 9 | T_JRCLK | – | RTCK | In | 7 | JTAG return clock; only needed with MB1441 JP1 open. |
| 10 | T_JTDI | – | TDI | Out | 8 | JTAG TDI, to PA15. |
| 11 | GNDDetect | GND | GND | – | 9 | Pulled to GND by the firmware; target can detect the probe. |
| 12 | T_NRST | NRST | NRST | Out | 10 | Target reset, for connect under reset. |
| 13 | T_VCP_RX | – | – | Out | – | VCP data to the target’s RX. |
| 14 | T_VCP_TX | – | – | In | – | VCP data from the target’s TX. |
STLINK-V3SET Legacy 20-Pin JTAG/SWD Connector (MB1440 CN2)
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)
| Pin | Signal | ARM 20-Pin Name | Description |
|---|---|---|---|
| 1 | T_VCC | VTref | Target VDD sense. |
| 2 | NC | VTref / NC | Not connected. |
| 3 | NC | nTRST | TRST is not managed by the STLINK-V3. |
| 4 | GND | GND | Ground. |
| 5 | T_JTDI | TDI | JTAG TDI, to PA15. |
| 6 | GND | GND | Ground. |
| 7 | T_JTMS/T_SWDIO | TMS/SWDIO | SWD data (JTAG TMS), to PA13. |
| 8 | GND | GND | Ground. |
| 9 | T_JCLK/T_SWCLK | TCK/SWCLK | SWD clock (JTAG TCK), to PA14. |
| 10 | GND | GND | Ground. |
| 11 | T_JRCLK | RTCK | JTAG return clock (optional). |
| 12 | GND | GND | Ground. |
| 13 | T_JTDO/T_SWO | TDO/SWO | SWV trace (JTAG TDO), from PB3. |
| 14 | GND | GND | Ground. |
| 15 | T_NRST | nSRST | Target reset. |
| 16 | GND | GND | Ground. |
| 17 | NC | DBGRQ | Not connected. |
| 18 | GND | GND | Ground. |
| 19 | NC | DBGACK | Not connected. |
| 20 | GND | GND | Ground. |
STLINK-V3SET Wire Headers CN3, CN4, CN5, CN6 (MB1440)
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)
| Header | Pin | Signal | Direction | Description |
|---|---|---|---|---|
| CN3 (VCP) | 1 | T_VCP_TX | In | From the target’s UART TX. |
| CN3 (VCP) | 2 | T_VCP_RX | Out | To the target’s UART RX. |
| CN4 (SWIM) | 1 | T_VCC | In (sense) | STM8 VDD; required, feeds the 680Ω pull-up. |
| CN4 (SWIM) | 2 | SWIM_DATA | In/out | STM8 SWIM line, 680Ω pull-up on board. |
| CN4 (SWIM) | 3 | GND | – | Ground. |
| CN4 (SWIM) | 4 | T_NRST | Out | STM8 reset. |
| CN5 (CAN) | 1 | T_CAN_VCC | In | CAN I/O voltage from the target. |
| CN5 (CAN) | 2 | T_CAN_TX | In | From the target’s CAN_TX (no transceiver; JP7 closed). |
| CN5 (CAN) | 3 | T_CAN_RX | Out | To the target’s CAN_RX. |
| CN6 (SWD) | 1 | T_VCC | In (sense) | Target VDD sense. |
| CN6 (SWD) | 2 | T_SWCLK | Out | SWD clock, to PA14. |
| CN6 (SWD) | 3 | GND | – | Ground. |
| CN6 (SWD) | 4 | T_SWDIO | In/out | SWD data, to PA13. |
| CN6 (SWD) | 5 | T_NRST | Out | Target reset. |
| CN6 (SWD) | 6 | T_SWO | In | SWV trace, from PB3 (optional). |
STLINK-V3SET Bridge Connector CN9 (MB1440)
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)
| Pin | Signal | Direction | Description |
|---|---|---|---|
| 1 | SPI_NSS | Out | SPI chip select. |
| 2 | SPI_MOSI | Out | SPI data to the target. |
| 3 | SPI_MISO | In | SPI data from the target. |
| 4 | SPI_SCK | Out | SPI clock. |
| 5 | GND | – | Ground. |
| 6 | Reserved | – | 5V on the silkscreen; do not connect. |
| 7 | I2C_SCL | In/out | I2C clock (680Ω pull-up with JP10 closed). |
| 8 | CAN_RX | In | CAN logic RX, from a transceiver. |
| 9 | CAN_TX | Out | CAN logic TX, to a transceiver. |
| 10 | I2C_SDA | In/out | I2C data (680Ω pull-up with JP10 closed). |
| 11 | Bridge_GPIO0 | In/out | Bridge GPIO, through ST’s bridge API. |
| 12 | Bridge_GPIO1 | In/out | Bridge GPIO. |
| 13 | Bridge_GPIO2 | In/out | Bridge GPIO. |
| 14 | Bridge_GPIO3 | In/out | Bridge GPIO. |
| 15 | Reserved | – | 5V on the silkscreen; do not connect. |
| 16 | GND | – | Ground. |
| 17 | UART_RTS | Out | Bridge UART flow control (probe RTS). |
| 18 | UART_RX | In | Bridge UART, from the target’s TX. |
| 19 | UART_TX | Out | Bridge UART, to the target’s RX. |
| 20 | UART_CTS | In | Bridge UART flow control (probe CTS). |
STLINK-V3SET Bridge Connectors CN7 and CN8 (MB1440)
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)
| Pin | CN7 Signal | CN7 Description | CN8 Signal | CN8 Description |
|---|---|---|---|---|
| 1 | UART_CTS | Bridge UART CTS (in). | SPI_NSS | SPI chip select (out). |
| 2 | I2C_SDA | I2C data. | Bridge_GPIO0 | Bridge GPIO. |
| 3 | UART_TX | Bridge UART TX (out, to target RX). | SPI_MOSI | SPI data out. |
| 4 | CAN_TX | CAN logic TX (to a transceiver). | Bridge_GPIO1 | Bridge GPIO. |
| 5 | UART_RX | Bridge UART RX (in, from target TX). | SPI_MISO | SPI data in. |
| 6 | CAN_RX | CAN logic RX (from a transceiver). | Bridge_GPIO2 | Bridge GPIO. |
| 7 | UART_RTS | Bridge UART RTS (out). | SPI_SCK | SPI clock (out). |
| 8 | I2C_SCL | I2C clock. | Bridge_GPIO3 | Bridge GPIO. |
| 9 | GND | Ground. | GND | Ground. |
| 10 | Reserved | Do not connect. | Reserved | Do 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.
The complete beginner’s guide to STM32 microcontrollers: the toolchain, your first project, and the STM32 tutorials series step by step.




