I have been unsuccessful attempting to perform an FDS write or update WITHIN the DFU Event handler... the update or write never completes (no FDS_EVT_WRITE or FDS_EVT_UPDATE). I'm wondering if that is the wrong context in which to do that. I am able to do FDS reads in the DFU Event Handler context, it's only the write/update that times out.
My immediate goal is to detect that a reboot is post-DFU and do something unique. In general I'd like to store more state across any planned reboot, DFU, WDT, or other.
Questions:
- Is FDS write/update not doable within the DFU Event Handler context?
- What other method is there to determine if the reboot took place as the result of a DFU?
Thanks,
Jeff