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
  • Oh okay, understood..

    So you said that each page gets erased whenever a new request is created on the fly, what if the no.of pages required for new firmware is lesser than the no.of pages used for the previous firmware in BANK1, does the remaining pages of old firmware in BANK1 gets erased??

    BTW, Pardon me for further questioning...Just curious to know...

Reply
  • Oh okay, understood..

    So you said that each page gets erased whenever a new request is created on the fly, what if the no.of pages required for new firmware is lesser than the no.of pages used for the previous firmware in BANK1, does the remaining pages of old firmware in BANK1 gets erased??

    BTW, Pardon me for further questioning...Just curious to know...

Children
Related