ST STLINK-V3SET User Manual
Hide thumbs Also See for STLINK-V3SET:
Table of Contents

Advertisement

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
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 the extension of its main features
through additional modules such as the adapter board for different connectors, the B-
STLINK-VOLT board for voltage adaptation, and the B-STLINK-ISOL board for voltage
adaptation and galvanic isolation.

Figure 1. STLINK-V3SET product top view

Picture is not contractual.
February 2021
UM2448 Rev 6
1/49
www.st.com
1

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the STLINK-V3SET and is the answer not in the manual?

Questions and answers

Summary of Contents for ST STLINK-V3SET

  • Page 1: Figure 1. Stlink-V3Set Product Top View

    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).
  • Page 2: Table Of Contents

    STLINK-V3SET overview ........12...
  • Page 3 Drivers and firmware upgrade ....... . . 31 11.3 STLINK-V3SET frequency selection ......31 11.4 Mass storage interface .
  • Page 4 Product marking ..........45 15.2 STLINK-V3SET product history ....... . 45 15.2.1 Product identification LKV3SET$AT1 .
  • Page 5 UM2448 Contents Revision history ........... . 48 UM2448 Rev 6 5/49...
  • Page 6 Table 17. Toolchain versions supporting STLINK-V3SET ....... . . 31 Table 18.
  • Page 7 STLINK-V3SET product top view ........
  • Page 8: Features

    Two-color LEDs: communication, power Note: The STLINK-V3SET product does not provide the power supply to the target application. B-STLINK-VOLT is not required for STM8 targets, for which voltage adaptation is performed on the baseline adapter board (MB1440) provided with the STLINK-V3SET.
  • Page 9: General Information

    ®(a) The STLINK-V3SET embeds an STM32 32-bit microcontroller based on the Arm ® Cortex -M processor. Ordering information To order the STLINK-V3SET or any additional board (provided separately), refer to Table Table 1. Ordering information Order code Board reference Description...
  • Page 10: Development Environment

    OS (7, 8 and 10), Linux 64-bit, or macOS • USB Type-A to Micro-B cable Note: Most STLINK-V3SET ecosystem deliverables are no more validated on Windows® 7 and Windows® 8 because those systems are no more officially maintained by Microsoft. Development toolchains ® ®(c) •...
  • Page 11: 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. •...
  • Page 12: Stlink-V3Set Functional Description

    JTAG (up to 21 MHz) • VCP (from 732 bps to 16 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 12/49...
  • Page 13: Adapter Configuration For Added Functions

    UM2448 STLINK-V3SET functional description to connect with standard connectors MIPI10/ARM10, STDC14, and ARM20 (refer to Section 9: Flat ribbons on page 29). Figure 3 for connections: Figure 3. Connections 7.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.
  • Page 14: How To Build The Adapter Configuration For Added Functions

    STLINK-V3SET functional description UM2448 7.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 14/49...
  • Page 15: Hardware Layout

    UM2448 STLINK-V3SET functional description Hardware layout The STLINK-V3SET product is designed around the STM32F723 microcontroller (176-pin in UFBGA package). The hardware board pictures (Figure 6 Figure 7) show the two boards included in the package in their standard configurations (components and jumpers).
  • Page 16: Figure 7. Hardware Board Mb1440

    STLINK-V3SET functional description UM2448 Figure 7. Hardware board MB1440 16/49 UM2448 Rev 6...
  • Page 17: Figure 8. Mb1441 Top Layout

    UM2448 STLINK-V3SET functional description Figure 8. MB1441 top layout %ULGJH 5HVHUYHG IRU 8$57,&&$1 V\VWHP 9 (QDEOH -5&/. 86% +LJK6SHHG 0LFUR% 67'& 670) 7RS 6LGH 0%% %ULGJH 5HVHW 67/,1. 63,*3,2V Figure 9. MB1441 bottom layout UM2448 Rev 6 17/49...
  • Page 18: Figure 10. Mb1440 Top Layout

    STLINK-V3SET functional description UM2448 Figure 10. MB1440 top layout 6:,0 +HDGHU 6:,0 21 8$57 %ULGJH 9&3 6:' +HDGHU &$1 +HDGHU &$1 21 9 RI &1 %ULGJH 9 RI &1 63,8$57,&&$1*3,2V 67'& 7RS 6LGH ,&6&/ 38 6:,0 21 0%% ,&6'$ 38 -5&/.
  • Page 19: Stlink-V3Set Functions

    UM2448 STLINK-V3SET functional description Figure 12. MB1440 mechanical drawing STLINK-V3SET functions All functions have been designed for high performance: all signals are 3.3-volt compatible except the SWIM protocol, which supports a voltage range from 1.65 V to 5.5 V. The following description concerns the two boards MB1441 and MB1440 and indicates where to find the functions on the boards and connectors.
  • Page 20: Jtag

    15 Mbps. This function is available on MB1440 CN1 and CN3, and MB1441 CN1. T_VCP_RX (or RX) signal is the Rx for the target (Tx for the STLINK-V3SET), T_VCP_TX (or TX) signal is the Tx for the target (Rx for the STLINK-V3SET).
  • Page 21: Figure 13. Firmware Selection For A Second Virtual Com Port

    UM2448 STLINK-V3SET functional description Bridge SPI SPI signals are available on MB1440 CN8 and CN9. To reach high SPI frequency, it is recommended to use a flat ribbon on MB1440 CN8 with all unused signals tied to the ground on the target side.
  • Page 22: Leds

    LEDs PWR LED: red light indicates that 5 V is enabled (only used when a daughterboard is plugged). COM LED: refer to the technical note Overview of ST-LINK derivatives (TN1235) for details. Jumper configuration Table 3. MB1441 jumper configuration Jumper...
  • Page 23: Board Connectors

    Connectors on MB1441 board 8.1.1 USB Micro-B The USB connector CN5 is used to connect the embedded STLINK-V3SET to the PC. Figure 14. USB Micro-B connector CN5 (front view) The related pinout for the USB ST-LINK connector is listed in Table Table 5.
  • Page 24: Stdc14 (Stm32 Jtag/Swd And Vcp)

    4. Optional loopback of T_JCLK on the target side, required if loopback removed on the STLINK-V3SET side. 5. NC means not required for the SWD connection. 6. Tied to GND by STLINK-V3SET firmware; may be used by the target for detection of the tool. 7. Output for STLINK-V3SET The used connector is SAMTEC FTSH-107-01-L-DV-K-A.
  • Page 25: Virtual Com Port Connector

    (connecting all is recommended for noise reduction on the ribbon). 3. NC means not required for the SWD connection. 4. Optional loopback of T_JCLK on the target side, required if loopback removed on the STLINK-V3SET side. 5. SWO is optional, required only for Serial Wire Viewer (SWV) trace.
  • Page 26: Can Connector

    Table 9. SWIM connector CN4 (continued) Pin number Description T_NRST 1. Input for STLINK-V3SET. 8.2.5 CAN connector The CN5 connector allows the connection to a CAN target without a CAN transceiver. The related pinout for this connector is listed in Table Table 10.
  • Page 27: Spi/Gpio Bridge Connector

    UART_RX CAN_RX UART_RTS I2C_SCL Reserved 1. TX signals are outputs for STLINK-V3SET, inputs for the target. 2. RX signals are inputs for STLINK-V3SET, outputs for the target. 3. Do not connect to the target. 8.2.8 SPI/GPIO bridge connector Some bridge functions are provided on a 2x5-pin connector with 1.27 mm pitch CN8. The...
  • Page 28 Pin number Description CAN_TX UART_TX I2C_SDA UART_CTS 1. Do not connect to the target. 2. RX signals are inputs for STLINK-V3SET, outputs for the target. 3. TX signals are outputs for STLINK-V3SET, inputs for the target. 28/49 UM2448 Rev 6...
  • Page 29: Flat Ribbons

    3. Optional loopback of T_JCLK on the target side, required if loopback removed on the STLINK-V3SET side. 4. NC means not required for the SWD connection. 5. Tied to GND by STLINK-V3SET firmware; may be used by the target for detection of the tool. Table 16. ARM20-compatible connector pinout (target side) Pin No.
  • Page 30: Mechanical Information

    Mechanical information UM2448 Mechanical information Figure 15. MB1441 mechanical dimensions (in millimeters) 30/49 UM2448 Rev 6...
  • Page 31: Software Configuration

    4.3.12 Note: Some of the very first toolchain versions supporting the STLINK-V3SET (in runtime) may not install the complete USB driver for STLINK-V3SET (especially the STLINK-V3SET bridge USB interface description may miss). In that case, either the user switches to a more recent version of the toolchain, or updates the ST-LINK driver from www.st.com...
  • Page 32: Bridge Interface

    STLINK-V3SET before the STLINK-V3SET is plugged into the host. This functionality is not available for STM8 targets. The ST-LINK firmware programs the dropped binary file, at the beginning of the flash, only if it is detected as a valid STM32 application according to the following criteria: •...
  • Page 33: B-Stlink-Volt Board Extension Description

    (STDC14 connector only) with B-STLINK-VOLT Remove the USB cable from STLINK-V3SET. Unscrew the casing bottom cover of the STLINK-V3SET or remove the adapter board (MB1440). Remove the JP1 jumper from the MB1441 main module and place it on the JP1 header of the MB1598 board.
  • Page 34: Figure 16. Closed Casing For Stm32 Debug With B-Stlink-Volt

    B-STLINK-VOLT board extension description UM2448 Figure 16. Closed casing for STM32 debug with B-STLINK-VOLT The STDC14 CN1 connector on the B-STLINK-VOLT board replicates the STDC14 CN1 connector from the MB1441 main module. Refer to Section 8.1.2 for details. 34/49 UM2448 Rev 6...
  • Page 35: Opened Casing For Access To All Connectors (Through Mb1440 Adapter Board) With B-Stlink-Volt

    (through MB1440 adapter board) with B-STLINK-VOLT Remove the USB cable from STLINK-V3SET. Unscrew the casing bottom cover of the STLINK-V3SET or remove the adapter board (MB1440). Remove the JP1 jumper from the MB1441 main module and place it on the JP1 header of the MB1598 board.
  • Page 36: Selection Of Bridge Gpio Direction

    GPIO signals. This is possible through the SW1 switch on the bottom of the board. Pin1 of SW1 is for bridge GPIO0, pin4 of SW1 is for bridge GPIO3. By default, the direction is target output/ST-LINK input (selectors on ON/CTS3 side of SW1). It can be 36/49...
  • Page 37: Jumper Configuration

    Jumper configuration Caution: Always remove the JP1 jumper from the STLINK-V3SET main module (MB1441) before stacking the B-STLINK-VOLT board (MB1598). This jumper can be used on the MB1598 board to provide the return JTAG clock required for correct JTAG operations. If the JTAG clock loopback is not done at the B-STLINK-VOLT board level through JP1, it must be done externally between pin 6 and pin 9 of CN1.
  • Page 38: Board Connectors

    B-STLINK-VOLT board extension description UM2448 12.6 Board connectors 12.6.1 STDC14 (STM32 JTAG/SWD and VCP) The STDC14 CN1 connector on the MB1598 board replicates the STDC14 CN1 connector from the MB1441 board. Refer to Section 8.1.2 for details. 12.6.2 UART/I C/CAN bridge connector The UART/I C/CAN bridge CN7 connector on the MB1598 board replicates the UART/I...
  • Page 39: B-Stlink-Isol Board Extension Description

    B-STLINK-ISOL board extension description B-STLINK-ISOL board extension description 13.1 Features • 1.65 V to 3.3 V voltage adapter and galvanic isolation board for STLINK-V3SET • 2.5 kV RMS galvanic isolation • Input/output isolation and level shifters for STM32 SWD/SWV/JTAG signals •...
  • Page 40: Figure 19. Closed Casing For Stm32 Debug With B-Stlink-Isol

    B-STLINK-ISOL board extension description UM2448 Figure 19. Closed casing for STM32 debug with B-STLINK-ISOL The STDC14 CN1 connector on the B-STLINK-ISOL board replicates the STDC14 CN1 connector from the MB1441 main module. Refer to Section 8.1.2 for details. 40/49 UM2448 Rev 6...
  • Page 41: Opened Casing For Access To All Connectors (Through Mb1440 Adapter Board) With B-Stlink-Isol

    (through MB1440 adapter board) with B-STLINK-ISOL Remove the USB cable from STLINK-V3SET Unscrew the casing bottom cover of the STLINK-V3SET or remove the adapter board (MB1440) Remove the JP1 jumper from the MB1441 main module and place it on the JP2 header...
  • Page 42: Bridge Gpio Direction

    Bridge GPIO direction On the B-STLINK-ISOL board the direction of bridge GPIO signals are fixed by hardware: • GPIO0 and GPIO1 are the target input and ST-LINK output. • GPIO2 and GPIO3 are the target output and ST-LINK input. 42/49...
  • Page 43: Jumper Configuration

    JTAG operations. The highest is the JTAG clock frequency, the closest to the target must be the loopback. Loopback is done at STLINK-V3SET main module (MB1441) level: MB1441 JP1 is ON, while MB1599 JP2 is OFF.
  • Page 44: Performance Figures

    Some interfaces (VCP and SWV) are using UART protocol. In that case, the baud rate of STLINK-V3SET must be aligned as much as possible with the target one. Below is a rule allowing to compute the baud rates achievable by the STLINK-V3SET probe: •...
  • Page 45: Stlink-V3Set, B-Stlink-Volt, And B-Stlink-Isol Information

    Any consequences deriving from such usage will not be at ST charge. In no event, ST will be liable for any customer usage of these engineering sample tools as reference designs or in production.
  • Page 46: B-Stlink-Isol Product History

    STLINK-V3SET, B-STLINK-VOLT, and B-STLINK-ISOL information UM2448 15.4 B-STLINK-ISOL product history 15.4.1 Product identification BSTLINKISOL$AZ1 This product identification is based on the MB1599 B-01 voltage adapter and galvanic isolation board Product limitations No limitation is identified for this product identification. 15.5 Board revision history 15.5.1...
  • Page 47: Appendix A Federal Communications Commission (Fcc)

    UM2448 Federal Communications Commission (FCC) Appendix A Federal Communications Commission (FCC) 15.3 FCC Compliance Statement 15.3.1 Part 15.19 Part 15.19 This device complies with Part 15 of the FCC Rules. Operation is subject to the following two conditions: (1) this device may not cause harmful interference, and (2) this device must accept any interference received, including interference that may cause undesired operation.
  • Page 48: Table 20. Document Revision History

    Figure 20 Section 14: Performance figures Updated: Introduction 5-Feb-2021 Ordering information Figure 16 Figure 17 Section 15: STLINK-V3SET, B-STLINK-VOLT, and B- STLINK-ISOL information B-STLINK-ISOL All modifications linked to the latest board for voltage adaptation and galvanic isolation 48/49 UM2448 Rev 6...
  • Page 49 ST products and/or to this document at any time without notice. Purchasers should obtain the latest relevant information on ST products before placing orders. ST products are sold pursuant to ST’s terms and conditions of sale in place at the time of order acknowledgement.

Table of Contents

Save PDF