2023-10-26 09:27 AM
Hi,
I am trying to "generate code" using an existing .ioc file. When I click on "generate code" , it is stuck. I am not able to close the window. I had to restart my laptop. I uninstalled and installed again. Tried the same process. But it didn't work. Need help.
2023-10-27 02:40 AM
Hello @uthrajuthraj,
First thank you for posting and welcome to the ST Community.
Can you provide please the STM32CubeMx version which you are using.
Thanks.
Mahmoud.
2023-10-27 04:47 AM
It is the latest version - v6.9.2
2023-10-27 08:00 AM - edited 2023-10-27 08:01 AM
Hello @uthraj ,
I have illustrated your request using STM32CubeMx 6.9.2 and the issue which you have mentioned was not reproduced. Can you provide please the basic characteristics of your computer.
Thanks.
Mahmoud.
2023-10-31 07:22 AM
2023-10-31 07:26 AM
I was able to sort out the issue. There was an "&" in my folder name that i was trying to save the file. Once i renamed the file i was able to generate the code. Thanks for the reply.
Thanks,
Uthra
2024-11-05 08:25 PM
For me the problem went away by itself. I was using STM32CubeMX to port my ioc to a new MCU (STM32U595QII6Q). It generated successfully the first few times. Then I enabled SMPS mode and the problem in this thread arose. I then force-quit it, relaunched, checked that all the settings were as I'd left them, and clicked "Generate Code" again. It worked without issue.
M1 Max, Sequoia 15.1, STM32CubeMX 6.12.1. Source ioc was recently updated to 6.12.1 too, by STM32CubeIDE 1.16.1.