2020-03-15 03:40 AM
Hello,
I try to launch my code on my STM32 board with cube IDE but I have the next error :
///////////////////////////////////////////////////////////////
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.
///////////////////////////////////////////////////////////////
I am in version 1.3.0, I made the ST-LINK update.
I saw on lot of forum but the solutions I found didn't works for me.
I tried to reset ship with ST-LINK utility, to switch USB port, to update ST-LINK without firewall...
Have you some ideas please ?
Cordially.
2020-03-15 04:56 AM
What debugger? What device? Did you try connect under reset?
2020-03-15 05:04 AM
The debugger is STM32 CORTEX-M, on STM32L152RE device and yes I tried to connect under reset.
Thanks for your answer
2020-03-16 01:49 AM
I've seen same a couple of times. The only way out I found was to run CubeProgrammer and connect using DFU then do a full erase of the chip. Even from CubeProgrammer connecting via ST-LINK didn't work I had to use DFU. After the full erase all worked properly again.
2020-03-20 05:29 AM
hi, sorry for late reply,
I will try that thx.