cancel
Showing results for 
Search instead for 
Did you mean: 

Update STM32CubeIDE

DYann.1
Senior II

Hello,

I  would like to know how to update STM32CubeIDE (and probably STM32CubeMX) correctly ? The last update I lost all my programs, do you have any links, information or advice on this subject ?

THANKS

7 REPLIES 7
Pavel A.
Evangelist III

The best way (from my limited experience) is not to update CubeIDE online. Remove it and install new version. Also you can install several versions side-by-side and keep  the old version as long as you want it. All versions share the "repository" of ST libraries and packages.

 

Karl Yamashita
Lead III

Updating STM32CubeIDE would not delete your projects. Maybe you've selected the new default workspace when installing instead of the old workspace?

Tips and Tricks with TimerCallback https://www.youtube.com/@eebykarl
If you find my solution useful, please click the Accept as Solution so others see the solution.

@DYann.1 wrote:

how to update STM32CubeIDE (and probably STM32CubeMX) correctly ? 


Note that you don't need the separate CubeMX - that functionality is all in CubeIDE nowadays.


@Karl Yamashita wrote:

Updating STM32CubeIDE would not delete your projects. Maybe you've selected the new default workspace when installing instead of the old workspace?


I don't remember the last time very well but with the new STM32CubeIDE version I could no longer open my old projects. Now I'm a little more careful


@Pavel A. wrote:

The best way (from my limited experience) is not to update CubeIDE online. Remove it and install new version.

I think the last time this is the method I did, but I don't remember anymore. Can you remind me how to do it ? And just one point my old programs, I can still open it with the new version of STM32CubeIDE right ?

Thank you for your helps.

You just install the new version from scratch as if you'd never done it before - follow the instructions on the download page.

Just install it to a different location from your existing version.

As @Pavel A. said, you don't even need to uninstall the old version first - you can keep it, and install the new one in a new location.

 


@DYann.1 wrote:

And just one point my old programs, I can still open it with the new version of STM32CubeIDE right ?


Yes.

Depending on how far out-of-date your old version is, it may take some "migration" - but should still work.

A benefit of not uninstalling or updating the old version is that you still have it for reference.


@Andrew Neil wrote:

Depending on how far out-of-date your old version is, it may take some "migration" - but should still work.

A benefit of not uninstalling or updating the old version is that you still have it for reference.


Yes but it takes up memory on the laptop.