Skip to main content
Explorer
March 22, 2021
Solved

Revert .ioc file for older CubeIde version

  • March 22, 2021
  • 2 replies
  • 4713 views

Hello,

I recently upgraded to CubeIde 1.6.0 but I am having many new problems when programming STM32h/43: the configurations generation is much slower and it often stops updating all needed files, which forces me to reboot (I could not find a better way).

So I decided to downgrade to 1.5.1 which was stable for me, but I cannot load the .ioc files that were generated with 1.6.0. Is there a workaround?

    This topic has been closed for replies.
    Best answer by CCend.2

    Open the IOC file in a text editor and change the line "MxCube.Version=***" to the version of CubeMX that your version of the IDE wants you to have.

    2 replies

    Graduate II
    March 22, 2021

    >>Is there a workaround?

    I'm sensing there isn't, I guess you could try a text editor or a merge tool to understand the change in features/structure.

    Importing older .IOC has been a challenge at times, I'd definitely recommend doing this into a sandbox project rather than a live one, as file loss has been reported on multiple occasions.

    CCend.2Answer
    Explorer II
    May 4, 2023

    Open the IOC file in a text editor and change the line "MxCube.Version=***" to the version of CubeMX that your version of the IDE wants you to have.

    Explorer
    October 10, 2023

    wow, it really works for opening the 6.3.0 version ioc file by cubemx 6.2.0, thanks bro