cancel
Showing results for 
Search instead for 
Did you mean: 

I can't open the .project file after a click "generate code" in .ioc file. "not a valid ioc file" pops up. What might be the issue?

Abdra
Associate II
 
4 REPLIES 4
Michael E
ST Employee

Hello @Abdra​ 

Can you be more precise?

How do you proceed, with STM32CubeMX or directly with STM32CubeIDE, From scratch or you start with an existing project...

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

Abdra
Associate II

In the STM32CubeMX I click "File -> New project", choose the board(STM32F302R8). Then I click generate code, enter the project path and project name, and click generate code again. After the code is generated, the following window pops up.0693W00000NppcFQAR.pngI click "Open Project", and the following image pops up with the error "Not a valid ioc file."

0693W00000NppdNQAR.pngPlease find the project folder attached below.

Pavel A.
Evangelist III

Please try to open the temp.ioc via File... Open dialog.

Do not open the .project file with CubeMX, it is an Eclipse (CubeIDE) project.

I've realized that was a dumb question... I opened the project with CubeIDE. Thanks a lot!