cancel
Showing results for 
Search instead for 
Did you mean: 

CubeIde Broken workspace

xisco
Senior

Hello,

 

I saw a thread titled 

Your Input Matters: How Do You Use STM32Cube Examples?

And I tried to enter to the examples selector of CubeIde (I never tried before).

When I open the selector, my computer takes several minutes with the cpu fan at highest speed.

 After this, I tried to select a board to reduce posibilities, and happened the same, but I had a memory full error.

The only way to continue is to kill CubeIde. It's impossible to close it safely.

But now CubeIde does not start. It ask me the workspace, and shows the picture of screenshot I attached.

If I select a different workspace, it works.

 

And now, my questions are...

Can I restore my workspace? Seems all project files are present.

Do I need more memory?

My system is:

Linux mint 21.3, Linux 5.15.0-153

Intel i7-8700K @3.7GHz (6 core, 12 threads)

16GB RAM

CubeIde 1.15.0

 

Thanks for your reply

 

 

 

 

3 REPLIES 3
Karl Yamashita
Principal

1.15.0 is pretty old.

ST currently has v1.19.0

Try un-installing the old version and install the new version. You should be able to select your workspace. 

If a reply has proven helpful, click on Accept as Solution so that it'll show at top of the post.

Hello Karl

 

I tried installing v1.19.0 having the same result (picture attached). I can enter all workspaces except the one I had working when CubeIde crashed.

 

I thought the problem was in this workspace, and I moved the project I was working on, out of the workspace. It worked. Now CubeIde  starts fine.

 

The files in the project appears to be good, and I tried to create a new "STM32 project from an existing STM32 CubeMX configuration file (.ioc)", I copied my .c and .h files, and now the project works fine.

 

Regards.

Pavel A.
Super User

[From my limited experience] the Eclipse workspaces are fragile and easily corrupted.

To avoid loss of valuable time, if you suspect that the workspace become sour, delete all the .metadata  and re-create the workspace from scratch (or make a new workspace folder). Import all projects to the new workspace, restore the global workspace settings (make notes when you change them).

The same after CubeIDE (or other Eclipses) version upgrade: make a new workspace. Do not share a workspace among several CubeIDE versions or other eclipses.