ST-LINK V2 not entering DFU mode / gdb not found during STM32 upload (using STM32CubeIDE)
Hi,
I'm using STM32CubeIDE with an ST-LINK V2 debugger (possibly a clone). When I try to upload my program to the STM32 board, I encounter the following issues:
1. ST-LINK not entering DFU mode, so I can't update firmware.
2. STM32CubeIDE gives this error:
Error with command: GNU debugger version --version
Cannot run program GNU debugger versi: Launching failed
Setup:
- STM32CubeIDE 1.18.1
- ST-LINK V2
- Board: STM32F103C8T6
- Windows 10
Things I tried:
- Installed ST-LINK drivers (STSW-LINK009)
- Installed STM32CubeProgrammer
- Checked Device Manager: ST-LINK appears
- Tried STM32CubeIDE reinstall
Need help with:
- Forcing DFU mode for ST-LINK V2
- Resolving GNU debugger version - issue in STM32CubeIDE
Thanks!
