Skip to main content
sk2
Visitor II
February 4, 2023
Question

Hi, I am using STM32H7A3ZI.I tried to debug but I am getting Target no device found.Error in initializing ST-LINK device.Reason: No device found on target. please help to resolve this issue.

..

This topic has been closed for replies.

2 replies

Tesla DeLorean
Guru
February 4, 2023

Custom board?

Suggests the ST-LINK is not wired in properly or the MCU is not running

Check voltage on VCAP and NRST pins

Check supplies especially VDDA

​

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
ChahinezC
Associate II
February 7, 2023

Hello @sk​,

It seems the issue you are facing is a connection problem, try checking the connection of the board/ST-Link or use better cables or check the jumpers.

You can also try erasing the flash using STM32Cubeporgrammer, and make sure to activate the gdb server log in the "Debugger" tab of your debug configuration, this may helped you.

Regards,

Chahinez.