ST STLINK-V3SEGT User Manual

ST STLINK-V3SEGT User Manual

Debugger/programmer for stm8 and stm32
Table of Contents

Advertisement

Quick Links

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 and B-STLINK-VOLT for voltage adaptation.

Figure 1. STLINK-V3SET product top view

Picture is not contractual.
June 2020
UM2448 Rev 5
1/42
www.st.com
1

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for ST STLINK-V3SEGT

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

    The modular architecture of STLINK-V3SET enables to extend its main features through additional modules such as the adapter board and B-STLINK-VOLT for voltage adaptation. Figure 1. STLINK-V3SET product top view Picture is not contractual. June 2020 UM2448 Rev 5 1/42 www.st.com...
  • Page 2: Table Of Contents

    Contents UM2448 Contents Features ........... 7 General information .
  • Page 3 UM2448 Contents 8.2.1 STDC14 (STM32 JTAG/SWD and VCP) ......23 8.2.2 Legacy Arm 20-pin JTAG/SWD IDC connector ....23 8.2.3 Virtual COM port connector .
  • Page 4 Contents UM2448 13.1 Product marking ..........38 13.2 Board revision history .
  • Page 5 UM2448 List of tables List of tables Table 1. Ordering information ............8 Table 2.
  • Page 6 List of figures UM2448 List of figures Figure 1. STLINK-V3SET product top view ..........1 Figure 2.
  • Page 7: Features

    UM2448 Features 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 (extended down to 1.65 V with the B-STLINK-VOLT board) –...
  • Page 8: General Information

    General information UM2448 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) • Windows OS (7, 8 and 10), Linux 64-bit, or macOS • USB Type-A to Micro-B cable Development toolchains ®(c) • IAR Systems - IAR Embedded Workbench ® • Keil - MDK-ARM •...
  • Page 10: Quick Start

    Connect a USB Type-A to Micro-B cable between the STLINK-V3SETand the PC. Check that the PWR LED is green and the COM LED is red. Open the development toolchain or STM32CubeProgrammer (STM32CubeProg) software utility. For more details, refer to the www.st.com/stlink-v3set website. 10/42 UM2448 Rev 5...
  • Page 11: Stlink-V3Set Functional Description

    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. 7.1.1 Main module for high performance This configuration is the preferred one for high performance.
  • Page 12: Adapter Configuration For Added Functions

    STLINK-V3SET functional description UM2448 to connect 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 5 13/42...
  • Page 14: Hardware Layout

    STLINK-V3SET functional description UM2448 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). Figure Figure 9, and...
  • Page 15: Figure 7. Hardware Board Mb1440

    UM2448 STLINK-V3SET functional description Figure 7. Hardware board MB1440 UM2448 Rev 5 15/42...
  • 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/42 UM2448 Rev 5...
  • 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-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 19: Jtag

    UM2448 STLINK-V3SET functional description 7.3.2 JTAG JTAG protocol is a Debug/Program protocol used for STM32 microcontrollers. The signals are 3.3-volt compatible and can perform up to 21 MHz. This function is available on MB1441.CN1 and MB1440.CN1.CN2. The STLINK-V3SET does not support the chaining of devices in JTAG (daisy chain). For correct operation, the STLINK-V3SET microcontroller on the MB1441 board requires a JTAG return clock.
  • Page 20: Figure 13. Firmware Selection For A Second Virtual Com Port

    MB1440.CN7 with all unused signals tied to the ground on the target side. Figure 13. Firmware selection for a second Virtual COM port Bridge GPIOs Four GPIO signals are available on MB1440.CN9 and MB1440.CN8. Basic management is provided by the public ST bridge software interface. 20/42 UM2448 Rev 5...
  • 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 Overview of ST-LINK derivatives technical note (TN1235) for details. Jumper configuration Table 3. MB1441 jumper configuration Jumper...
  • Page 22: Board Connectors

    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. USB Micro-B connector pinout CN5...
  • Page 23: Stdc14 (Stm32 Jtag/Swd And Vcp)

    Legacy Arm 20-pin JTAG/SWD IDC connector The CN2 connector allows the connection to an STM32 target in the JTAG or SWD mode. Its pinout is listed in Table 7. It is compatible with the pinout of ST-LINK/V2. UM2448 Rev 5 23/42...
  • Page 24: Virtual Com Port Connector

    Board connectors UM2448 Table 7. Legacy Arm 20-pin JTAG/SWD IDC connector CN2 Pin number Description Pin number Description T_VCC T_JTDI/NC T_JTMS/T_SWDIO T_JCLK/T_SWCLK T_JRCLK T_JTDO/T_SWO T_NRST 1. Input for STLINK-V3SET. 2. At least one of these pins must be connected to the ground on the target side for correct behavior (connecting all is recommended for noise reduction on the ribbon).
  • Page 25: Can Connector

    UM2448 Board connectors 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 26: Spi/Gpio Bridge Connector

    Board connectors UM2448 Table 12. UART bridge connector CN7 Pin number Description Pin number Description UART_CTS I2C_SDA UART_TX CAN_TX 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.
  • Page 27 UM2448 Board connectors Table 14. Bridge connector CN9 (continued) Pin number Description Pin number Description CAN_TX UART_TX I2C_SDA UART_CTS 1. Do not connect on 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. UM2448 Rev 5 27/42...
  • Page 28: Flat Ribbons

    Flat ribbons UM2448 Flat ribbons The STLINK-V3SET provides three flat cables allowing the connection from the STDC14 output to: • STDC14 connector (1.27 mm pitch) on target application: pinout detailed in Table Reference Samtec FFSD-07-D-05.90-01-N-R. • ARM10-compatible connector (1.27 mm pitch) on target application: pinout detailed in Table 15.
  • Page 29: Mechanical Information

    UM2448 Mechanical information Mechanical information Figure 15. MB1441 mechanical dimensions (in millimeters) UM2448 Rev 5 29/42...
  • Page 30: Software Configuration

    The STLINK-V3SET requires drivers to be installed on Windows and embeds a firmware which needs to be updated from time to time in order to benefit from new functionality or corrections. Refer to the Overview of ST-LINK derivatives technical note (TN1235) for details.
  • Page 31: Bridge Interface

    STLINK-V3SET before the STLINK-V3SET is plugged to 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 32: B-Stlink-Volt Board Extension Description

    B-STLINK-VOLT board extension description UM2448 B-STLINK-VOLT board extension description 12.1 Features • 1.65V-3.3V voltage adapter board for STLINK-V3SET • Input/output level shifters for STM32 SWD/SWV/JTAG signals • Input/output level shifters for VCP Virtual COM port (UART) signals • Input/output level shifters for bridge (SPI/UART/I C/CAN/GPIOs) signals •...
  • Page 33: Figure 16. Closed Casing For Stm32 Debug (Stdc14 Connector Only)

    UM2448 B-STLINK-VOLT board extension description Figure 16. Closed casing for STM32 debug (STDC14 connector only) The STDC14 CN1 connector on the B-STLINK-VOLT board replicates the STDC14 CN1 connector from the MB1441 board. Refer to Section 8.1.2 for details. UM2448 Rev 5 33/42...
  • Page 34: Opened Casing For Access To All Connectors (Through Mb1440 Adapter Board)

    B-STLINK-VOLT board extension description UM2448 12.2.2 Opened casing for access to all connectors (through MB1440 adapter board) 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 board and place it to the JP1 header of the MB1598 board.
  • Page 35: Selection Of Bridge Gpio Direction

    UM2448 B-STLINK-VOLT board extension description Figure 17. Opened casing for access to all connectors (through MB1440 adapter board) For connector description, refer to Section 8.2. 12.3 Selection of bridge GPIO direction The level-shifter components on the B-STLINK-VOLT board require to manually configure the direction of bridge GPIO signals.
  • Page 36: Jumper Configuration

    B-STLINK-VOLT board extension description UM2448 the direction is target output/ST-LINK input (selectors on ON/CTS3 side of SW1). It can be changed for each GPIO independently into target input/ST-LINK output direction by moving the corresponding selector on ‘1’, ‘2’, ‘3’, or ‘4’ side of SW1. Refer to Figure Figure 18.
  • Page 37: Board Connectors

    UM2448 B-STLINK-VOLT board extension description 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 38: Stlink-V3Set And B-Stlink-Volt 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 39: Known Limitations

    UM2448 STLINK-V3SET and B-STLINK-VOLT information 13.3 Known limitations 13.3.1 MB1440 None. 13.3.2 MB1441 None. 13.3.3 MB1598 Revision A-01 The target voltage cannot be provided through bridge connectors CN7 and CN8 while required for bridge functions. The target voltage must be provided either through CN1 or through the MB1440 adapter board (refer to Section 12.5: Target voltage connection).
  • Page 40: 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 41: Revision History

    UM2448 Revision history Revision history Table 19. Document revision history Date Revision Changes 6-Sep-2018 Initial release. Updated: Section 8.3.4: Virtual COM port (VCP), Section 8.3.5: Bridge functions, 8-Feb-2019 Section 9.1.2: STDC14 (STM32 JTAG/SWD and VCP), Section 9.2.3: Virtual COM port connector explaining how Virtual COM ports are connected to target.
  • Page 42 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