cancel
Showing results for 
Search instead for 
Did you mean: 

STM32CUBEIDE cannot connect to ST-LINK DEVICE

chriskuku
Senior II

When launching a debuggee in STM32CUDE IDE I'm getting an error saying:

Error in initializing ST-LINK device.

Reason: No device found on target.

 STM32CUBEIDE is 1.9.0. ST-LINK is ona STM32F407G-DISC1 with a target connected through SWD.

1 REPLY 1

Hello @chriskuku​ ,

First, check that the jumpers are correct on your board, especially the one for the ST-LINK.

Then, try to connect your board with ST-LINK Utility or STM32CubeProgrammer.

In the ST-LINK configuration area, try the following configuration:

Serial number: Refresh to get your ST-LINK serial

Mode: Under reset

Reset mode: Core reset

Finally, try to connect your board.

Otherwise, you may have damaged the board.

I hope this helps.

BeST Regards,

Walid