Cube IDE 1.17.0 Windows 11 cannot launch openocd
- January 9, 2025
- 2 replies
- 2865 views
Fresh installation of CubeIDE 1.17.0 on Windows 11.
Attempting to program U585 IoT kit following instructions here:
The project builds (with some warnings), but when I attempt to flash with run->run it immediately bails with the error:
Failed to start GDB server
Error launching GDB server. Session terminated
Cannot run program ""${stm32cubeide_openocd_path}\openocd"": Code 0x10b: The directory name is invalid.
This appears to be the default path in the run configuration (and the debug configuration) - problem is I have no idea of the value of the env var stm32cubeide_openocd_path - and whether it does contain a bad path.
I had expected this would "just work" - would be very grateful for any pointers. Hopefully it's something straightforward. Thanks.
