2024-11-02 10:19 AM
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.
2024-11-02 10:46 AM - edited 2024-11-02 10:47 AM
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.
.eww sounds like an IAR file?
2024-11-02 11:14 AM
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.
2024-11-02 11:29 AM
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.
2024-11-02 12:33 PM
For anyone at ST to advance this issue you'd likely need to provide/attach the problematic .IOC
2024-11-02 03:28 PM - edited 2024-11-02 03:32 PM
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.
2024-11-03 02:20 AM
2024-11-03 02:06 PM
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.