Skip to main content
CZhen.1
Associate
January 14, 2022
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

  • January 14, 2022
  • 7 replies
  • 5244 views

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
January 14, 2022

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
January 14, 2022

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
January 14, 2022

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
January 17, 2022

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
January 17, 2022

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
January 15, 2022