cancel
Showing results for 
Search instead for 
Did you mean: 

stm32cubeIDE deleting src folder

mvigneshwaran27
Associate II

stm32cubeIDE deleting SRC folder, im posting this after it deleted my 2nd project

i always update stm32cubeIDE , cube mx on day 1 itself,

it is not deleting while i developing , only completed project getting deleted, i only noticing it when i open project folder for later use, only inc, startup folder available ... tried many recovery software to recover no luck,

(note: i duplicate older project to develop new one like template, i started from STM32CubeIDE 1.2.0 now currently using STM32CubeIDE 1.4.1)

please add auto backup core folder feature in later release

12 REPLIES 12
S.Ma
Principal

Zip your project regularly or use git style version control. or like in some automotive project, once a project start, don t upgrade anything which might make you finish it faster with less volatility.

mvigneshwaran27
Associate II

luckily this time i used GIT, but 1st project gone,

i upgrade software when i start new project, still i use system workbench and atollic for older project

i duplicate project if i use same board for new project like template

edit: i regularly update eclipse based software because of bugs

Cartu38 OpenDev
Lead II

Startup folder available …. are linker scripts and .projet & .cproject available too or not ?

If yes maybe have you move your project location at a point ? Depending the way you're getting project alive some if source files are relying on linked resouces. If updating project env. without updating links may sounds like data lost.

Have a look to your resources small overlay icons ...

0693W000003Buc1QAC.jpg

Definitively a good and safe way of working !

mvigneshwaran27
Associate II

everything available except SRC folder,

i completed the project ,removed it from project explorer, i only noticing when l lookup the folder later to copy some code from it after some week

Final commit (before removing from project explorer) in git repository has SRC folder

problem i think is

i use same code base for different project because of same hardware board (copy it to different location and again import it and rename // or copy it inside project explorer and rename), so there is some trace of previous project location

Sounds definitively weird and not so easy to help you here as I guess we need much more details of your way of working.

Doing which action are your src data lost (only closed project opening or project import back or project update from .ioc editor or … ) ?

Are your projects rely on linked resources ?

These seem like recurrent issues.

In prior instances it has looks like new software finds issues of format/syntax in the .IOC from legacy versions, and fails hard.

It is one thing to fix bugs, it is another to gracefully handle the situations where a prior bug is encountered, or acceptable syntax has changed over time.

Tips, buy me a coffee, or three.. PayPal Venmo Up vote any posts that you find helpful, it shows what's working..
Houda GHABRI
ST Employee

Hi @mvigneshwaran27​ ,

Thanks for rising this issue.

Can you tell me please the first STM32CubeIDE version that you found the problem with it at the beginning? is it 1.4.0?

best regards,

Houda

STM32CubeIDE 1.3