cancel
Showing results for 
Search instead for 
Did you mean: 

STM32H562 configuring SRAM13_RST does not work in CubeMX

MMeie.3
Associate II

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.

MMeie3_4-1744271120049.png

If enabled or disabled the following code with a comment about a missing parameter is generated.

MMeie3_3-1744271019293.png

 

 

2 REPLIES 2
Souhaib MAZHOUD
ST Employee

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

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.

Souhaib MAZHOUD
ST Employee

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

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.