Skip to main content
Abdra
Associate
May 11, 2022
Question

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?

  • May 11, 2022
  • 4 replies
  • 1162 views

..

This topic has been closed for replies.

4 replies

Michael E
ST Technical Moderator
May 12, 2022

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
AbdraAuthor
Associate
May 12, 2022

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.
May 12, 2022

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.

Abdra
AbdraAuthor
Associate
May 12, 2022

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