This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Update process in FLASH memory (BANK1 to BANK0) from application

Hi,

We use the nRF51 (nRF51822) on our products with the S130 SDK 2.0.1. In order to update the BLE application that we developed, we use the bootloader (secure bootloader DFU : SDK 12.2.0). Currently the update is done via the BLE in DFU mode.

We now want to be able to update the Nordic application via the UART TTL link with our communication protocol that we have integrated into our application. The update would be done via the application by loading the new firmware in the memory area BANK1. Once loading is complete and checked, we would like to reboot on the bootloader (secure bootloader DFU) by indicating that an update is to make from the BANK1 to the BANK0.

Would you have already implemented update process? Do you have any examples that come close to this principle? Which libraries are needed to do that? How to tell the bootloader that an update is to be done (registry, ...)?

Regards,

Related