Skip to main content
Mohamed moumin.
Associate
April 7, 2022
Question

Showing gdb server error Target no device found Error in initializing ST-LINK device. Reason: No device found on target.

  • April 7, 2022
  • 4 replies
  • 9895 views

Hello teams,

we are facing some issue with ST microcontroller and ST-link debugger help me out from this issue.

GDB server error and below its showing, Target no device found

Error in initializing ST-LINK device. Reason: No device found on target. when im try to flash program and debug at the time its showing this error using the USB type st-link debugger.

And some other issue also we are facing in stm32 nucleo-F401RE like The interface firmware failed to reset/halt the target MCU.

ill attached screenshot in this place find out..0693W00000LxCguQAF.png0693W00000LxCdmQAF.png

This topic has been closed for replies.

4 replies

Mr. AK
Associate II
April 15, 2022

Error in final launch sequence:

Failed to start GDB server

Failed to start GDB server

Error in initializing ST-LINK device.

Reason: (4) No device found on target.

this same error is occurring for me also. I'm using STM32H745ZGIT6 144 pins (NUCLEO-H745ZI-Q board), dual core device. I have two of these and the first one is still working fine but now when I started to use the second one, I'm not able to debug the code. And this error is shown as message. Usually, "waiting for debugger" message is displayed on the console when debugging is done. But with this second board, I'm not seeing any such message, instead, it stops by saying "No Device Found On Target" . I tried the ST-LINK firmware updating through STM32cubeIDE and it was successful but still when debugging this error shows-up. Please help

ST Technical Moderator
April 16, 2022

Hello,

Check if STM32CubeProgrammer can connect.

Check NRST and VDDA.

Have a look at this post, it may help you.

Imen

In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question. Thanks
Mr. AK
Associate II
May 11, 2022

Hi,

Thank you so much for reaching out to reply my query.

I checked all the hardware connection in NUCLEO-H745ZI-Q board but there was no faults. I read about deadlock from the document UM2408 (a read about BOT0 pin from the post you have shared), user manual and followed the steps to come out a deadlock situation and it works now. I'm able to debug the device now.

Thank you