•
Through the STM32CubeProgrammer (STM32CubeProg) tool (free download available from
STMicroelectronics web site: www.st.com), as shown in
4.4.1
Drag-and-drop procedure
1.
Install the ST-LINK drivers from the
2.
On the NUCLEO-G431RB board, set the JP5 jumper in position U5V.
3.
Plug the NUCLEO-G431RB board to the host PC using a Type-A to Micro-B USB cable. If the ST-LINK
driver is correctly installed, it is recognized as an external memory device called "NUCLEO" or any similar
name.
4.
Drag and drop the binary file of the firmware demonstration (P-NUCLEO-IHM003.out) into the "NUCLEO"
device, listed inside the list of the disk drives (click on the Start button of Windows
CUBE-SPN7 firmware pack.
5.
Wait until the programming is complete.
4.4.2
STM32CubeProgrammer tool
1.
Open the STM32CubeProgrammer tool (STM32CubeProg).
2.
Connect the NUCLEO-G431RB board to the PC with a USB Type-A to Micro-B cable through the USB
connector (CN1) on the NUCLEO-G431RB board.
3.
Open either the Potentiometer.out or Potentiometer.hex file as the code to be downloaded. The
corresponding window appears as shown in
4.
Click on the Download button (refer to
UM2538 - Rev 1
Section 4.4.2
www.st.com
website.
Figure
7.
Figure 7.
STM32CubeProgrammer tool
Figure
8).
UM2538
Upload the firmware example
®
), contained into the X-
page 11/27
Need help?
Do you have a question about the STM32 and is the answer not in the manual?
Questions and answers