Associate II
October 28, 2019
Question
STM32WB55RG : Flash memory available for user application
- October 28, 2019
- 4 replies
- 3065 views
Hi all,
I'm trying to determine how much FLASH memory will be available for my user application. I'm using an STM32WB55RG. I don't do this quite often so I could use some help
I got clues from different sources but i'm not sure which one is correct :
- Given from the "stm32wb5x_FUS_fw.bin" + "stm32wb5x_BLE_Stack_fw.bin" files size, 186kB should be occupied. So I deduc that 838kB are available for user app.
- In the MOOC for the STM32WB workshop, it's said that the size allocated for the upper block of flash depends on the technology and the addons used (they say 80kB for BLE stack, and 160-170 for BLE+OTA). This seems weird as the size for the BLE stack file is 162kB.
- Inside AN5185, the Table 5. Device information table tells us that both the FUS and the wireless stack can use up to 65535 sectors of 4K -> For me, this means that they could take 256kB each, leaving us with 512kB for the user application. If this is true, I guess there is not many cases in which this will happen.
If someone is willing to explain to me what is the correct procedure and what is wrong with the others, that would be really valuable for me!