Stlink-V3E; Drivers And Firmware Upgrade; Etm Trace; Table 3. Setting Of Configuration Elements For Cn17 Trace Connector - ST STM32G474E-EVAL User Manual

Evaluation board with stm32g4xxqe mcu
Table of Contents

Advertisement

Hardware layout and configuration
5.1

STLINK-V3E

STLINK-V3E facility for debugging and flashing of STM32G474QET6 is integrated on the
STM32G474E-EVAL board. It features:
Self-powered through a USB connector (Micro-B)
USB 2.0 high-speed compatible interface
Direct firmware update support (DFU)
SWD and serial wire viewer (SWV) communication support
Drag-and-drop flash programming
Two LEDs: communication, power
The CN21 USB connector can be used to power the STM32G474E-EVAL regardless of the
STLINK-V3E facility used for debugging or programming STM32G474QET6. This holds
also when the STLINK standalone tool is connected to the CN14, CN15, CN16, or CN17
connector and used for debugging or programming the STM32G474QET6.
Power supply
Refer to
5.1.1

Drivers and firmware upgrade

The STLINK-V3E requires drivers to be installed on Windows
needs to be updated from time to time to benefit from new functionality or corrections. Refer
to the technical note Overview of ST-LINK derivatives (TN1235) for details.
Before connecting the STM32G474E-EVAL to a Windows PC via USB, a driver for
STLINK-V3E must be installed. It is available from www.st.com.
5.2

ETM trace

The CN17 connector is available to output trace signals used for debugging. By default, the
Evaluation board is configured such that, STM32G474QET6 signals PE2, PE3, and PE4 are
connected to trace outputs TRACECLK, TRACED0, and TRACED1 of CN17, but these
signals are shared with the audio codec, motor control connectors, and FMC.
Table 3
shows the setting of configuration elements to shunt PE3 and PE4 MCU ports to the
CN17 connector, to use them as debug trace signals.
Table 4
shows the setting of configuration I/Os to shunt PE2, PE3, PE4, and PE5 MCU ports
to use them as the right functions.
Element
R210
R207
16/66
provides more detail about powering the STM32G474E-EVAL.
www.st.com
for details about STLINK-V3E.

Table 3. Setting of configuration elements for CN17 trace connector

Setting
OFF
ON
OFF
ON
Default setting.
CN17 pin 14 connects to TRACED0.
CN17 pin 14 connects to JTAG_TDO.
Default setting.
CN17 pin 16 connects to TRACED1.
CN17 pin 16 connects to JTAG_TRST.
UM2514 Rev 5
Section 5.3:
®
and embeds firmware that
Configuration
UM2514

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the STM32G474E-EVAL and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Table of Contents