ST STLINK-V3SET User Manual

ST STLINK-V3SET User Manual

Debugger/programmer for stm8 and stm32
Hide thumbs Also See for STLINK-V3SET:
Table of Contents

Advertisement

Quick Links

UM2448
User manual
STLINK-V3SET debugger/programmer for STM8 and STM32
Introduction
The STLINK-V3SET is a standalone 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 the bridge
UART. Bridge UART signals, including optional RTS and CTS, are only available on the
MB1440 adapter board. 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.
November 2023
UM2448 Rev 8
1/51
www.st.com
1
Arrow.com.
Downloaded from

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

    STLINK-V3SET overview ........11...
  • Page 3 Drivers and firmware upgrade ....... . . 31 11.3 STLINK-V3SET frequency selection ......31 11.4 Mass-storage interface .
  • Page 4 Product marking ..........44 15.2 STLINK-V3SET product history ....... . 45 15.3 Board revision history .
  • Page 5 Table 17. Toolchain versions supporting STLINK-V3SET ....... . . 31 Table 18.
  • Page 6 STLINK-V3SET product top view ........
  • Page 7: 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 8: 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 9: Development Environment

    UM2448 Development environment Development environment System requirements ® ® ®(a)(b)(c) • Multi-OS support: Windows 10, Linux 64-bit, or macOS ® • USB Type-A or USB Type-C to Micro-B cable Development toolchains ® ®(d) • IAR Systems - IAR Embedded Workbench ®...
  • Page 10: Quick Start

    Install/update the IDE/STM32CubeProgrammer to support the STLINK-V3SET (drivers). Choose a flat cable and connect it between the STLINK-V3SET and the application. Connect a USB Type-A to Micro-B cable between the STLINK-V3SET and the PC. Check that the PWR LED is green and the COM LED is red.
  • Page 11: Stlink-V3Set Functional Description

    • VCP (from 732 bps to 16 Mbps) A 2x7-pin 1.27 mm pitch male connector is located in the STLINK-V3SET for connection to the application target. Three different flat cables are included in the packaging to connect UM2448 Rev 8 11/51 Arrow.com.
  • Page 12: Adapter Configuration For Added Functions

    STLINK-V3SET functional description UM2448 with standard connectors MIPI10/ARM10, STDC14, and ARM20 (refer to Section 9: Flat ribbons on page 28). 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 13: How To Build The Adapter Configuration For Added Functions

    UM2448 STLINK-V3SET functional description 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 UM2448 Rev 8 13/51 Arrow.com.
  • Page 14: Hardware Layout

    STLINK-V3SET functional description UM2448 Hardware layout The STLINK-V3SET product is designed around the STM32F723 microcontroller (176-pin in a 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 15: Figure 7. Hardware Board Mb1440

    UM2448 STLINK-V3SET functional description Figure 7. Hardware board MB1440 UM2448 Rev 8 15/51 Arrow.com. Downloaded from...
  • Page 16: Figure 8. Mb1441 Top Layout

    STLINK-V3SET functional description UM2448 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 16/51 UM2448 Rev 8 Arrow.com. Downloaded from...
  • Page 17: Figure 10. Mb1440 Top Layout

    UM2448 STLINK-V3SET functional description 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 18: Stlink-V3Set Functions

    STLINK-V3SET functional description UM2448 Figure 12. MB1440 mechanical drawing STLINK-V3SET functions All functions have been designed for high performance: all signals are 3.3 V compatible except the SWIM protocol, which supports a voltage range of 1.65 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 19: Jtag

    16 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) and T_VCP_TX (or TX) signal is the Tx for the target (Rx for the STLINK-V3SET).
  • Page 20: Figure 13. Firmware Selection For A Second Virtual Com Port

    STLINK-V3SET functional description UM2448 Bridge SPI SPI signals are available on MB1440 CN8 and CN9. To reach a 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 21: 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 22: 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 23: Stdc14 (Stm32 Jtag/Swd And Vcp)

    4. Optional loopback of T_JCLK on the target side, required if loopback is removed on the STLINK-V3SET side. 5. NC means not required for the SWD connection. 6. Tied to GND by STLINK-V3SET firmware; might 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 24: Legacy Arm 20-Pin Jtag/Swd Idc 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 is removed on the STLINK-V3SET side. 5. SWO is optional, required only for Serial Wire Viewer (SWV) trace.
  • Page 25: Can Connector

    Table 9. SWIM connector CN4 Pin number Description T_VCC SWIM_DATA 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 26: Spi/Gpio Bridge Connector

    UART_RX CAN_RX UART_RTS I2C_SCL Reserved 1. TX signals are outputs for STLINK-V3SET and inputs for the target. 2. RX signals are inputs for STLINK-V3SET and outputs for the target. 3. Do not connect to the target. 8.2.8 SPI/GPIO bridge connector Some bridge functions are provided on the CN82x5-pin 1.27 mm pitch connector.
  • Page 27 CAN_TX UART_TX I2C_SDA UART_CTS 1. Do not connect to the target. 2. RX signals are inputs for STLINK-V3SET and outputs for the target. 3. TX signals are outputs for STLINK-V3SET and inputs for the target. UM2448 Rev 8 27/51 Arrow.com.
  • Page 28: Flat Ribbons

    3. Optional loopback of T_JCLK on the target side, required if loopback is removed on the STLINK-V3SET side. 4. NC means not required for the SWD connection. 5. Tied to GND by STLINK-V3SET firmware; might be used by the target for detection of the tool. Table 16. ARM20-compatible connector pinout (target side) Pin number...
  • Page 29 UM2448 Flat ribbons 4. NC means not required for the SWD connection. 5. Tied to GND by STLINK-V3SET firmware; might be used by the target for detection of the tool. UM2448 Rev 8 29/51 Arrow.com. Downloaded from...
  • Page 30: Mechanical Information

    Mechanical information UM2448 Mechanical information Figure 15. MB1441 mechanical dimensions (in millimeters) 30/51 UM2448 Rev 8 Arrow.com. Downloaded from...
  • Page 31: Software Configuration

    4.3.12 Note: Some of the very first toolchain versions supporting the STLINK-V3SET (in runtime) might not install the complete USB driver for STLINK-V3SET (especially the STLINK-V3SET bridge USB interface description might 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: 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/51 UM2448 Rev 8 Arrow.com.
  • 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. Pin 1 of SW1 is for bridge GPIO0 and pin 4 of SW1 is for bridge GPIO3. By default, the direction is the target output/ST-LINK input (selectors on the ON/CTS3 side of 36/51 UM2448 Rev 8 Arrow.com.
  • Page 37: Jumper Configuration

    UM2448 B-STLINK-VOLT board extension description SW1). It can be changed for each GPIO independently into the target input/ST-LINK output direction by moving the corresponding selector on the ‘1’, ‘2’, ‘3’, or ‘4’ side of SW1. Refer to Figure Figure 18. B-STLINK-VOLT 12.4...
  • 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: 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: 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 41: Figure 20. Opened Casing For Access To All Connectors With B-Stlink-Isol

    UM2448 B-STLINK-ISOL board extension description Caution: Do not screw the B-STLINK-ISOL board to the STLINK-V3SET main module with a metal screw. Any contact of the MB1440 adapter board with this screw short-circuits the grounds and might cause damage. Plug the MB1440 adapter board into the B-STLINK-ISOL board in the same way that it was previously plugged into the STLINK-V3SET main module (MB1441) Figure 20.
  • Page 42: Bridge Gpio Direction

    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 43: Performance Figures

    Some interfaces (VCP and SWV) are using the 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 the user to compute the baud rate achievable by the STLINK- V3SET probe: •...
  • Page 44: Stlink-V3Set, B-Stlink-Volt, And B-Stlink-Isol Product

    Parts marked as "ES" or "E" are not yet qualified and therefore not approved for use in production. ST is not responsible for any consequences resulting from such use. In no event will ST be liable for the customer using any of these engineering samples in production.
  • Page 45: Stlink-V3Set Product History

    UM2448 STLINK-V3SET, B-STLINK-VOLT, and B-STLINK-ISOL product information 15.2 STLINK-V3SET product history Table 20. Product history Order Product Product change Product details Product limitations code identification description Boards: – MB1141 B-01 LKV3SET$AT1 (main module) Initial revision No limitation – MB1140 B-01...
  • Page 46: Board Revision History

    STLINK-V3SET, B-STLINK-VOLT, and B-STLINK-ISOL product information UM2448 15.3 Board revision history Table 21. Board revision history Board variant and Board change Board reference Board limitations revision description MB1441 B-01 Initial revision No limitation (main module) Care must be taken if used...
  • Page 47 UM2448 STLINK-V3SET, B-STLINK-VOLT, and B-STLINK-ISOL product information Table 21. Board revision history (continued) Board variant and Board change Board reference Board limitations revision description The target voltage cannot be provided through the bridge connectors CN7 and CN8 while required for bridge functions.
  • Page 48: Appendix A Federal Communications Commission (Fcc)

    Federal Communications Commission (FCC) UM2448 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 49: Revision History

    – Introduction, – Ordering information, – Figure 16 Figure 17, and – 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 UM2448 Rev 8 49/51 Arrow.com. Downloaded from...
  • Page 50 Revision history UM2448 Table 22. Document revision history (continued) Date Revision Changes Added: – Section 15.2.2: Product identification LKV3SET$AT2 – Reminder not to use metal screws to avoid damages Figure Section 15.4.1, and Section 15.5.4. 7-Dec-2021 Updated: – Features, – System requirements, and –...
  • Page 51 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 acknowledgment.

Table of Contents