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

Update firmware from flash

Hi all,

I'm using nrf51822, sdk 6.1 and s110 v7.1.

My idea is to use the GPRS module of my board to receive the new firmware (the module works with UART), save it to the flash(if it's needed) and then update firmware to the new one. How is the best way to do this? Which example can I use? I'm very familiar with OTA firmware update but in this case I don't know how to start.

Thanks in advance,

Aida

Parents
  • How do you plan to store the firmware on flash ? the GPRS module's flash or the nRF51 flash ?

    Is there any MCU on the GPRS module beside the nRF51 ?

    If there is an MCU on GPRS module, you can think of using the serial bootloader on the nRF51 and do DFU from that MCU.

    If you don't you would need to store the new image on the NRF51 and after the new image is verified, you switch to bootloader and swap the image. You can either modify the bootloader to make this work.

  • Hi Hung Bui,

    I want to implement same like update firmware from nRF52840 internal flash. For more details will you please see my another thread click here. I have stored program zip file into internal flash memory but now problem is when device in DFU mode and read this zip file from flash how i can process this file to init_packet then transfer image.

    Any help most appreciate for us...

    Thanks..!!

Reply Children
No Data
Related