Skip to main content
Nikita91
Lead II
October 21, 2023
Question

STM32CubeProgrammer way too long to load

  • October 21, 2023
  • 5 replies
  • 2546 views

I updated my old STM32CubeProgrammer to 2.14.

Now it  takes a very long time to start... Much more than the time to program the MCU!

What is he doing during this time? No doubt marketing exchanges with ST servers.

The primary use of this type of tool is to work with the MCU, not to wait for it to finish conversing with ST.

Could you go back to a more convenient start time?

Thanks.

This topic has been closed for replies.

5 replies

Visitor II
October 21, 2023

Hello, what's the operating system of your PC/laptop?

Tesla DeLorean
Guru
October 21, 2023

Unnecessarily slow on Win 7 and Win 10, for sure

Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..
Piranha
Principal III
October 21, 2023

Ironically, by default it's not even capable of connecting to the internet... :rolling_on_the_floor_laughing: You can even use that flaw to deny the internet deliberately for it.

https://community.st.com/t5/stm32cubeprogrammer-mcus/cubeprogrammer-software-update-does-not-work/m-p/576605

For me on Windows 7 it starts relatively quickly even on 10+ year old dual core CPUs with cheap SSDs. By saying "relatively", I mean faster than CubeMX, but still takes several seconds. Also one has to remember that CubeProgrammer, CubeMX and CubeIDE are developed in Java and runs in a Java virtual machine - therefore they are slow and bloated by design. And, on top of that, they are developed by the same very competent team of geniuses, who develops the fantastic HAL!

Piranha
Principal III
October 21, 2023

Haven't seen such a long times (29 seconds) with any version. The first thing to try is to turn off the antivirus, including the integrated Windows Defender.

Nikita91
Nikita91Author
Lead II
October 21, 2023

I have version 2.9 and version 2.14 installed: and they behave differently.

@Piranha gave me an idea: I tried by disabling the VPN. Bingo 5 seconds.

I don't know what ST is doing with the network but it's not getting any better. And I have to keep the VPN :loudly_crying_face:.

It is time for ST to adapt to technical developments. Companies are increasingly imposing the use of VPN!

Piranha
Principal III
October 21, 2023

And how it behaves if you disable the internet for the whole PC completely? Anyway read the link I gave and try denying the internet by deliberately misconfiguring those proxy options.

For a decent software the usage of VPN doesn't matter, but the HAL/Cube team is not capable of creating a decent software. The proof is right there - as the link shows, by default the internet connection for CubeProgrammer doesn't even work because of broken proxy settings...

Nikita91
Nikita91Author
Lead II
October 22, 2023

Internet enabled with VPN: 29 seconds

Internet enabled without VPN: 5 seconds

Internet disabled (cable unplugged) without VPN: 5 seconds

Internet disabled (controller disabled) without VPN: 5 seconds

I've already read the link you provide, and the proxy settings don't change anything.

 

Piranha
Principal III
October 22, 2023

Try blocking in firewall with outbound (or both, if it's not enough) rule:

https://www.enterprisestorageforum.com/security/block-a-program-in-firewall/