on 2021-09-03 05:27 AM
Note: Currently STM32CubeIDE doesn't support the feature to import a project from one MCU to another.
The workaround is to generate project with STM32CubeMX as a stand alone tool and select STM32CubeIDE as target IDE. |
Note: - It is important to mention that moving from a single-core MCU to an advanced core like STM32H7 dual-core feature is not yet available. |
Note: When migrating with the STM32CubeMX project, from MCU1 to MCU2, a new IDE project will be generated. The configuration parameters from the .ioc file will be translated to the new one, except the ones that concern pinouts and signals which are not in common between the two MCUs should be reconfigured. |
Hello @Laura C. Thanks for this post. "OK, Import" button does not appear in my installation of CubeIDE version 1.10.1. Do you have any comment on that?
Hi
@ChahinezC will be able to help you.
Hello @Rassom,
As mentioned in the article, STM32CubeIDE doesn't support the feature to import a project from one MCU to another.
The workaround presented is to generate project with STM32CubeMX as a stand alone tool and select STM32CubeIDE as target IDE.
Did you face any issue while following the steps of the FAQ?
If so, can you please share the STM32CubeMX version you are using?
Thank you.
Chahinez.
I attempted to use CubeMX 6.4.0 to migrate from STM32MP157FACx to STM32MP153C, but it failed because
"Project Import failed: Import 'STM32MP153CACx' not supported (multiple context)
Does "multiple context" mean dual core? All STM32MP1 devices are dual core.
I attempt to use the STM32IDE to migrate from stm32F030 to stm32G070 but i cant find the "ok, import" Button
can someone help me please?
For anyone trying to do this now, the "OK, Import" button still doesn't exist in the IDE as of STM32CubeIDE 1.14.1.
You need to use CubeMX to change to the new part, then save the IOC and import it within the IDE if you want a new project. In my case, I wanted just to swap to a different micro on an existing project, so I just replaced the .ioc file and everything worked out okay for the most part.
I upgraded to a higher pin count part in the same family. The core is even the same, but still I had to redo a lot of the settings. It did save me a lot of time though, so it's worth doing this.
Worked for me today, as described, with STM32CubeMX 6.12.1. I recently used STM32CubeIDE 1.16.1 to upgrade my ioc file to 6.12.1, prior to following this procedure.
Only extra things I did were:
Most settings were carried across. Several were lost (eg. some clock source settings, one UART flow control setting) and some needed updating (because they're not a one-to-one port). A side-by-side diff of the ioc and main.c files make this pretty easy, just a little time-consuming.
Hi @ChahinezC ,
I just updated the STM32CubeMX to version 6.13.0. I also updated the STM32CubeIDE to version 1.17.0 so the .ioc project is updated as well.
I have been trying to migrate from STM32H523CET6 to STM32H523RET6. I opened the current .ioc project and went to pinout menu, but the List Pinout Compatible MCUs is always inactive as shown in the attached image.
However, When I tried to create another project with a selection of MCU, This option is available.
I also have to mention that this .ioc project was originally configured to be support CMAKE and I changed it to STM32CubeIDE.
What did go wrong? I don't want to start a new project from scratch.
Regards,
Hani