2025-04-10 12:47 AM - edited 2025-04-10 1:02 AM
Hi
We work on a project with a STM32H562. We use STM32CubeMX Version 6.14 with the Firmware Package V1.5.0 to generate a STM32CubeIDE project on Windows 11. I think I just found bug in the code generation of CubeMX.
I could reproduce the bug below in a new empty CubeMX Project.
In Flash setting its possible to change the Flash Option Bytes Settings for the SRAM erase upon system reset. For SRAM2_RST this works as expected, and the code is generated in MX_FLASH_Init().
But the option for SRAM13_RST does not work.
If enabled or disabled the following code with a comment about a missing parameter is generated.
2025-04-10 2:44 AM
Hello @MMeie.3
Thank you for posting.
This issue is currently under investigation. I will get back to you as soon as possible.
KR,
Souhaib
2025-04-10 9:19 AM
Hello @MMeie.3
After check, the issue is reproduced on my side.
An internal ticket 207356 has been submitted to the dedicated team and I will keep you informed about any updates.
KR,
Souhaib