I’m trying to setup the ability to start working with STM32 on my home computer, I have CubeMX installed, and am trying to get blinky working on a NUCLEO-F091RC. The project compiles without issues. When I try to run as “Ac6 STM32 C/C++ Application” I get the error “OpenOCD script generation error” (attached).
I have an openocd file in /usr/bin, and have run the command “xpm install --global @gnu-mcu-eclipse/openocd” in terminal to completion. When I go into debug configuration it comes up with the same error title and “Create Script Failure: fail to retrieve target” with “Reason: Internal Error”. I’m sure I have failed to connect something properly, or give the right path, but I can’t seem to figure it out. Any help would be greatly appreciated.
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 18.04.3 LTS
STMCubeMX Version - 5.5.0
Eclipse Version - Neon.3 Release (4.6.3)