cancel
Showing results for 
Search instead for 
Did you mean: 

STM32CubeMX 5.6.0 Hangs at "Generating user source code..."

Matt.1
Associate II

I have recently upgraded to STM32CubeMX 5.6.0 and created a new project based around the STM32H753ZITx family.

I can usually get one "Generate Code" operation when the PC has freshly booted up, but if I try and "Generate Code" subsequent times it just hangs at "Generating user source code.." and this will continue until the PC is rebooted.

We have tried both fully populated processor configuration and minimal clock and USB only configuration and in both case keep running into the same problem.

We didnt seems to experience this in version 5.5.0 of STM32CubeMX.

4 REPLIES 4
EEuge
Senior

Hello! Close your IDE (Keil, IAR) before "Generate code"

SidBr
Associate II

Hi,

Did you ever find out the issue with this?

I've got exactly the same problem with STM32CubeMX 5.6.0.

LS. B.1
Associate II

Hi there.

I've got the same problem with CubeMX 5.6.0.

Even with up-to-date 64bit Java, it still freezes on the "Generating user source code..." screen.

Any help? (ps. is very erratic problem, once it ran perfectly and generated code, after a few minutes modifying the code it hanged again).

SidBr
Associate II

Hi,

There's a bug in this version whereby it has trouble processing special characters (&, # etc) in paths and names.

My problem was my user name of 'R&D'. It didn't like the '&' character.

I created a new user with no special characters and it worked.

In your case you need to look at all your paths, project names etc. It could be anywhere.

It's a known bug that ST are aware about.