Wireless stack update process & fault recovery.
I have a customer that wants to update the wireless stack on their custom assy. This has been implemented successfully following the procedure set detailed in AN5185. Please note that this is not an OTA upgrade and the stack is upgraded via application code using the FUS_FW_UPGRADE with the stack loaded in the non locked area of flash.
During performance testing we are looking for the system to gracefully recover if a "power event / power cycle" occurs during the upgrade process. Although there is a specific error code for a power cycle or user abort, we are finding that the system does not appear to recover well if the power event happens while the cpu is acting on the FUS_FW_UPGRADE process.
Any advice on error handling or further detail about the process would be helpful and appreciated.
I also noticed that the OTA example provided includes the command SHCI_C2_FUS_FwUpgrade(0,0); (both source and destination addresses are set to 0) . What does this do and why was this done.
Thanks
