FUS_IMAGE_ERSERROR from FUS while FW upgrade
Hi there,
On a STM32WB55RG, I would like to write a routine in my firmware to upgrade the wireless firmware through the FUS mailbox.
I'm able to exchange request/response through the mailbox, for instance, at startup FUS_GET_STATE returns FUS_STATE_IDLE, no error. Cool.
I load a wireless firmware at the address indicated in the Release Notes (for instance stm32wb5x_BLE_HCILayer_fw.bin at 0x080E1000), however when I run FUS_FW_UPGRADE, the chip reset as expected and right after this reset, the
- FUS state value is 0x10; FUS_STATE_FW_UPGRD_ONGOING (according to AN5185)
- FUS state error value is 0x06; FUS_IMAGE_ERSERROR (still according to AN5185)
Having no clue about the routine inside FUS firmware, could you help me to identify what's the root cause behind that. Btw, I have the same issue if I want to upgrade the FUS firmware itself.
While this description might lack some details, it's mainly because I don't know what to look for in registers or options to solve this. Let me know if you need more information.
Many thanks,
R.
