Showing results for 
Search instead for 
Did you mean: 

Working with STM32 is so frustrating

Associate III

This morning I got an email from ST which included a section on using VS Code to target STM32 CubeMX projects.

This appeals to me since the STM32CubeIDE is seriously lacking in focus from ST. It has looooooong standing bugs which no-one cares about, but which many people have reported and complained about. It gets very little attention from ST, presumably because they're going to kill it off and move everyone to VS Code.

So I watch the video and decided to give CubeMX integration with VS Code a try. Doing so I realise I need to have CubeMX for Mac installed as it needs an "absolute path to executable". So I find the page to download that for macOS only to find the page doesn't load the "get software" section. Doesn't matter whether you log-in or not, that section won't load. I've tried several different browsers too.

Honestly it is ALWAYS like this when dealing with ST Software - full of bugs and frustrations that never get addressed.


Senior III

I've set up VS Code for STM32 projects years ago. Setting up compiling and debugging is a lot of work. In addition to correctly building I was eventually able to even get register view and SWO printing working in debug mode. It worked on both Windows 10 and Ubuntu. So it can be done! I manually made the CMake file then and all the code was hand written(no ST HAL libraries). I haven't tried the new Cmake export function by STM32CubeMX yet as we use STM32CubeIDE at my current job and I'm used to most of its quirks.

Honestly despite its flaws ST has better examples and tools than most other vendors I've tried. Many bugs are fixed and addressed eventually. But things like download page not working has no excuse in my opinion (I've encountered that several times).

I recommend the YouTube channel ControllersTech which features many STM32 examples.

Kudo posts if you have the same problem and kudo replies if the solution works.
Click "Accept as Solution" if a reply solved your problem. If no solution was posted please answer with your own.
Community manager
Community manager

Hi @KMill 

Sorry to hear you're having issues downloading CubeMX for Mac.
I sent you a PM to get some more details so we can solve this issue. 

Best regards,