idestm32truestudiostm32cubemx

STM32CUBEIDE st link gdb debug error in final launch sequence


So, I am learning stm32 mcus, using a nucleo f4 board.

Everything was working fine and now debug launch fails.

Actually, I was doing one debug, closed it and next debug session won't launch.

It starts debug on Linux or on Windows with OpenOCD, but ST-Link GDB debug fails (gdb does work on linux).

This is the error message:

!https://imgur.com/a/cVve9rY

Already did allow the stlink server in the windows firewall.


Solution

  • Avast antivirus was deleting the STLINK server exe file, added an exception and it works.