2023-06-28 10:16 AM
Hi,
Can I recover an .ioc file.
The error message when i try to open it "Invalid State: Most probably trying to open 'file.ioc' file from an abnormal previous IDE session exit. Please close such editor and have a new try to recover properly."
Thanks
2023-11-02 01:39 AM
Hi,
I have the same issue, but couldn't find a solution.
Maybe someone else can help?
Thank you
2023-11-02 12:35 PM
The .ioc file is just a text file. Open it in an editor and see if you see any obvious errors (garbage characters, etc.).
To prevent this from happening again, use some kind of version control software (git, etc.). That way you can always recover the file from the git repository if it does somehow get corrupted.
2023-11-21 07:04 AM
I had the same problem. In my case, the file name in the project did not match the file name in the path. So, adjust the file name in the project to match the file name in the path, and it should work.
1. Right-click on the .ioc file -> Properties.
2. Copy the name written in the path (In my case: 50STM32U599_Rev1_0.ioc).
3. Navigate to your project folder.
4. Right-click on the .ioc file -> Rename.
5. Paste the copied name.