cancel
Showing results for 
Search instead for 
Did you mean: 

STM32CubeMX stuck at "Copying Library files"

uthraj
Associate II

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.

uthraj_0-1698337612070.png

 

6 REPLIES 6
Mahmoud Ben Romdhane
ST Employee

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.

It is the latest version - v6.9.2

 

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.

Hello @uthraj,

Can you please provide the .log file.

Thanks.

Mahmoud.

uthraj
Associate II

Hi @Mahmoud Ben Romdhane 

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

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.