Stlink-V3mini en 10040561
Stlink-V3mini en 10040561
Introduction
The STLINK-V3MODS and STLINK-V3MINI are stand-alone debugging and programming
mini probes for STM32 microcontrollers. These products are designed in a very low form
factor and both offer high performance without any compromise to functions. They support
the JTAG/SWD interfaces for the communication with any STM32 microcontroller located on
an application board.
They provide a Virtual COM port interface allowing the host PC to communication with the
target microcontroller through one UART. The STLINK-V3MODS also provides bridge
interfaces to several communication protocols allowing for instance the programming of the
target through bootloader.
The STLINK-V3MODS and STLINK-V3MINI are both proposed for different uses. The
STLINK-V3MODS may be directly soldered on a host PCB including a STM32 application-
based with its 2 x16-pin castellated vias connection, while the STLINK-V3MINI offers
STDC14 connectivity with an included STDC14 to STDC14 flat cable.
Figure 1. STLINK-V3MODS product top view Figure 2. STLINK-V3MINI product top view
Contents
1 Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
2 General information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
3 System requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
4 Development toolchains . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
5 Ordering information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
6 Conventions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
7 Quick start . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
9 Board connectors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
9.1 Connectors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
9.1.1 USB Micro-B . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
9.1.2 32-pin edge connector for STLINK-V3MODS (STM32 JTAG/SWD, VCP
and bridges) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
9.1.3 STDC14 for STLINK-V3MINI (STM32 JTAG/SWD and VCP) . . . . . . . . 19
10 Software configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
10.1 Supporting toolchains (not exhaustive) . . . . . . . . . . . . . . . . . . . . . . . . . . 20
10.2 Drivers and firmware upgrade . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
Revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
List of tables
List of figures
1 Features
Common features
• Stand-alone probe
• Approximately 15 x 30 mm high-density integration PCB
• 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
– JTAG communication support
– SWD and serial wire viewer (SWV) communication 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
• Drag-and-drop Flash programming
• Two color LEDs: communication, power
STLINK-V3MODS features
• Direct-to-PCB implementation by 2 x 16-pin 1.27mm edge castellated vias with all
signals available in a minimum PCB required surface
• Multi-path bridge USB to SPI/UART/I2C/CAN/GPIOs specific features:
– 3 V to 3.6 V application voltage support and 5 V tolerant inputs
STLINK-V3MINI features
• Delivered with 1.27 mm pitch STDC14 debug connector and STDC14 to STDC14 flat
cable
• Includes STDC14 signals protection
Note: STLINK-V3MODS and STLINK-V3MINI do not provide power supply to the target
application.
2 General information
a. Arm is a registered trademark of Arm Limited (or its subsidiaries) in the US and or elsewhere.
3 System requirements
4 Development toolchains
• Keil® MDK-ARM(b)
• IAR™ EWARM(b)
• GCC-based IDEs
5 Ordering information
6 Conventions
Table 2 provides the conventions used for the ON and OFF settings in the present
document.
a. macOS® is a trademark of Apple Inc. registered in the U.S. and other countries.
b. On Windows® only.
7 Quick start
This section describes how to start a development quickly using the STLINK-V3MODS and
STLINK-V3MINI.
Before installing and using these products, accept the Evaluation Product License
Agreement from the www.st.com/epla web page.
The STLINK-V3MODS and STLINK-V3MINI are stand-alone debugging and programming
probes for STM32 microcontrollers.
• They support protocols JTAG and SWD to communicate with any STM32
microcontroller.
• They provide a Virtual COM port interface allowing the host PC to communicate with
the target microcontroller through one UART
• The STLINK-V3MODS provides bridge interfaces to several communication protocols
allowing for instance the programming of the target through bootloader.
To start using STLINK-V3MINI, follow the steps below:
1. Check that the STDC14 to STDC14 flat cable is present inside the box.
2. Install/update the IDE/STM32CubeProgrammer to support the STLINK-V3MINI
(drivers).
3. Connect the flat cable between the STLINK-V3MINI and the application.
4. Connect a USB Type-A to Micro-B cable between the STLINK-V3MINI and the PC.
5. Check that the PWR LED is green and the COM LED is red.
6. Open the development toolchain or STM32CubeProgrammer software utility. For more
details, refer to the www.st.com/stlink-v3mini web site.
Using STLINK-V3MODS requires to be firstly soldered onto the destination application
including the targeted STM32 microcontroller. Some recommendations are given here:
1. Reserve in the design the necessary PCB area under the STLINK-V3MODS by using
the recommended PCB land pattern.
2. Apply the recommended reflow soldering profile, from Soldering recommendations and
package information for Lead-free ECOPACK microcontrollers (AN2639), and verify
that contacts between host board and module meet the IPC Specification (see IPC-A-
610-F Acceptability of Electronic Assemblies).
3. Install/update the IDE/STM32CubeProgrammer to support the STLINK-V3MODS
(drivers).
4. Power supply the application board.
5. Connect a USB Type-A to Micro-B cable between the STLINK-V3MODS and the PC.
6. Check that the PWR LED is green and the COM LED is red.
7. Open the development toolchain or STM32CubeProgrammer software utility. For more
details, refer to the www.st.com/stlink-v3mods web site.
3&
FRQQHFWLRQ
7R
DSSOLFDWLRQ
06Y9
3&
FRQQHFWLRQ +RVWERDUG
XW
D\R
R D UGO V
E Q
2Q QHFWLR
FRQ
06Y9
For the STLINK-V3MODS, the connections are done with the host board by tracks.
&1IRUFH
UHVHW
670)
[SLQ
PLFURFRQWUROOHU
HGJH
FRQQHFWRU
FDVWHOODWHG
YLDV
/'67/,1.
/'9
IDXOW
SRZHU
06Y9
&167'&
FRQQHFWRU
67/,1.
90,1,RQO\
06Y9
8.4.2 JTAG
JTAG protocol is a Debug/Program protocol used for STM32 microcontrollers. The signals
are 3.3 V compatible and may perform up to 21 MHz. This function is available on CN2
(STLINK-V3MODS) and CN5 (STLINK-V3MINI).
Bridge SPI
SPI signals are available on CN2 pins 7, 14, 23 and 25.
Bridge I2C
I2C signals are available on CN2 pins 16 and 17. It is necessary to add externally 680 Ω
pull-up resistors on the host application board.
Bridge CAN
CAN logic signals (Rx/Tx) are available on CN2 pins 9 and 10, they may be used as input
for an external CAN transceiver.
Bridge UART
UART signals with hardware flow control (CTS/RTS) are available on CN2 pins 1 to 3 and
11. They need a dedicated firmware to be programmed on the main module before being
used. Without this firmware, the Virtual COM port function must be used instead (no
hardware flow control).
Bridge GPIOs
Four GPIO signals are available on CN2 pins 18 and 21. Basic management is provided by
the public ST bridge software interface.
8.4.5 LEDs
PWR LED: red light indicates that 5 V is enabled.
COM LED: refer to the Overview of ST-LINK derivatives technical note (TN1235) for details.
FAULT LED: Indicates USB overcurrent request.
9 Board connectors
9.1 Connectors
Per convention, please refer to Table 3 for I/O Type definition:
S Supply pin
I Input only pin
O Output only pin
I/O Input/Output pin
The related pinout for the USB ST-LINK connector is listed in Table 4.
1 VBUS 5 V power
2 DM (D-) USB differential pair M
3 DP (D+) USB differential pair P
4 ID -
5 GND GND
1 - Reserved(1) -
2 - Reserved(1) -
3 1 T_VCC(2) I
4 2 T_JTMS/T_SWDIO O
5 3 GND S
6 4 T_JCLK/T_SWCLK O
7 5 GND S
8 6 T_JTDO/T_SWO(3) I
9 7 T_JCLK O
(4)
10 8 T_JTDI/NC O
11 9 GNDDetect(5) I
12 10 T_NRST O
13 - T_VCP_RX O
14 - T_VCP_TX I
1. Do not connect on target.
2. Input for STLINK-V3MINI.
3. SWO is optional, required only for Serial Wire Viewer (SWV) trace.
4. NC means not required for SWD connection.
5. Connect to GND on target, may be used by STLINK-V3MINI for detection of connection.
10 Software configuration
Note: Some of the very first toolchain versions supporting the STLINK-V3MODS and STLINK-
V3MINI (in runtime) might not install the complete USB driver for STLINK-V3MODS and
STLINK-V3MINI (especially the STLINK-V3MODS bridge USB interface description might
miss). In that case, either use a more recent version of the toolchain, or update the STLINK-
V3MINI driver from www.st.com (see Section 10.2).
V3MINI to identify the connected target before enumerating on the USB host. As a
consequence, this functionality is available only if the target is connected to the STLINK-
V3MODS and STLINK-V3MINI.
WĞĚŐĞŽĨŚŽƐƚďŽĂƌĚ
ŽŶŽƚƉůĂĐĞĐŽŵƉŽŶĞŶƚƐ
ŝŶƚŚŝƐĂƌĞĂ
Ϯϵ͘ϵϳŵŵ
Dϭϰϲϳ
ϯŵŵŵŝŶ͘
ϭϱ͘Ϯϰŵŵ
06Y9
Part 15.21
Any changes or modifications to this equipment not expressly approved by
STMicroelectronics may cause harmful interference and void the user's authority to operate
this equipment.
Part 15.105
This equipment has been tested and found to comply with the limits for a Class A digital
device, pursuant to part 15 of the FCC Rules. These limits are designed to provide
reasonable protection against harmful interference when the equipment is operated in a
commercial environment. This equipment generates, uses, and can radiate radio frequency
energy and, if not installed and used in accordance with the instruction manual, may cause
harmful interference to radio communications. Operation of this equipment in a residential
area is likely to cause harmful interference in which case the user will be required to correct
the interference at his own expense.
Compliance Statement
Notice: This device complies with Industry Canada licence-exempt RSS standard(s).
Operation is subject to the following two conditions: (1) this device may not cause
interference, and (2) this device must accept any interference, including interference that
may cause undesired operation of the device.
Déclaration de conformité
Avis: Le présent appareil est conforme aux CNR d'Industrie Canada applicables aux
appareils radio exempts de licence. L'exploitation est autorisée aux deux conditions
suivantes: (1) l'appareil ne doit pas produire de brouillage, et (2) l'utilisateur de l'appareil doit
accepter tout brouillage radioélectrique subi, même si le brouillage est susceptible d'en
compromettre le fonctionnement.
Étiquette de conformité à la NMB-003 d'Industrie Canada: CAN ICES-3 (A)/NMB-3(A).
Revision history
STMicroelectronics NV and its subsidiaries (“ST”) reserve the right to make changes, corrections, enhancements, modifications, and
improvements to 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.
Purchasers are solely responsible for the choice, selection, and use of ST products and ST assumes no liability for application assistance or
the design of Purchasers’ products.
Resale of ST products with provisions different from the information set forth herein shall void any warranty granted by ST for such product.
ST and the ST logo are trademarks of ST. For additional information about ST trademarks, please refer to www.st.com/trademarks. All other
product or service names are the property of their respective owners.
Information in this document supersedes and replaces information previously supplied in any prior versions of this document.