Skip to main content
MMeie.3
Associate II
April 10, 2025
Solved

STM32H562 configuring SRAM13_RST does not work in CubeMX

  • April 10, 2025
  • 2 replies
  • 608 views

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

 

 

Best answer by MMeie.3

@Souhaib MAZHOUD I just tried the new STM32CubeMX 6.15., and at least in my current project the issue is fixed.

2 replies

Technical Moderator
April 10, 2025

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.
Technical Moderator
April 10, 2025

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.
MMeie.3
MMeie.3AuthorBest answer
Associate II
July 8, 2025

@Souhaib MAZHOUD I just tried the new STM32CubeMX 6.15., and at least in my current project the issue is fixed.