background image

March 2020

UM2448 Rev 4

1/40

1

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.

www.st.com

Downloaded from

Arrow.com.

Summary of Contents for STLINK-V3SET

Page 1: ... 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 ...

Page 2: ...ce 10 7 1 2 Adapter configuration for added functions 11 7 1 3 How to build the adapter configuration for added functions 12 7 2 Hardware layout 13 7 3 STLINK V3SET functions 17 7 3 1 SWD with SWV 17 7 3 2 JTAG 18 7 3 3 SWIM 18 7 3 4 Virtual COM port VCP 18 7 3 5 Bridge functions 18 7 3 6 LEDs 20 7 4 Jumper configuration 20 8 Board connectors 21 8 1 Connectors on MB1441 board 21 8 1 1 USB Micro B ...

Page 3: ...de 30 11 3 STLINK V3SET frequency selection 30 11 4 Mass storage interface 30 11 5 Bridge interface 31 12 B STLINK VOLT board extension description 32 12 1 Features 32 12 2 Connection instructions 32 12 2 1 Closed casing for STM32 debug STDC14 connector only 32 12 2 2 Opened casing for access to all connectors through MB1440 adapter board 34 12 3 Selection of bridge GPIO direction 35 12 4 Jumper c...

Page 4: ...N4 23 Table 10 CAN connector CN5 24 Table 11 SWD wires connector CN6 24 Table 12 UART bridge connector CN7 25 Table 13 SPI bridge connector CN8 25 Table 14 Bridge connector CN9 25 Table 15 ARM10 compatible connector pinout target side 27 Table 16 ARM20 compatible connector pinout target side 27 Table 17 Toolchain versions supporting STLINK V3SET 30 Table 18 MB1598 jumper configuration 36 Table 19 ...

Page 5: ...10 MB1440 top layout 16 Figure 11 MB1441 mechanical drawing 16 Figure 12 MB1441 mechanical drawing 17 Figure 13 Firmware selection for a second Virtual COM port 19 Figure 14 USB Micro B connector CN5 front view 21 Figure 15 MB1441 mechanical dimensions in millimeters 29 Figure 16 Closed casing for STM32 debug STDC14 connector only 33 Figure 17 Opened casing for access to all connectors through MB1...

Page 6: ...WIM 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 I2 C CAN GPIOs specific features 3 V to 3 6 V application voltage support and 5 V to...

Page 7: ...le 1 a Arm is a registered trademark of Arm Limited or its subsidiaries in the US and or elsewhere Table 1 Ordering information Order code Description STLINK V3SET STLINK V3 modular in circuit debugger and programmer for STM8 and STM32 B STLINK VOLT Voltage adapter board for STLINK V3SET Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloa...

Page 8: ...he U S and other countries b All other trademarks are the property of their respective owners c On Windows only Table 2 ON OFF convention 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 Downlo...

Page 9: ...ance 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...

Page 10: ...er 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 It only supports STM32 microcontrollers The working voltage range is from 3 V to 3 6 V Figure 2 Probe top side 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...

Page 11: ...ors 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 Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Download...

Page 12: ...e main module configuration and back Figure 5 Operating mode to change the configuration Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com...

Page 13: ...Figure 8 Figure 9 and Figure 10 help users locate the features on the boards The mechanical dimensions of the STLINK V3SET product are shown in Figure 11 and Figure 12 Figure 6 Hardware board MB1441 Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arr...

Page 14: ...ed from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com ...

Page 15: ...3 2V 670 7RS 6LGH 0 Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from ...

Page 16: ...7 1 3 2V 6 38 6 38 7RS 6LGH 0 Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downlo...

Page 17: ...d functions includes both the MB1441 and MB1440 boards 7 3 1 SWD with SWV SWD protocol is a Debug Program protocol used for STM32 microcontrollers with SWV as a trace The signals are 3 3 volt compatible and can perform up to 24 MHz This function is available on MB1441 CN1 and MB1440 CN1 CN2 CN6 Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com ...

Page 18: ... 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 A second Virtual COM port may be activated as detailed later in Section 7 3 5 Bridge UART 7 3 5 Bridge functions The STLINK V3SET provides ...

Page 19: ...igure 13 The hardware flow control may be activated by physically connecting UART_RTS and or UART_CTS signals to the target If not connected the second virtual COM port works without hardware flow control Note that the hardware flow control activation deactivation cannot be configured by software from the host side on a virtual COM port consequently configuring a parameter related to that on the h...

Page 20: ...nal use JP4 OFF Disable SWIM input JP5 ON JTAG clock loopback done on board JP6 OFF Disable SWIM output JP7 OFF Close in order to use CAN through CN5 JP8 ON Provide 5V power to CN7 internal use JP9 ON Provide 5V power to CN10 internal use JP10 OFF Close in order to enable I2 C pull ups JP11 Not used GND JP12 Not used GND Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com...

Page 21: ...he 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 5 Table 5 USB Micro B connector pinout CN5 Pin number Pin name Function 1 VBUS 5 V power 2 DM D USB differential pair M 3 DP D USB differential pair P Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow...

Page 22: ...nout CN1 Pin No Description Pin No Description 1 Reserved 1 1 Do not connect on target 2 Reserved 1 3 T_VCC 2 2 Input for STLINK V3SET 4 T_JTMS T_SWDIO 5 GND 6 T_JCLK T_SWCLK 7 GND 8 T_JTDO T_SWO 3 3 SWO is optional required only for Serial Wire Viewer SWV trace 9 T_JRCLK 4 NC 5 4 Optional loopback of T_JCLK on the target side required if loopback removed on the STLINK V3SET side 5 NC means not re...

Page 23: ... 9 T_JCLK T_SWCLK 10 GND 2 11 T_JRCLK 4 NC 3 4 Optional loopback of T_JCLK on the target side required if loopback removed on the STLINK V3SET side 12 GND 2 13 T_JTDO T_SWO 5 5 SWO is optional required only for Serial Wire Viewer SWV trace 14 GND 2 15 T_NRST 16 GND 2 17 NC 18 GND 2 19 NC 20 GND 2 Table 8 Virtual COM port connector CN3 Pin number Description Pin number Description 1 T_VCP_TX 1 1 In...

Page 24: ...umber Description 1 T_CAN_VCC 1 1 Input for STLINK V3SET 2 T_CAN_TX 3 T_CAN_RX Table 11 SWD wires connector CN6 Pin number Description 1 T_VCC 1 1 Input for STLINK V3SET 2 T_SWCLK 3 GND 4 T_SWDIO 5 T_NRST 6 T_SWO 2 2 Optional required only for Serial Wire Viewer SWV trace Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow c...

Page 25: ...PIO1 5 SPI_MISO 6 Bridge_GPIO2 7 SPI_SCK 8 Bridge_GPIO3 9 GND 10 Reserved 1 1 Do not connect on the target Table 14 Bridge connector CN9 Pin number Description Pin number Description 1 SPI_NSS 11 Bridge_GPIO0 2 SPI_MOSI 12 Bridge_GPIO1 3 SPI_MISO 13 Bridge_GPIO2 4 SPI_SCK 14 Bridge_GPIO3 5 GND 15 Reserved 1 6 Reserved 1 16 GND 7 I2C_SCL 17 UART_RTS 8 CAN_RX 2 18 UART_RX 2 Downloaded from Arrow com...

Page 26: ...ow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Dow...

Page 27: ...nnection 10 T_NRST Table 16 ARM20 compatible connector pinout target side Pin No Description Pin No Description 1 T_VCC 1 1 Input for STLINK V3SET 2 T_JTMS T_SWDIO 3 GND 4 T_JCLK T_SWCLK 5 GND 6 T_JTDO T_SWO 2 2 SWO is optional required only for Serial Wire Viewer SWV trace 7 T_JRCLK 3 NC 4 3 Optional loopback of T_JCLK on the target side required if loopback removed on the STLINK V3SET side 4 NC ...

Page 28: ...w com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Down...

Page 29: ...wnloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded f...

Page 30: ...4 Mass storage interface The STLINK V3SET implements a virtual mass storage interface allowing the programming of an STM32 target flash memory with drag and drop action of a binary file from a file explorer This ability requires the STLINK V3SET to identify the connected target before Table 17 Toolchain versions supporting STLINK V3SET Toolchain Description Minimum Version STM32CubeProgrammer ST P...

Page 31: ...N UART GPIOs of the ST microcontroller target This interface is firstly used by STM32CubeProgrammer in order to allow target programming through SPI I2C CAN bootloader A host software API is provided in order to extend the use cases Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded ...

Page 32: ... board 4 Put the plastic edge in place in order to guide the B STLINK VOLT board connection to the STLINK V3SET base board MB1441 5 Connect the B STLINK VOLT board to the STLINK V3SET base board MB1441 6 Close the casing bottom cover Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded...

Page 33: ...ded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from A...

Page 34: ...reviously plugged to the STLINK V3SET base board MB1441 Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downlo...

Page 35: ...om Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloa...

Page 36: ...per State Description JP1 ON JTAG clock loopback done on board Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com...

Page 37: ...loaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded fro...

Page 38: ...pment into an outlet on circuit different from that to which the receiver is connected Consult the dealer or an experienced radio TV technician for help Note Use a USB cable with length lower than 0 5m and added ferrite on the PC s side Other certifications EN 55032 2012 EN 55024 2010 CFR 47 FCC Part 15 Subpart B Class B Digital Device and Industry Canada ICES 003 Issue 6 2016 Electrical Safety qu...

Page 39: ...ow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Dow...

Page 40: ...e property of their respective owners Information in this document supersedes and replaces information previously supplied in any prior versions of this document 2020 STMicroelectronics All rights reserved Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded f...

Reviews: