Skip to main content
CZhen.1
Associate
Jan 14, 2022 6:47 PM UTC
Question

No ST-LINK/V2 debug probe found connected to the USB port I am using stm32CudeMX to generate a FW on a NUCLEO-G431RB board with the IAR workbench for ARM. IAR workbench version is 9.10.1.36323. The code was built without error, but the download faile

Step1: Start My project from ST Board:

0693W00000JM2j3QAD.pngStep 2: Selected the board and Start Project:

0693W00000JM2jSQAT.pngStep 3: In Project Manager, chose EWARM as Toolchain/IDE:

0693W00000JM2jXQAT.pngStep 4: Generate Code and Open Project:

0693W00000JM2jmQAD.pngStep 5: Built the code without errors:

0693W00000JM2jwQAD.pngStep 6: Downloaded the code and got Fatal error:

0693W00000JM2k1QAD.pngIAR product info:

0693W00000JM2kQQAT.png

This topic has been closed for replies.

7 replies

MM..1
Super User
Jan 14, 2022 7:55 PM UTC

G431 is relative new, you need new stlink fw and tools to flash. I have similar troubles with first use this nucleo with IDE . Need upgrade stlink GDBserver and fw onboard stlink too.

CZhen.1
CZhen.1Author
Associate
Jan 14, 2022 8:11 PM UTC

Thanks for the reply, very appreciated! I am really new to the STM32 family. Could you please be a bit more specific on how to upgrade stlink GDBserver and fw onboard stlink exactly?

TDK
Jan 14, 2022 9:36 PM UTC

Can you connect with STM32CubeProgrammer? Does it show up in device manager?

"If you feel a post has answered your question, please click ""Accept as Solution""."
CZhen.1
CZhen.1Author
Associate
Jan 17, 2022 4:27 PM UTC

The STM32CubeProgammer download OK, but still getting the "No ST-LINK detected" problem:

0693W00000JMGRrQAP.pngThe ST link show up in the device manager OK:

0693W00000JMGTdQAP.png

MM..1
Super User
Jan 17, 2022 5:10 PM UTC

Download install and run STM32CubeProgammer after build in IAR

and try load with STM32CubeProgammer. When you done reconfig IAR to use external cmd flash and try STM32CubeProgammer_CLI

And your IDE screenshot have download success displayed, then your stlink is disconected by code run maybe you use SWD in code , then no debuger will work.

MM..1
Super User
Jan 15, 2022 7:50 AM UTC