2022-10-27 02:20 AM
I have been using STM32CubeIDE (Version: 1.10.1) with STM32CubeMX - STM32 Device Configuration Tool Version: 6.6.1-RC2.
But when i do some modification in device configuration and then try to generate the code , it does not generate the code. But when i create the new project using same device configuration file (project.ioc) it does generate the code with new changes , just popup appears for less than a second saying "device configuration Tool updating code .." and then just disappears without updating the code or any error.
What could be the problem?
Solved! Go to Solution.
2022-10-31 05:36 AM
I find that when i uncheck the Backup option , the tool works fine.
2022-10-27 03:51 AM
Hello @KKato.2 and welcome to the Community :smiling_face_with_smiling_eyes:
I would like to know is it the first time that this problem occurs ? was it working properly previously ?
Can you show me your code generator settings under Project Manager in CubeMX ?
Also, can you record the popup that appears ?
Sarra
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.
2022-10-27 05:35 AM
2022-10-27 06:19 AM
hello again @KKato.2
I have the same version of CubeMX (6.6.1) and CubeIDE (1.10.1) and it works fine for me!
Try to change your settings as following :
if the problem persists, maybe try to work directly on STM32CubeIDE !
Sarra
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.
2022-10-27 06:57 AM
Hi Sarra,
As you can see in the screen shot i shared earlier , the option for chnaging to option "Copy all used libraries into the project folder" is not possible to select.
and if i change these settings it will change the complete project structure.
I was working for me , but now it is npot my question is why it isn't working now? when updated the STMCUBE iDE and CUBEMX , after that i tried to access the project and device configuration file as the workspace and project.ioc file was created by older versions it asked me to migrate to new version and I did migrated to newer version since then i am unable to generate the code.
thank you,
2022-10-27 08:33 AM
Hi @KKato.2
Maybe you have chosen TrueStudio, SW4STM32 and GPDSC when working with the previous version of STM32CubeMX.
if this is the case, it is not possible to migrate an old .ioc file to the newer version!
Please check @Sara BEN HADJ YAHYA's answer, our STM32CubeMX expert in this thread.
Sarra
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.
2022-10-28 02:10 AM
2022-10-28 04:18 AM
Hello @KKato.2,
Could you please share your ioc file and provide us with the exact scenario that led to this issue?
Thank you
Sarra
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.
2022-10-31 02:07 AM
2022-10-31 04:27 AM
just i see: you checked -> NOT generate main.... better try: unchecked !