cancel
Showing results for 
Search instead for 
Did you mean: 

Failed to execute MI command: -exec-run : Don't know how to run No ST-Link options in STMCubeIDE,

Ben1
Associate III

Hello,

I have issues to launch a debug session with STMCubeIDE on Ubuntu 20.04. When I try, I have the following error :

Failed to execute MI command: -exec-run : Don't know how to run

It seems that my GDB is not set properly. I tried to specify several differents gdb executables but none of them seems to work. The attached file shows my debugger settings windows, and we see that probe options are not there. I remember that in the past I was able to choose between J-Link or ST-Link probe for example, and specify some other options.

Can you help me please?

Thank you very much

1 REPLY 1
Ben1
Associate III

I figured out my dummy mistake : I was creating C/C++ Debug configuration. After creating STM Cortex debug configuration, I have the error : STM32 target device not found for selected build configuration. (see attached file). Where do I specify this? Thank you.

EDIT : when I setup the project via Eclipse CDT, I have a localhost timeout error, like if OpenOCD wasn't launched