cancel
Showing results for 
Search instead for 
Did you mean: 

Not a valid ioc file

Zeynep
Associate II

Hello,

I am trying to open the generated code for my project. But when I try to open the code file that generated by CubeMX itself I get "not a valid ioc file" but if I try to open at diffrent IDE I can open. Also the file that generated is .eww file even though IDE insist on it is .ioc file. Can you help?

 

Thanks.

7 REPLIES 7
Andrew Neil
Evangelist III

Welcome to the forum.

You need to give more details of exactly what you're doing, and what tools you're using.

Give a step-by-step description.

Give screenshots.

Note versions.

https://community.st.com/t5/community-guidelines/how-to-write-your-question-to-maximize-your-chances-to-find-a/ta-p/575228

 

.eww sounds like an IAR file?

What versions of CubeMX created the .IOC, which version is / isn't opening them?

IAR would expect a .EWW file, CubeMX can generate those if IAR is specified as a Target tool chain.

IAR can only open/import .EWW files, it doesn't natively understand .IOC

KEIL doesn't open/import .IOC files either.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
Zeynep
Associate II

Hello,

I am trying to use my STM32H743 module with ESP32 and connect my camera. I open my project as STM32H743VIT6 for MCU/MPU filters. I did my configuration and click the Generate Code I get to see "not a valid .ioc file". For toolchain I tried EWARM V8.50 and STM32CubeIDE. Rest of it default configuration. I understand that is a .eww file not a .ioc file through when I try to open the file in different IDE, it shows it as .eww file in my computer. I use version 6.12.1 STM32CubeMX-Win.

I even try to open the file with my friends computer I get see same "not a valid .ioc file" message but I can open different .ioc file that my friend created.

For anyone at ST to advance this issue you'd likely need to provide/attach the problematic .IOC

 

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
Pavel A.
Evangelist III

Hi,

In Windows Explorer toolbar click on View->Show-> File name extensions. Then you will see the file name extensions and won't confuse .ioc files with anything else ))

By default Microsoft hides the filename extensions, to streamline user experience for alternatively capable people.

Hi,

The file saved as .c file. I attached the the file but I don't think the problem is with file because like as I mentioned I can open the file with different IDE.

Pavel A.
Evangelist III

So now you're saying that there is no any .ioc file at all, only main.c ? And what with the .eww file?

If you are a student, your teacher or instructor will be happy to help you. IT personnel also can help.