cancel
Showing results for 
Search instead for 
Did you mean: 

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.

sk2
Associate
 
2 REPLIES 2

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
Up vote any posts that you find helpful, it shows what's working..
ChahinezC
Lead

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.