6.3
Embedded STLINK-V3E
The way to program and debug the onboard STM32 MCU is by using the embedded STLINK-V3E.
The STM32G4 Nucleo-32 integrates the STLINK-V3E programming and debugging tool.
The embedded STLINK-V3E supports only SWD and VCP for STM32 devices. For information about debugging
and programming features, refer to the
STLINK-V3SET debugger/programmer for STM8 and STM32
user manual
(UM2448), which describes in details all the STLINK-V3E features.
Features supported on STLINK-V3E:
•
5V power supplied by USB connector (CN1)
•
USB 2.0 high-speed-compatible interface
•
Serial wire debugging (SWD) specific features:
–
3 V to 3.6 V application voltage on the SWD interface and 5 V tolerant inputs
–
Serial viewer (SWV) communication
•
Status LD1 LED (COM), blinking during communication with the PC
•
Fault red LED LD3 (OC), alerting on USB overcurrent request
•
5 V / 300 mA output power supply capability (U4), with current limitation and LED
•
5 V power green LED LD4 (5V_PWR)
6.3.1
Drivers
Before connecting the STM32G4 Nucleo-32 board to a Windows PC via USB, the user must install a driver for the
STLINK-V3E (not required for Windows 10). It is available at the
In case the STM32G4 Nucleo-32 board is connected to the PC before the driver is installed, some STM32G4
Nucleo-32 interfaces may be declared as “Unknown” in the PC device manager. In this case, the user must install
the dedicated driver files, and update the driver of the connected device from the device manager as shown in
.
Note:
Prefer using the USB Composite Device handle for a full recovery.
Figure 7.
USB composite device
Note:
37xx:
•
374E for STLINK-V3E without bridges functions
•
374F for STLINK-V3E with bridges functions
6.3.2
STLINK-V3E firmware upgrade
The STLINK-V3E embeds a firmware upgrade mechanism for in-situ upgrade through the USB port. As the
firmware may evolve during the lifetime of the STLINK-V3E product (for example new functionalities, bug fixes,
support for new microcontroller families), it is recommended to visit the
website before starting to use
the STM32G4 Nucleo-32 board and periodically, to stay up-to-date with the latest firmware version.
UM2397
Embedded STLINK-V3E
UM2397
-
Rev 2
page 11/30