Forum: System Workbench for STM32

Can't debug with Eclipse Photon

I just downloaded a copy of Eclipse Photon and installed SW4STM32. I’m using MacOS High Sierra. Then I created a simple project with STM32CubeMX for the STM32F446RE Nucleo board and imported it into Eclipse Photon. I was able to build but when I tried to debug, I got this error message:

Launching ‘MyProgram Debug” has encountered a problem.

Error with command: /Applications/Eclipse Photon.app/Contents/Eclipse/plugins/fr.ac6.mcu.externaltools.arm-none.macos64_1.16.0.201807130628/tools/compiler/bin/arm-none-eabi-gdb --version
Cannot run program “/Applications/Eclipse”: Unknown reason

Here are the software versions I am attempting to use:
MacOS High Sierra, 10.13.5
STM32CubeMX, 4.26.0
STM32F4 Software Package, 1.21.0
Eclipse Photon

Anyone know if this is something I can fix?

France

Problem is, most surely, you installed Eclipse in a directory with a space in its name (“Eclipse Photon”); try removing the space and it should work.

Regards,

Bernard (Ac6)

Yes, I did that. And I now see exactly what the error message is telling me. Thank you for such a rapid reply.