In-Circuit Serial Programmer (ICSP)
ST-Link devices are almost essential when developing software for the STM32 MCUs. They are relatively cheap and easily available.
They roughly fall into two different categories. ST themselves make a number of them and they all work quite well.
![]() |
Description (Chinese)
Mini ST-LINK/V2 on a small single board, an extreme low cost solution for in-circuit debugger/programmer for STM8 and STM32.
Key Features (Chinese)
- Onboard 500mA self-recovery fuse to avoid harming by short circuit
- Dual voltage output (3.3V/5V), easy for debugging/programming
- Standard USB interface for direct connection to PC
Debugging/Programing performance
- Debugging : run at full-speed, single-stepped, breakpoints, viewing variables and registers, etc.
- Programming : supports FLASH ROM, EEPROM, AFR, etc.
- USB2.0 combined with SWIM/SWD interfaces : quick response for debugging & fast speed for programming
Upgradable firmware
- The firmware is upgradable to support more devices in the future
- Automatically upgraded
Supported software
- ST-LINK Utility v2.0 (or higher ver.)
- STVD Version 4.2.1 (or higher ver.)
- STVP Version 3.2.3 (or higher ver.)
- IAR EWARM Revision v6.20 (or higher ver.)
- IAR EWSTM8 Revision v1.30 (or higher ver.)
- KEIL RVMDK Revision v4.21 (or higher ver.)
- ATOLLIC
- TASKING
Supported devices
- All the STM8 devices with SWIM interface
- All the STM32 devices with SWD interface
Description (OEM)
The ST-LINK/V2 is an in-circuit debugger and programmer for the STM8 and STM32 microcontroller families. The single wire interface module (SWIM) and JTAG/serial wire debugging (SWD) interfaces are used to communicate with any STM8 or STM32 microcontroller located on an application board.
STM8 applications use the USB full speed interface to communicate with STMicroelectronic's ST Visual Develop (STVD) or ST Visual Program (STVP) software.
STM32 applications use the USB full speed interface to communicate with Atollic, IAR, Keil or TASKING integrated development environments.
Key Features (OEM)
5 V power supplied by USB connector
USB 2.0 full speed interface compatible
USB standard A to micro cable provided
SWIM specific features:
- 1.65 V to 5.5 V application voltage supported on SWIM interface
- SWIM low speed and high speed modes supported
- SWIM programming speed rate: 9.7 Kbytes/s in low speed 12.8 Kbytes/s in high speed
- SWIM cable for connection to an application with pin headers or 2.54 mm pitch connector
JTAG/SWD specific features:
- 3 V to 3.6 V application voltage supported on JTAG/SWD interface and 5 V tolerant inputs
- JTAG/SWD cable provided for connection to a standard JTAG 20-pin pitch 2.54 mm connector
Direct firmware update feature supported
Status LED which blinks during communication with PC
Operating temperature 0 to 50 °C
Supported Devices
STM32:
- STM32F100xx
- STM32F101xx
- STM32F102xx
- STM32F103xx
- STM32F105xx
- STM32F107xx
- STM32F2xxx
- STM32F4xxx
- STM32L15xx6
- STM32L15xx8
- STM32L15xxB
- STM32L151xC
- STM32L151xD
- STM32L152xC
- STM32L152xD
- STM32L162xD
- STM32TS60
- STM32W108C8
- STM32W108xB
- STM32W108xC
- STM32W108xZ
STM8:
- STM8AF51x
- STM8AF52x
- STM8AF61x
- STM8AF62x
- STM8AH51x
- STM8AH61x
- STM8S003K3
- STM8S003F3
- STM8S005C6
- STM8S005K6
- STM8S007C8
- STM8S103xx
- STM8S105xx
- STM8S207xx
- STM8S208xx
- STM8S903F3
- STM8S903K3
- STM8L101xx
- STM8L15x
- STM8L16x
- STM8TL52x4
- STM8TL53x4
- LED is blinking RED: the first USB enumeration with the PC is taking place. If it keeps blinking RED, maybe the USB driver is NOT found.
- LED is RED: communication between ST-LINK/V2 and the PC is established (end of enumeration).
- LED is blinking GREEN/RED: data are being exchanged between the target and the PC.
- LED is GREEN: the last communication has been successful.
- LED is ORANGE: ST-LINK/V2 communication with the target has failed.
Connecting your debugger:
This small guide will explain how to connect your debugger to your development board. There are two commonly used connectors which expose only the SWD (Serial Wire Debug) interface or the full JTAG interface.
Connection Wiring (Chinese):The easiest way to connect your development board to your debugger is by using the 4-pin SWD header, if present. This header is usually a male dupont header, but female headers are also used. The header exposes a ground pin, a +3.3V pin, a clock pin, and a data pin.Warning: Do not connect the +3.3V pin if you are powering your board externally, as most Chinese development boards do not have any protection on the power pins. This may cause damage your board, debugger or PC.
Connection Wiring (OEM):
The table below provides in details of which pins to connect:



Post a Comment