cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with .cproject .project files after reinstallation STM32CubeMX, STM32CubeIDE

YZalo.1
Associate III

first.png

May be somebody know  whats happen with .cproject, .project files after reinstallation STM32CubeMX, STM32CubeIDE, last version and after some other?! Project (at screen behined) is in the folders TochGFX. 

Told that need plagin ...mcu.ide2.7...  from folder CubeIDE, but if i am set it version than that its files the same i.e not change.

I am tried set in propertis its file "open cross STM32CubeIDE " but  in CubeIDE open only .cproject or project (single) files but not all of the project as early.

Thanks.

 

1 ACCEPTED SOLUTION

Accepted Solutions
MGogr.1
Senior

Not able to understand your problem. Can you describe it properly?

I'm assuming you are not able to open .cproject file after re-installing cube ide and cube mx?

View solution in original post

8 REPLIES 8
MGogr.1
Senior

Not able to understand your problem. Can you describe it properly?

I'm assuming you are not able to open .cproject file after re-installing cube ide and cube mx?

Pavel A.
Super User

If you do not *need* the latest CubeIDE & CubeMX, just do yourself a favor: stay with CubeIDE versions 1.x until support for versions 2.x stabilizes. It won't take years. Just resist the urge to switch to 2.x and be happy.

And use git or other version control to safeguard valuable files.

 

 

 

Sound advice @Pavel A.  - I follow what you said for my project started in 2024.

I am starting a new project with the Stm32U5. Is it Okay to start it with CubeIDE 2.x ? Or would you suggest staying with 1.x ? Thanks.

 

YZalo.1
Associate III

Under reinstalation new version STM32CubeMX, STM32CubeIDE 2.0 im use files of the .cproject, .project from folder TochGFXprojects, for load in STM32CubeIDE for farther using . But now(as show at screen behined) even changed their apperance. In general, the essence of the problem is that they either do not open at all, citing the lack of a plugin "com.st.stm32cube.ide.mcu.ide_2.7.0.202510101402" from the CubeIDE version 2.0 , or only the contents of the file itself are opened , and the entire roject is not loaded into CubeIDE as it was before. 

And im  reinstalation again seting TM32CubeIDE1.9 and the problem has not gone away. Told that i must use "com.st.stm32cube.ide.mcu.ide_2.7.0.202510101402" but it plugin use in TM32CubeIDE2.0. And as result im cant use TochGFX project in CubeIDE.

If you are already familiar with CubeIDE 2.x and are aware of its different behavior, by all means use it.

AFAIK the latest CubeIDE 1.x (1.9?) supports most models of U5, so yes it can be used, if you don't have extra time to learn the new IDE and toolchain.

 

 

Old metadata in workspace or project folders can cause this error. Create a new Eclipse workspace for new CubeIDE version and import the project into it. 

 

YZalo.1
Associate III

Thank you, indeed the relationship between CubeMX and CubeIDE has been established, it really helped to solve another problem. But this problem is still relevant. The question is how can I enable the TochGFX project or workspace to change working directories, but there is no way to change the workspace path, since this area is determined by the TochGFX installer, through the CubeMX update manager. That is, I install according to the rules described in the lectures of the "TochGFX Academy".By clicking the "install" button  in "Embedded Software Package Manager".

Hm, I have no idea what happened.

 

tomsmite
Associate II

It sounds like the project metadata might not be linking correctly with the current IDE installation. Sometimes after reinstalling STM32CubeIDE, the workspace or required plugins don’t get recognized properly.

You might try importing the project again using File → Import → Existing Projects into Workspace instead of opening the .cproject file directly. This usually restores the full project structure.