2022-03-28 10:05 AM
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.
2022-03-31 04:18 AM
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