Skip to main content
Associate III
December 7, 2023
Solved

Problem with CubeMX after upgrading - can't open ioc file

  • December 7, 2023
  • 4 replies
  • 6903 views

I upgraded STM32CubeIDE to 1.14.0 and then when I went to open an ioc file I got this message:

This project was setup with STM32CubeMX V6.9.2 using STMCube FW_G0 V1.6.1.

There are two options to proceed:

-Migrate:Migrate your project using the current STM32CubeMX version (6.10.0)

-Continue: Continue to stay compatible with the old STM32CubeMX version 6.9.2

I chose the 'Migrate' option, which was probably a mistake. Now when I try to open the ioc file it just goes blank. Any advice please?

ADDED LATER: In the meantime, I tried opening a different project, but selected the 'Continue' option. Again I got a blank tab when I tried to open the  .ioc file

This topic has been closed for replies.
Best answer by Dabbo

OK, I seem to have solved the problem by using X11 instead of Wayland.

I remembered that to get the previous version to work I had to change the .desktop file to use X11 instead of Wayland. I have now done the same thing for version 1.14.0 and the MX configuration program now works.

I can't say I understand it - but it's working.

Thank you responders!

4 replies

STTwo-32
Technical Moderator
December 7, 2023

Hello @Dabbo 

Can you add your .ioc file so I can test it. I've tested with a personal project and it works fine for me. 

Best Regards.

STTwo-32

DabboAuthor
Associate III
December 7, 2023

Hi STTwo-32, and thanks for replying so quickly. The file is attached

DabboAuthor
Associate III
December 7, 2023

I got a warning that the file contents did not match the file extension, so I'm going to try again but changing extension from .ioc to .txt

STTwo-32
Technical Moderator
December 7, 2023

can you share your .ioc file and not the .txt file.

Best Regards.

STTwo-32

DabboAuthor
Associate III
December 7, 2023

This is the .ioc file with the file extension changed because the forum software would not accept it with the .ioc extension. I got a big red warning. Please just change the extension back from .txt to .ioc

Senior
December 8, 2023

What is the current version of your installed STM32G0 FW ?

Have you tried to force the tool version by hand in the ioc file ? I know this is not always recommended and could be risky, but this could be worth trying...

DabboAuthor
Associate III
December 8, 2023

Hi Oscar. Thanks for replying.

Which line in the ioc file would need editing?

I'm puzzled by the message that said  "This project was setup with STM32CubeMX V6.9.2 using STMCube FW_G0 V1.6.1" as this device is F411CEU6 not the G0 series. Is that a clue to the problem?

DabboAuthorBest answer
Associate III
December 8, 2023

OK, I seem to have solved the problem by using X11 instead of Wayland.

I remembered that to get the previous version to work I had to change the .desktop file to use X11 instead of Wayland. I have now done the same thing for version 1.14.0 and the MX configuration program now works.

I can't say I understand it - but it's working.

Thank you responders!