2025-10-27 10:44 AM - edited 2025-10-27 11:36 AM
Hi, good evening. I'm currently working with STM32CubeMX (version 6.15.0). I've configured the main options, pin assignment, generated the .ioc file, but I cannot create the code.
Once I click on 'create code' I get stuck here:
Fyi, the .ioc file is in the same directory as the firmware, i.e. C:/Users/matte/STM32Cube/Repository/
Also, the .ioc file is in the same disk as the program.
Finally, I've deleted the .stm32cubemx folder, as I've seen others did, in an effort to solve a similar problem.
Same behaviour if I try togenerate code from STM32CubeIDE:
Is this something you've encountered already ? Thank you very much !
2025-10-28 12:42 AM - edited 2025-10-28 12:43 AM
Hello @Matbonny
Could you please share your IOC file? I will try to generate the code on my end using your IOC and investigate what might have gone wrong.
Also, could you please specify which operating system you are using?
THX
Ghofrane
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.
2025-11-02 7:21 PM
Dear Ghofrane, thanks for your reply. I utilize Windows 10Pro. I've solved at the end, not exactly sure what worked. I can say that before, when it was not working, the executable was not in C:\, while now it is.
So, I suspect it was something related to the directories where the executable and project files are. Now, (setup working), executable in C:\, and project in D:\
Thanks again