2024-11-01 07:26 AM - last edited on 2024-11-01 08:03 AM by Andrew Neil
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
2024-11-01 07:37 AM
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.
2024-11-01 07:54 AM
Thanks for the reply, Could you please provide clarification on how the remaining memory is allocated among different sections?
2024-11-01 08:34 AM
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:
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.
2024-11-03 11:28 PM
Can you explain how we can adjust the boundaries and which type of performance it will impact?
2024-11-04 12:31 AM
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.