2016-11-07 3:19 AM
When regenerating code (previously correctly generated several times) CubeMX displays an error window and deletes an initialization assembler source file which prevents the Eclipse/System Workbench project to build successfully.
The text on the window says ''The Code is successfully generated under C:/..... but SW3STM32Project generation have a problem.'' The deleted assembly file is Drivers/CMSIS/Device/ST/STM32F0xx/Source/Templates/gcc/startup_stm32f051x8.s I have attached the .ioc file for reference #!cubemx-!code-generation2016-11-11 4:57 AM
Dear User,
Please note that your issue is reported internally for checking and we will contact you soon. Best Regards STM32.forum2016-11-23 2:08 AM
It happened again. I was using a new project which did not show the problem. Just after I checked the box ''Delete previously generated files when not re-generated'' CubeMX shows the same error window and deletes the assebnly initialization file. This is really annoying.
Unchecking the box does not change the behavior of CubeMX: this .ioc can not be used in the same place anymore.2016-11-23 8:22 AM
I am attaching the .ioc file of today's error and the log of the error obtaining making cubemx run in interactive mode
________________ Attachments : cubemx_console.txt : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006HzM6&d=%2Fa%2F0X0000000bNA%2F.haI_ccdGH8w9c0q5k1G7vqoo2chACDHBCAuiOlF0Pw&asPdf=falsedecode_tag.ioc : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006HzWm&d=%2Fa%2F0X0000000bNB%2FSwFR45JQjzscMI1IMTXAnKuX9VJI_LGWOZYjJ9s6i8Q&asPdf=false2017-01-27 8:09 AM
Hello
Melis.Adriano
,A similar bug has been fixed in 4. Since, the 4.19 has been released.
Could you please try with that newest version ?
Great thanks in advance.
Kind regards
Marc
2017-11-30 2:45 PM
I can confirm this for version 4.19 too.
This appears to be due to a missing .xml file that accompanies the .ioc file (it has the same name as the .ioc file).
I found this out after renaming the .ioc file.
Solution:
a) Rename the .xml file as well
or
b) Undelete/recover the .xml file
or
c) Copy another such .xml file and edit it to fit the .ioc project (it contains project, MCU and debug interface name)
We’re moving the ST Community to a new platform to give you a better and more reliable community experience.