How do I upgrade the wireless stack on STM32WB5MMG? What's the correct start address?
- 1 reply
- 1065 views
I've got custom hardware that needs a wireless stack upgrade to the latest stack, located here:
But I do not know what the correct start address is to use.
I have read https://www.st.com/resource/en/application_note/dm00513965-st-firmware-upgrade-services-for-stm32wb-series-stmicroelectronics.pdf and I found the following:
2. Write the wireless stack image in the user Flash memory at the address equal to:
– If new install (no wireless stack currently installed): 0x08000000+(SFSA x 4KB) - ImageSize
– If a wireless stack is already installed:
◦ If new image size <= current image size: WirelessStackAddress - ImageSize
◦ If new image size > current image size: WirelessStackAddress - (2xImageSize – WirelessStackSize
It is advised to perform a FUS_FW_DELETE operation before starting a wireless stack installation. (This is performed by STM32CubeProgrammer when option -firstinstall=0 is selected)
I see that the new image is 167 KB, and from the log, I think the current stack might be 8192 Bytes, but I'm still unclear o what to set as the start address.
