Knee Caps
Knee Caps

Reputation: 181

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.

Upvotes: 0

Views: 5660

Answers (2)

mathengineer
mathengineer

Reputation: 160

Also the problem is the mass storage option (that allows use the explorer to grab directly the hex files) and makes conflicts with the ide. I solved the problem using explorer and ejecting the board, then debugger goes fine.

Upvotes: 0

Knee Caps
Knee Caps

Reputation: 181

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

Upvotes: 0

Related Questions