cancel
Showing results for 
Search instead for 
Did you mean: 

Very slow times for both STM32CubeIDE and STM32CubeMX

EliazLB
Associate III

Hello,

 

I am starting my project with CubeMX and CubeIDE right now and I am encountering massive time issues.

For example it took almost 25 minutes to go from the IOC file to the generated code (throuh the autogenerating functionnality). It also took 3 minutes and 45 seconds to build a basically empty program (except for the inits).

I'm running on CubeIDE v1.19 and CubeMX v6.15.

My laptop is Windows 11, I have 32 GB RAM, 13th Gen intel Core i7-13700H.

If you guys have any advice on how to work around it that would be great.

 

Thank you very much !

5 REPLIES 5
Ozone
Principal II

I would recommend to at least run the task manager simultaneously, and check what application/process uses up most CPU time. Click on the "CPU" column to sort by CPU load.

I got a suspicion this is a virus scanner.

Erwan YVIN
ST Employee

Hello Eliaz ,

i recommend you to check on your windows :

  • Check your Windows defender (antivirus) in task manager during build process.
  • Proxy settings in your are in corporate company (some IP could be redirected and slows your PC)

On CubeIDE , there is windows defender exclusion check popup ;)

Help - Eclipse Platform

                                    Best regards

                                                 Erwan

                                   

When i just look at it without running anything on STM32Cube, it takes around 0.1% of CPU power and when running a build, it is from 0.2 to 0.5%. I had a spike to 1% but it lasted half a second.

The total use of CPU is from 10 to 15%.

Though I'm not very sure what to look for...

Could you indicate where to find the option you are talking about ? It seems that this is the problem I'm encountering.

Thank you !

Not sure if I made clear what I mean :

> For example it took almost 25 minutes to go from the IOC file to the generated code (throuh the autogenerating functionnality). It also took 3 minutes and 45 seconds to build a basically empty program (except for the inits).

Whatch the task manager during exactly those actions.
Perhaps try a "clean" before, or even a new project.

My company had mandated a certain McAfee virus canner for all their PCs, which brought down performance by 70..80%. And switched to an alternative only after massive complaints.