2024-04-15 11:53 AM
I have an existing STM32L5 project. I updated to the latest IDE 1.15 which includes CubeMX 6.11. Opening the project I clicked the migrate option to migrate the workspace and MX to match up with the tools.
I added as pair of precision external crystals (16.0 Mhz and 32.768 kHz) to my design. I edited the .IOC to enable those 2 external clocks and modified my clock configuration accordingly.
When I click Generate Code, a dialog box pops up for a second and disappears. No code is generated.
What's wrong? How can I debug this?
The change seemed too simple to fail... but again, the tech proves me wrong!
2024-04-15 12:50 PM
Hello @Grizz,
It would be very helpful if you share your .ioc file to investigate this issue.
Please share also the screenshots of the error message and the "Project manager" window of CubeMx.
2024-04-15 01:06 PM
2024-04-15 01:10 PM
Screen shot:
2024-04-15 01:38 PM
Looks like maybe all the package updates did not get applied.
I manually went in and clicked Check for Target Selector updates and Check for embedded software package updates. Once I did that and restarted CubeIDE, code generation began to run and completed successfully.
I suspect either a silent failure during the update OR the update caused some component mismatches which the update checks corrected.
Either way, it would have been nice to see an error message. A sub-one second pop-up doesn't do it for me.
2024-05-30 02:45 PM
It works to me in 1.15.1 after update MCU Package with Manage Embedded Software Package.