2017-04-07 11:29 PM
Hello,
I recently installed cubemx 4.20 latest version 4.20.1
I can generate the project only 1 time, later if i try to update the project by adding new peripherals, i can not able to generate the code, the whole application is stuck in 'Generating user source code '. the only way i can close this application is killing it by 'Task manager'. it happens every time. Please help
Solved! Go to Solution.
2017-04-12 06:15 AM
Hello
n.serina
,In fact, the problem you highlighted is solved in CubeMX4.1.
Please, upgrade with the latest release of CubeMX.
Here is a screen shot of the CubeMX4.1 release note :
Hope it will help you and that you won't encounter this issue in the future.
BR. Eric
2017-04-09 01:44 PM
Hi n.serina,
I will report your issue internally to our CubeMx team.
Thank you for your contribution.
Imen
2017-04-10 05:38 AM
Hi,
Can you please send us the STM32CubeMX.log file you find under your user directory in the .stm32cubemx folder.
Thanks
Imen
2017-04-12 06:15 AM
Hello
n.serina
,In fact, the problem you highlighted is solved in CubeMX4.1.
Please, upgrade with the latest release of CubeMX.
Here is a screen shot of the CubeMX4.1 release note :
Hope it will help you and that you won't encounter this issue in the future.
BR. Eric
2017-04-12 10:04 PM
Hi
Joly.Jeanne
,It would be helpful to us CubeMX users to have more more completeinformation in the release summary. Nothing in the referencedsummary indicates to me a fix to a hang within the CubeMX code generator. A separate 'Release Notes' section that went into more detail about the specific fixes that were made would also be helpful. And so would a public issue tracker (with references to resolvedissues in the release notes).
We'd also like to see apublic git repo for CubeMX and the HAL libraries. Many of us wouldlove to help ST make the Cube software and HAL libraries a better product.
Rob
2017-04-13 02:53 AM
Hello
Riggs.Rob
,On the CubeMX release summary, we have a particular section for each official release with all the trackers listed (Id and headline) that are delivered in. (please, have a look to the
).For the CubeMX release 4.1, it is more specific as we should not have this intermediate/minor release but we discovered an important issue in CubeMX 4.0. Only one bug was delivered in CubeMX4.1 (compare to CubeMX4.0).
That is why you only have one sentence that describes the issue we encountered in CubeMX4.
Regarding your repo git for CubeMX users question,
BR. Eric
2017-04-13 08:06 AM
Hi
Joly.Jeanne
,Thank you for the response. I missed the fact that all of the major releases have a reasonable amount of information about what has been fixed. I looked at this document originally to try to determine what was fixed in 4.1 and I did not find it very enlightening.
Great to hear that things are moving forward to have git repo for the FW!
Rob
2017-04-13 09:00 AM
Thank you so much for the help, i came to know that after updating my KEIL-MDK-5 software, the issue got resolved automatically,
2017-04-13 12:39 PM
I have had the same problem with CubeMx hanging for quite a while now. Same fix for me is to open task manager and kill it then open it and try again. I have the latest version 4.20.1 and it does NOT solve the problem. Just thought I would chime in. Thanks.
2017-04-13 05:17 PM
It is also broken for me.
I'm using 4.20.1.The log doesn't say anything exciting. Here are the last few lines:
[INFO] CodeGenerator:404 - code generatio: config db path: C:\Program Files (x86)\STMicroelectronics\STM32Cube\STM32CubeMX//db/
[WARN] IP:1042 - AutoBaudRateEnableParam not found: check if there is a RefParameter without a condition.
[INFO] CodeEngine:162 - oldGeneratedFile, C:\Projects\someproject\Src\license.tmp_save
[INFO] CodeEngine:180 - Generated code: C:\Projects\someproject\Src\license.tmp
Edit: Maybe I wasn't waiting long enough? 9 minutes later, it completed.