Troubleshooting and More Info
Last updated
Last updated
Here are some common errors we've seen over the years:
If somehow it says Program file does not exist, you can click Search Project and select the correct .elf file. In our case,
Release/SW Tutorial 2022.elf
.
You have already imported the folder but just didn't see that. To solve this just open the window of c/c++ projects.
Click the tiny "two windows button to show the project
If this still don't work, at the top bar select Window" -> "Show View" -> "C/C++ Projects"
This happens because the exe file is located in a directory with Chinese characters and is not supported by the installer. Solution: Move the exe file to a directory with no Chinese characters in its path.
Windows Solution:
Select Run Configurations, scroll all the way down that page, there’ll be a link to download the STLink Server. Follow the on-screen description.
Check your OpenOCD path
Windows:
In OpenOCD Command, the path should end with “\openocd.exe”
Mac:
In OpenODC Command, the path should end with “\openocd”
Since STMCubeIDE is based on Eclipse, you can configure the theme, keybindings, formatter and more.
What I have configured:
Dark theme
Clang-formatter
Auto-complete
VSCode keybindings