cancel
Showing results for 
Search instead for 
Did you mean: 

Flash Memory Configuration in STM32WB55RGV6

Smalik
Associate II

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

1 ACCEPTED SOLUTION

Accepted Solutions

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

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.

View solution in original post

5 REPLIES 5
liaifat85
Senior III

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
Associate II

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

STTwo-32
ST Employee

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

 
 

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.

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

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

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.