2025-09-22 3:27 AM
Hello everyone,
I tried to create an STM project using existing .ioc files from my friend. They suggested choosing the Migrate option, but unfortunately, it didn’t work for me.
For context:
I’m using Windows.
The same migration process works perfectly on Mac.
When I open the main code, I only see the basic template code that appears when starting a new project—all the code from my friend has disappeared.
I’ve already tried reinstalling the STM software, but that didn’t help either.
Has anyone encountered this issue or can suggest a workaround?
Thanks in advance for your help!
Solved! Go to Solution.
2025-09-22 3:45 AM
@jason21 wrote:
I only see the basic template code that appears when starting a new project—all the code from my friend has disappeared.
As @mƎALLEm said, the ioc file contains only the peripheral configurations - so, if you only have the ioc file, the only thing that can be generated is the peripheral initialisation stuff.
If you want the User code written by your friend, you will have to import that separately.
2025-09-22 3:33 AM - edited 2025-09-22 3:35 AM
Hello @jason21 and welcome to the community,
@jason21 wrote:
When I open the main code, I only see the basic template code that appears when starting a new project—all the code from my friend has disappeared.
If you mean by the basic code: the peripheral initialization, That's normal if you didn't bring the complete project from your friend. The code contains generated code but a customized code written by your friend as well.
So the question is: did you retrieve the ioc only or the complete project from your friend?
2025-09-22 3:45 AM
@jason21 wrote:
I only see the basic template code that appears when starting a new project—all the code from my friend has disappeared.
As @mƎALLEm said, the ioc file contains only the peripheral configurations - so, if you only have the ioc file, the only thing that can be generated is the peripheral initialisation stuff.
If you want the User code written by your friend, you will have to import that separately.
2025-09-22 4:06 AM
Hi everyone,
Thanks for the feedback. I got one set of folder from my friends and we also did together. He did first importing and also migrating. Didnt work at all but. Weird is my other friend also did same like me but in mac and worked perfectly.
2025-09-22 4:07 AM
Is that possible to share that folder (the complete project) here?
2025-09-22 4:15 AM
No, its a confidential file from our company where we do the bachelor thesis:(. I will try again, maybe will work
2025-09-22 4:17 AM
You can send it to me in private if you want.
2025-09-22 4:22 AM
Yes, i just import the whole file and worked. Thank you for helping me:)
2025-09-22 4:24 AM
@jason21 wrote:
Yes, i just import the whole file and worked. Thank you for helping me:)
So now accept the solution (the comment that answered your question).