Does BANK1 gets erased after successfull OTA upgrade via BLE

Hi,

Iam using "pca10056_s140_ble" secure bootloader example for my project.

FYI. My project gets its new firmware from internet and stores it in BANK1 memory using GSM module.

My question is:

1.Whether the secure bootloader erases the BANK1 memory by itself after an successful firmware update via BLE or do we have to erase the contents of BANK1 memory before i try to write something in it??

TIA.

Parents
  • Vignesh R said:
    I had this issue, where the crc of new firmware in BANK1 mismatches on posvalidation process, after when i added fstorage_erase for BANK1 before storing the firmware, then everything worked fine

    If this works for you then it should be fine. I am not aware of any significant side effects to be aware of. To be able to say what went wrong with the CRC validation one would need more details, like a flash dump from a failed update that could be compared to a flash dump from a successful update.

Reply
  • Vignesh R said:
    I had this issue, where the crc of new firmware in BANK1 mismatches on posvalidation process, after when i added fstorage_erase for BANK1 before storing the firmware, then everything worked fine

    If this works for you then it should be fine. I am not aware of any significant side effects to be aware of. To be able to say what went wrong with the CRC validation one would need more details, like a flash dump from a failed update that could be compared to a flash dump from a successful update.

Children
No Data
Related