Loading...
 
Skip to main content

System Workbench for STM32


Trying to debug under linux mint

Hi all,
I'm trying to debug an STM32F746 discovery board, ac6 + Mars 2 eclipse release, on Linux Mint. Is it just a linux version thing? I get this error:

"Error with command: /home/smoky/eclipse/eclipse Mars2/plugins/fr.ac6.mcu.externaltools.arm-none.linux64_1.13.1.201703061524/tools/compiler/bin/arm-none-eabi-gdb --version
Cannot run program "/home/smoky/eclipse/eclipse": Unknown reason"

So it looks like a reference is missed off on the last line. Is that right? I've manually configured stlink 2-1, SWD debug options.

Any help welcome... So close!

Hi TurboMan,

Try to rename your eclipse folder root without space: "eclipse Mars2" by eclipse_Mars2 for example.

BR,
Elliot


Just because of a space?

Outstanding. I'll try your suggestion tonight. Thanks for that.

As you might have guessed I come from a windows background. But I hate it so I've been trying to get everything working on Linux recently. Now I come to think of it I remember other situations this affects too...

Yeah you can see the "cannot run program..." bit only goes up to the space... 😀 Ahh well.


Success! yep. replacing with underscore works a treat. Blinky on linux working a treat 😊

Many thanks again