SHCI_C2_FUS_FwUpgrade usage
Hello,
We have an issue updating the stack programmatically.
Following the AN5185 (section 2.1) we put the new stack binary (stm32wb5x_BLE_Stack_full_fw_1.13.1.bin) at 0x0809A000 - 45 sectors before 0x080C7000 (stack start for 1mb model) - trying to upgrade from 1.13.0.
Reset to FUS - worked alright. SHCI_C2_FUS_GetState == FUS_STATE_VALUE_IDLE
Issued SHCI_C2_FUS_FwUpgrade - no error return code.
The SHCI_C2_FUS_GetState afterwards gets FUS_STATE_ERROR_AUTH_TAG_ST_NOTFOUND and the flash content is reset (ffffffff)
1) Apparently the SHCI_C2_FUS_FwUpgrade parameters make no difference as it is all hardcoded - is this true? We would love to load it from other flash address.
2) Does the FUS on its side uses the memory at 0x20000000? If so, how?
I was looking at OTA example and it seems to holding there its state between resets but not sure about FUS side.
3) Is there something missing here?
Thanks in advance