Generated by GPT-5-mini| ST-LINK | |
|---|---|
![]() Giansi80 · CC BY-SA 4.0 · source | |
| Name | ST-LINK |
| Caption | In-circuit debugger and programmer interface |
| Manufacturer | STMicroelectronics |
| Introduced | 2006 |
| Type | In-circuit debugger / programmer |
| Connectivity | USB, SWD, JTAG |
ST-LINK
ST-LINK is an in-circuit debugger and programmer interface produced by STMicroelectronics for use with microcontroller families and development ecosystems. It provides hardware-assisted debugging, flash programming, and single-step execution for embedded projects targeting various ARM-based and legacy architectures. Designers integrate ST-LINK devices into development boards, production programming setups, and continuous integration pipelines alongside toolchains such as GCC, IAR Systems, Keil, Eclipse, and Visual Studio Code. ST-LINK supports industry-standard interfaces like Serial Wire Debug and Joint Test Action Group, enabling interoperability with debuggers and emulators from other vendors including Segger, Atmel, and ARM Holdings tool ecosystems.
The ST-LINK family comprises on-board modules embedded on development boards and standalone USB dongles. Board-integrated variants appear on evaluation platforms like STM32 Nucleo, STM32 Discovery, STM32 Eval, and specialist modules used by STMicroelectronics partners. Standalone models have evolved from early profiler implementations to the modern ST-LINK/V2, ST-LINK/V2-1, and ST-LINK/V3 series, differing in features such as native USB drivers, virtual COM port support, and higher data throughput. Many vendors and makers integrate clones or compatible programmers produced by third parties including Segger Microcontroller Systems clones and community hardware from open-source projects. The physical design typically combines a microcontroller for protocol bridging, level shifting circuitry for target voltage domains, and protection components used in production programming at manufacturers like Foxconn and Flextronics.
Firmware for ST-LINK devices is maintained by STMicroelectronics and periodically updated to add support for new targets, fix bugs, and enable new features. Official desktop utilities include GUI and command-line tools distributed alongside integrated development environments produced by IAR Systems, Keil MDK-ARM, and the STM32CubeIDE suite. Third-party projects provide cross-platform toolchains such as OpenOCD, which integrates ST-LINK support to enable scripting, adapter chaining, and remote debugging in continuous integration systems used by teams at Google, IBM, and open-source communities like GitHub and GitLab. Community firmware forks and alternative drivers exist in repositories maintained by contributors associated with Arduino, PlatformIO, and various university labs. Driver support spans Microsoft Windows, macOS, and Linux, with vendor-supplied installers and package managers from distributions like Debian and Arch Linux offering prebuilt packages.
ST-LINK implements breakpoint debugging, hardware single-stepping, watchpoint support, and memory inspection using core debug facilities designed around ARM Cortex cores found in families such as Cortex-M0, Cortex-M3, Cortex-M4, and Cortex-M7. It also supports flash programming algorithms and mass erase functions applicable to embedded devices used in aerospace projects at organizations like NASA and ESA. The interface exposes features for power-aware debugging used in low-power designs by companies such as Texas Instruments partners, enabling halt-on-reset and run-control behaviors critical in automotive projects by suppliers like Bosch and Continental. Advanced variants include SWO trace capabilities and streaming data capture compatible with trace analyzers from firms like Lauterbach and Percepio.
ST-LINK is primarily associated with microcontroller families produced by STMicroelectronics including the STM8 and STM32 series across automotive, industrial, and consumer applications. Support extends to many ARM-based micros manufactured by other vendors when those devices implement compatible debug access ports defined by ARM architecture standards. Community and commercial toolchains extend compatibility to chips from NXP Semiconductors, Microchip Technology, Renesas Electronics, and legacy platforms that expose JTAG or SWD interfaces. Board ecosystems such as Raspberry Pi HATs and third-party development kits often rely on ST-LINK adapters for initial bootloading and firmware updates. Certification and production programmers in high-volume manufacturing employ ST-LINK-compatible fixtures alongside automated test equipment from companies like Teradyne.
Engineers employ ST-LINK units throughout firmware development cycles including prototyping, debugging, regression testing, and production programming. Typical workflows integrate ST-LINK with continuous integration systems using build servers from Jenkins, Azure DevOps, or Travis CI to automate flashing and unit testing on embedded targets. Academic laboratories at institutions like MIT, Stanford University, and ETH Zurich use ST-LINK for teaching embedded systems courses and for research projects involving real-time control and sensor fusion. Hobbyist communities centered around Arduino, PlatformIO, Hackaday, and Adafruit provide tutorials showing how to use ST-LINK to recover bricked boards, program bootloaders, and enable USB-to-serial bridges for interactive debugging. In production, supply chain teams coordinate ST-LINK-based programming stations with quality assurance practices enforced by standards bodies such as ISO and IEC.
Category:Embedded systemsCategory:Microcontroller debugging tools