cancel
Showing results for 
Search instead for 
Did you mean: 

STM32cubeMX v4.27.0 crashes when "Generate Code" is clicked when creating a new project.

CSuyd
Associate II

The pc is win10-64bit, I do not have this problem in win7-64. The STM32cubeMX GUI can only be closed in Task Manager where java JRE is reported as "Suspended". Windows java application logs indicate "hangup", timestamped to when I do the clicking. JRE 1.8.181-64bit is installed.

Any advice would be appreciated.

11 REPLIES 11
Nawres GHARBI
ST Employee

Hi @CS.3uydam​ 

There is no error on your log, may be if you give some more time to the generation to end

CSuyd
Associate II

I've let it sit there for hours. The pc continues to be able to do everything else, but the STM32cubeMx application does not react at all, and Task Manager reports java as Suspended. I also tried using a much older win7 laptop with the same combination of STM32cubeMx v4 and Keil v5 uVision, and while that combination is quite able to complete creating a new project, it will not flash the chip. I don't remember whether it freezes while compiling or after, as I didn't continue with ST after that. I've spent the last month trying to kick start the project using another vendor. I am still interested in using ST in the future. Do you have any interest in looking at Windows logs?