Skip to main content
Smalik
Associate III
November 1, 2024
Solved

Flash Memory Configuration in STM32WB55RGV6

  • November 1, 2024
  • 3 replies
  • 1321 views

I am currently working with the STM32WB55RGV6 microcontroller, which has a total of 1 MB of Flash memory. However, after generating a project using STM32CubeMX, I noticed that the Flash memory file only indicates 512 KB of available memory.

Could you please provide clarification on how the remaining memory is allocated among different sections? Understanding the memory organization would be greatly appreciated.

Thank you for your assistance.

Thanks and Regards
Sarthak Malik

Best answer by STTwo-32

Hello @Smalik 

In fact, The SFSA is automatically adjusted to the start value of the installed stack. the part from the address 0x080000000 to the SFSA address can be used by the user application. 

Best Regards.

STTwo-32

3 replies

Visitor II
November 1, 2024

For applications that require more space, some STM32WB microcontrollers allow reconfiguration of the memory allocation to adjust the boundaries, but this can impact the wireless stack's performance.

Smalik
SmalikAuthor
Associate III
November 4, 2024

Can you explain how we can adjust the boundaries and which type of performance it will impact?

STTwo-32
STTwo-32Best answer
Technical Moderator
November 4, 2024

Hello @Smalik 

In fact, The SFSA is automatically adjusted to the start value of the installed stack. the part from the address 0x080000000 to the SFSA address can be used by the user application. 

Best Regards.

STTwo-32

Smalik
SmalikAuthor
Associate III
November 1, 2024

Thanks for the reply, Could you please provide clarification on how the remaining memory is allocated among different sections?

STTwo-32
Technical Moderator
November 1, 2024

Hello @Smalik 

For the 1MB of flash on the STM32WB55RG, this memory is divided into two parts limited by the SFSA value. A protected part dedicated for the cortex-M0+ (Stack, FUS,...) and a second part dedicated to the User application on the Cortex-M4:

 

STTwo32_3-1730475212793.png

Best Regards.

STTwo-32