Skip to main content
GAcqu.1
Visitor II
November 26, 2021
Question

Failed to start GDB server; Error in initializing ST-LINK; Reason: (4) No device found on target.

i have this error in cubeide.

Now i don't know what to do please help.

stm32f401 nucleo-64

STM32CubeIDEVersion: 1.7.0

Build: 10852_20210715_0634 (UTC)

OS: Windows 10, v.10.0, x86_64 / win32ide 1.7.0


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 topic has been closed for replies.

3 replies

moatjon
Associate II
November 26, 2021

Hi GAcqu,

This error means CubeIDE was able to find your ST-Link device, but no target chip connected to it. Are you using a Nucleo? If so, are the jumpers on the board connected properly?

Kind regards,

moatjon

ST Technical Moderator
November 29, 2021

Hello @GAcqu.1​ and welcome to the Community :)

Can you connect with STM32CubeProgrammer?

Make sure to update the ST-link firmware.

Check the USB cable, jumpers. You can try a different cable and/or USB port, boards.

When your question is answered, please close this topic by choosing Select as Best. This will help other users find that answer faster.

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
ST Technical Moderator
December 10, 2021

Hi @GAcqu.1​ ,

Were you able to resolve the issue ?

Please share your progress or resolution with the community here, so that more members can benefit from this discussion.

Thanks

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