Hi all, I have made some modifications to the bootloader example project (dfu_dual_bank_ble, s110) to get a bootloader that meets my requirements. It is working ok, I can upgrade the firmware over the air but application data does not get preserved. In the bootloader project I have made this change:
#define DFU_APP_DATA_RESERVED 0x0400
So to my understanding 1K of flash destinated to the application data should be preserved when upgrading.
The app that gets upgraded just uses 32B of flash to store the device name but everytime that I do an OTA upgrade the device name gets erased. What is it failing here? In the app I do the saving properly because the name is preserved across power cycles.
Thanks in advance
Regards