Associate III
July 8, 2022
Question
OTA update of Wireless stack and FUS - where to download the image?
- July 8, 2022
- 5 replies
- 3438 views
Good day,
As an extension of this discussion, I'm having trouble updating the BLE stack using the BLE_Ota code.
From the linked discussion, I should be downloading my new stack to 0x0809D000 (I'm also going from an older, smaller stack at 0x080CB000 to 1.13.X).
However, I'm having the following issue:
- The STM BLE Sensor app does not allow me to enter 0x0809D000 as a valid address (see image), so I can't test if the address is the issue. In the context of the app, it would be 0x9D000.
- Using another address (say 0x08060000 or 0x08080000) does not work - SHCI_C2_FUS_GetState return with error code FUS_STATE_ERROR_IMG_NOT_FOUND.
To my understanding the FUS should find the firmware automatically by looking for some magic word. If this were true, then there is no reason why it should not find the image at 0x08060000 or 0x08080000.
Any thoughts as to what is going wrong i.e. why is the image not found?
More information:
- I've verified that the image does get programmed to flash memory (using STM32CubeProgrammer).
- The OTA bootloader works just fine for uploading application firmware.
- I'm using the STM32WB55MMG and the STM32WB55RGV, which both have 1 MB of flash.
- See screenshot of FUS version as read by STM32CubeProgrammer.
Thanks in advance.
