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

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 a main module and a
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 bootloader.
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.
February 2019
UM2448 Rev 2
1/32
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

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

    STLINK-V3SET functions ........16...
  • Page 3 Drivers and firmware upgrade ....... . . 27 11.3 STLINK-V3SET frequency selection ......27 11.4 Mass storage interface .
  • Page 4 Table 17. Toolchain versions supporting STLINK-V3SET ....... . . 27 Table 18.
  • Page 5 STLINK-V3SET product top view ........
  • Page 6: Features

    Signals available on adapter board only (MB1440) • Drag-and-drop Flash programming • Two color LEDs: communication, power Note: The STLINK-V3SET product does not provide power supply to the target application. General information ®(a) The STLINK-V3SET embeds an STM32 32-bit microcontroller based on the Arm ® Cortex -M processor.
  • Page 7: System Requirements

    USB Type-A to Micro-B cable Development toolchains ® • Keil MDK-ARM • IAR™ EWARM • GCC-based IDEs Ordering information To order the STLINK-V3SET, refer to Table Table 1. Ordering information Order code Description STLINK-V3 modular in-circuit debugger and programmer for STM8 and STLINK-V3SET STM32.
  • Page 8: Quick Start

    Quick start UM2448 Quick start This section describes how to start a 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 9: Stlink-V3Set Functional Description

    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 2...
  • Page 10: Adapter Configuration For Added Functions

    STLINK-V3SET functional description UM2448 to connect with standard connectors MIPI10/ARM10, STDC14 and ARM20 (refer to Chapter 10: Flat ribbons on page 26). 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.
  • Page 11: How To Build The Adapter Configuration For Added Functions

    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 2...
  • Page 12: 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 into the package in their standard configurations (components and jumpers).
  • Page 13: Figure 7. Hardware Board Mb1440

    UM2448 STLINK-V3SET functional description Figure 7. Hardware board MB1440 UM2448 Rev 2 13/32...
  • Page 14: 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 14/32 UM2448 Rev 2...
  • Page 15: 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 16: Stlink-V3Set Functions

    STLINK-V3SET functional description UM2448 Figure 12. MB1441 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 17: Jtag

    The signals are 3.3-volt compatible and can perform from 720 bps to 15 Mbps. This function is available on MB1441.CN1 and MB1440.CN1.CN3. 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 18: Leds

    LEDs PWR LED: red light indicates that 5 V is enabled (only used when a daughter board is plugged). COM LED: refer to the Overview of ST-LINK derivatives technical note (TN1235) for details. Jumper configuration Table 3. MB1441 jumper configuration...
  • Page 19 UM2448 STLINK-V3SET functional description Table 4. MB1440 jumper configuration (continued) Jumper State Description Disable SWIM output Close in order to use CAN through CN5 Provide 5V power to CN7 (internal use) Provide 5V power to CN10 (internal use) Close in order to enable I...
  • Page 20: Board Connectors

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

    2. Input for STLINK-V3SET. 3. SWO is optional, required only for Serial Wire Viewer (SWV) trace. 4. Optional loopback of T_JCLK on target side, required if loopback removed on STLINK-V3SET side. 5. NC means not required for SWD connection. 6. Connect to GND on target, may be used by STLINK-V3SET for detection of connection.
  • Page 22: Virtual Com Port Connector

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

    Table 9. SWIM connector CN4 (continued) Pin number Description T_NRST 1. Input for STLINK-V3SET. 9.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 24: Spi Bridge Connector

    UART_RX CAN_RX UART_RTS I2C_SCL Reserved 1. TX signals are outputs for STLINK-V3SET, inputs for target. 2. RX signals are inputs for STLINK-V3SET, outputs for target. 3. Do not connect on target 9.2.8 SPI bridge connector Some bridge functions are provided on a 2x5-pin connector with 1.27 mm pitch CN8. The...
  • Page 25 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 target. 3. TX signals are outputs for STLINK-V3SET, inputs for target. UM2448 Rev 2 25/32...
  • Page 26: Flat Ribbons

    1. Input for STLINK-V3SET. 2. SWO is optional, required only for Serial Wire Viewer (SWV) trace. 3. Optional loopback of T_JCLK on target side, required if loopback removed on STLINK-V3SET side. 4. NC means not required for SWD connection. 5. Connect to GND on target, may be used by STLINK-V3SET for detection of connection.
  • Page 27: 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 use a more recent version of the toolchain, or update the ST-LINK driver from www.st.com...
  • Page 28: Bridge Interface

    Software configuration UM2448 target is connected to the STLINK-V3SET before the STLINK-V3SET is plugged to the host. This functionality is not available for STM8 targets. 11.5 Bridge interface The STLINK-V3SET implements an USB interface dedicated to bridge functions from USB to SPI/I C/CAN/UART/GPIOs of ST microcontroller target.
  • Page 29: Product Stlink-V3Set Revision History And Limitations

    UM2448 Product STLINK-V3SET revision history and limitations Product STLINK-V3SET revision history and limitations Table 18 presents the history and limitations of the product. Table 18. Product STLINK-V3SET revision history and limitations Known Product finish Product Revision Board Version good version...
  • Page 30: 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 31: 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 32 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