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

Update firmware from nrf85240 flash

I am looking to update the NRF52840 firmware from the integrated flash. I am able to get the new firmware file there through other means and I just need to point to that new firmware and reboot. I’ve seen a few answers with partial or vague answers. Can someone give me a concrete (e.g. code would be nice) answer for how to do this?  I’m using SDK 15 and I do NOT want to use other DFU mechanisms (e.g. UART or BLE). I suppose it’s also worth noting that I’m using the sd “file system” to store things on flash. 

Parents Reply
  • Ok, that is helpful but maybe I should backup and give more context. We are running a USB CDC serial protocol to our device already, which is used to send configuration and such. I would like to use that same protocol to update the application firmware. 

    Should I attempt to form a custom DFU transport and generate the appropriate packets or should I follow the bootloader activation model and simply copy the data into the correct location?

    Thanks

Children
Related