ST MICROELECTRONICS STLINK-V3SET Instructions

UM2448
User manual
STLINK-V3SET debugger/programmer for STM8 and STM32
Introduction
The STLINK-V3SET is a stand-alone modular debugging and programming probe for the STM8 and STM32 microcontrollers. This product is composed of the main module and the complementary adapter board. It supports the SWIM and JTAG/SWD interfaces for the communication with any STM8 or STM32 microcontroller located on an application board.
The STLINK-V3SET provides a Virtual COM port interface allowing the host PC to communicate with the target microcontroller through one UART. It also provides bridge interfaces to several communication protocols allowing, for instance, the programming of the target through the bootloader.
The STLINK-V3SET can provide a second Virtual COM port interface allowing the host PC to communicate with the target microcontroller through another UART (called bridge UART). Bridge UART signals, including optional RTS and CTS, are available on the adapter board only (MB1440). The second Virtual COM port activation is done through a reversible firmware update, which also disables the mass storage interface (used for Drag-and-drop flash programming).
The modular architecture of STLINK-V3SET enables to extend its main features through additional modules such as the adapter board.

Figure 1. STLINK-V3SET product top view

Picture is not contractual.
November 2019 UM2448 Rev 3 1/34
www.st.com
1
Contents UM2448
Contents
1 Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
2 General information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
3 System requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
4 Development toolchains . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
5 Ordering information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
6 Conventions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
7 Quick start . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
8 STLINK-V3SET functional description . . . . . . . . . . . . . . . . . . . . . . . . . . 9
8.1 STLINK-V3SET overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
8.1.1 Main module for high performance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
8.1.2 Adapter configuration for added functions . . . . . . . . . . . . . . . . . . . . . . . 10
8.1.3 How to build the adapter configuration for added functions . . . . . . . . . . 11
8.2 Hardware layout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
8.3 STLINK-V3SET functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
8.3.1 SWD with SWV . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
8.3.2 JTAG . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
8.3.3 SWIM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
8.3.4 Virtual COM port (VCP) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
8.3.5 Bridge functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
8.3.6 LEDs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
8.4 Jumper configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
9 Board connectors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
9.1 Connectors on MB1441 board . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
9.1.1 USB Micro-B . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
9.1.2 STDC14 (STM32 JTAG/SWD and VCP) . . . . . . . . . . . . . . . . . . . . . . . . 21
9.2 Connectors on MB1440 board . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
2/34 UM2448 Rev 3
UM2448 Contents
9.2.1 STDC14 (STM32 JTAG/SWD and VCP) . . . . . . . . . . . . . . . . . . . . . . . . 21
9.2.2 Legacy Arm 20-pin JTAG/SWD IDC connector . . . . . . . . . . . . . . . . . . . 21
9.2.3 Virtual COM port connector . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
9.2.4 SWIM connector . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
9.2.5 CAN connector . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
9.2.6 SWD connector . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
9.2.7 UART bridge connector . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
9.2.8 SPI bridge connector . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
9.2.9 Bridge 20-pins connector . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
10 Flat ribbons . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
11 Mechanical information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
12 Software configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
12.1 Supporting toolchains (not exhaustive) . . . . . . . . . . . . . . . . . . . . . . . . . . 29
12.2 Drivers and firmware upgrade . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
12.3 STLINK-V3SET frequency selection . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
12.4 Mass storage interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
12.5 Bridge interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
13 Product STLINK-V3SET revision history and limitations . . . . . . . . . . 31
Appendix A Federal Communications Commission (FCC). . . . . . . . . . . . . . . . . 32
15.3 FCC Compliance Statement . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
15.3.1 Part 15.19 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
Revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
UM2448 Rev 3 3/34
3
List of tables UM2448
List of tables
Table 1. Ordering information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
Table 2. ON/OFF convention . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
Table 3. MB1441 jumper configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
Table 4. MB1440 jumper configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
Table 5. USB Micro-B connector pinout CN5 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
Table 6. STDC14 connector pinout CN1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
Table 7. Legacy Arm 20-pin JTAG/SWD IDC connector CN2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
Table 8. Virtual COM port connector CN3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
Table 9. SWIM connector CN4 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
Table 10. CAN connector CN5 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
Table 11. SWD (wires) connector CN6. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
Table 12. UART bridge connector CN7 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
Table 13. SPI bridge connector CN8 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
Table 14. Bridge connector CN9 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
Table 15. ARM10-compatible connector pinout (target side) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
Table 16. ARM20-compatible connector pinout (target side) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
Table 17. Toolchain versions supporting STLINK-V3SET . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
Table 18. Product STLINK-V3SET revision history and limitations . . . . . . . . . . . . . . . . . . . . . . . . . . 31
Table 19. Document revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
4/34 UM2448 Rev 3
UM2448 List of figures
List of figures
Figure 1. STLINK-V3SET product top view . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
Figure 2. Probe top side. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
Figure 3. Connections . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
Figure 4. Probe with adapter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
Figure 5. Operating mode to change the configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
Figure 6. Hardware board MB1441 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
Figure 7. Hardware board MB1440 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
Figure 8. MB1441 top layout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
Figure 9. MB1441 bottom layout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
Figure 10. MB1440 top layout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
Figure 11. MB1441 mechanical drawing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
Figure 12. MB1441 mechanical drawing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
Figure 13. Firmware selection for a second Virtual COM port . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
Figure 14. USB Micro-B connector CN5 (front view) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
Figure 15. MB1440 mechanical dimensions (in millimeters) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
UM2448 Rev 3 5/34
5
Features UM2448

1 Features

Stand-alone probe with modular extensions
Self-powered through a USB connector (Micro-B)
USB 2.0 high-speed compatible interface
Direct firmware update support (DFU)
JTAG / serial wire debugging (SWD) specific features:
3 V to 3.6 V application voltage support and 5 V tolerant inputs – Flat cables STDC14 to MIPI10 / STDC14 / MIPI20 (connectors with 1.27 mm
pitch) – JTAG communication support – SWD and serial wire viewer (SWV) communication support
SWIM specific features (only available with adapter board MB1440): – 1.65 V to 5.5 V application voltage support – SWIM header (2.54 mm pitch) – SWIM low-speed and high-speed modes support
Virtual COM port (VCP) specific features: – 3 V to 3.6 V application voltage support on the UART interface and 5 V tolerant
inputs – VCP frequency up to 15 MHz – Available on STDC14 debug connector (not available on MIPI10)
Multi-path bridge USB to SPI/UART/I – 3 V to 3.6 V application voltage support and 5 V tolerant inputs – Signals available on adapter board only (MB1440)
Drag-and-drop flash programming of binary files
Two-color LEDs: communication, power
2
C/CAN/GPIOs specific features:
Note: The STLINK-V3SET product does not provide power supply to the target application.

2 General information

The STLINK-V3SET embeds an STM32 32-bit microcontroller based on the Arm
®
Cortex
a. Arm is a registered trademark of Arm Limited (or its subsidiaries) in the US and or elsewhere.
6/34 UM2448 Rev 3
-M processor.
®(a)
UM2448 System requirements

3 System requirements

Windows® OS (7, 8 and 10), Linux® 64-bit, or macOS
USB Type-A to Micro-B cable

4 Development toolchains

Keil® MDK-ARM
IAR™ EWARM
GCC-based IDEs
(b)
(b)

5 Ordering information

To order the STLINK-V3SET, refer to Table 1.
Order code Description
STLINK-V3SET

Table 1. Ordering information

STLINK-V3 modular in-circuit debugger and programmer for STM8 and STM32.
®(a)

6 Conventions

Tabl e 2 provides the conventions used for the ON and OFF settings in the present
document.
Convention Definition
Jumper JPx ON Jumper fitted
Jumper JPx OFF Jumper not fitted
Jumper JPx [1-2] Jumper should be fitted between Pin 1 and Pin 2
Solder bridge SBx ON SBx connections closed by 0 ohm resistor
Solder bridge SBx OFF SBx connections left open
a. macOS® is a trademark of Apple Inc. registered in the U.S. and other countries.
®
b. On Windows
only.

Table 2. ON/OFF convention

UM2448 Rev 3 7/34
33
Quick start UM2448

7 Quick start

This section describes how to start development quickly using the STLINK-V3SET.
Before installing and using the product, accept the Evaluation Product License Agreement from the www.st.com/epla web page.
The STLINK-V3SET is a stand-alone modular debugging and programming probe for STM8 and STM32 microcontrollers.
It support protocols SWIM, JTAG and SWD to communicate with any STM8 or STM32 microcontroller.
It provides a Virtual COM port interface allowing the host PC to communicate with the target microcontroller through one UART
It provides bridge interfaces to several communication protocols allowing, for instance, the programming of the target through the bootloader.
To start using this board, follow the steps below:
1. Check that all items are available inside the box (V3S + 3 flat cables + adapter board and its guide).
2. Install/update the IDE/STM32CubeProgrammer to support the STLINK-V3SET (drivers).
3. Choose a flat cable and connect it between the STLINK-V3SETand the application.
4. Connect a USB Type-A to Micro-B cable between the STLINK-V3SETand the PC.
5. Check that the PWR LED is green and the COM LED is red.
6. Open the development toolchain or STM32CubeProgrammer software utility.
For more details, refer to the www.st.com/stlink-v3set web site.
8/34 UM2448 Rev 3
UM2448 STLINK-V3SET functional description

8 STLINK-V3SET functional description

8.1 STLINK-V3SET overview

The STLINK-V3SET is a stand-alone modular debugging and programming probe for the STM8 and STM32 microcontrollers. This product supports many functions and protocols for debugging, programming or communicating with one or several targets. The STLINK­V3SET package includes complete hardware with the main module for high performance and an adapter board for added functions to connect with wires or flat cables anywhere into the application.
This module is fully powered by the PC. If the COM LED blinks red, refer to the Overview of ST-LINK derivatives technical note (TN1235) for details.

8.1.1 Main module for high performance

This configuration is the preferred one for high performance. It only supports STM32 microcontrollers. The working voltage range is from 3
Figure 2. Probe top side
V to 3.6 V.
The protocols and functions supported are:
SWD with SWO (up to 24 MHz)
JTAG (up to 21 MHz)
VCP (from 720 bps to 15 Mbps)
A 2x7-pin male connector with 1.27 mm pitch is located in the STLINK-V3SET for connection to the application target. Three different flat cables are included in the packaging
UM2448 Rev 3 9/34
33
STLINK-V3SET functional description UM2448
to connect with standard connectors MIPI10/ARM10, STDC14 and ARM20 (refer to
Section 10: Flat ribbons on page 26).
See Figure 3 for connections:
Figure 3. Connections

8.1.2 Adapter configuration for added functions

This configuration favors the connection to targets using wires or flat cables. It is composed of MB1441 and MB1440. It supports debugging, programming and communicating with STM32 and STM8 microcontrollers.
Figure 4. Probe with adapter
10/34 UM2448 Rev 3
UM2448 STLINK-V3SET functional description

8.1.3 How to build the adapter configuration for added functions

See the operating mode below to build the adapter configuration from the main module configuration and back.
Figure 5. Operating mode to change the configuration
UM2448 Rev 3 11/34
33
Loading...
+ 23 hidden pages