2024-12-16 07:35 AM
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
2024-12-16 07:47 AM
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.
2024-12-16 12:32 PM
Updating STM32CubeIDE would not delete your projects. Maybe you've selected the new default workspace when installing instead of the old workspace?
2024-12-17 01:31 AM
@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.
2024-12-17 04:16 AM
@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
2024-12-17 04:22 AM
@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.
2024-12-17 04:37 AM
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.
2024-12-17 12:01 PM
@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.