Mạch nạp ST-LINK V2 STM8/STM32
ST-Link-V2 In-circuit debugger/programmer for STM8 and STM32
|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.
Cables comes with ST-LINK/V2
Connecting the PC and STM8/STM32 application board through ST-LINK/V2 to establish hardware connection:
Microcontrollers supported by STVP release 3.2.8:
STM32F100xx, STM32F101xx, STM32F102xx, STM32F103xx, STM32F105xx, STM32F107xx, STM32F2xxx, STM32F4xxx,
STM32L15xx6, STM32L15xx8,STM32L15xxB, STM32L151xC, STM32L151xD, STM32L152xC, STM32L152xD, STM32L162xD,
STM32W108C8, STM32W108xB, STM32W108xC, STM32W108xZ
STM8AF51x, STM8AF52x, STM8AF61x, STM8AF62x,STM8AH51x, STM8AH61x,
STM8S003K3, STM8S003F3, STM8S005C6, STM8S005K6, STM8S007C8, STM8S103xx,
STM8L101xx, STM8L15x, STM8L16x,
While connecting the ST-LINK/V2 to the computer through USB interface, the USB driver is required and should be installed correctly first.
Click on the link below to download:
Connection with STM8 applications
The ST-LINK/V2 should be connected to the STM8 application via the SWIM cable. Two SWIM cables are delivered with the product:
SWIM flat ribbon with a standard ERNI connector at one end and a 4-pin connector at the other end
SWIM flat ribbon ended with a 4-pin, 2.54 mm, low-cost connector on two sides
Figure 2. Connecting with STM8 application board
Connection with STM32 applications
For STM32 developments the ST-LINK/V2 must be connected to the application using the standard 20-pin female-female JTAG flat ribbon provided.
Figure 4. Connecting with STM32 application board
The LED labeled 'COM' on top of the ST-LINK/V2 shows the ST-LINK/V2 status (whatever the connection type). When the:
- 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.