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

DFU in external memory

Hi,

I am working on doing a DFU over UART into my nrf52840 DK using the external memory provided. I want to be able to store the new init and firmware packages into external memory, then be able to move it from external to flash after validation. I am having trouble trying to figure out how to go about doing this. I have been going through some of the Devzone posts and know this is possible, but I am still confused about where to start with going about this. I still consider myself a beginner with Nordic, so any help is appreciated!

Parents
  • Hi,

    It is possible to add support for external flash as you say, but it will require some major changes to the existing SDK bootloader. What's the motivation for using QSPI flash in this case, if I may ask? External flash will not let you update any larger FW images assuming DFU is handled within the bootloader.

  • Hi, 

    We are currently running firmware on the nrf52840 DK. We do not want to loose any of our code while performing a DFU in case it were to fail, so we purchased an external memory that would be able to hold the new firmware without erasing the old until the new one has been post-validated. Since QSPI is faster and all of the sample code and nrfjprog use QSPI, I thought it would be safer to use QSPI. However, the chip we are using can do SPI, Dual SPI and QSPI just in case I need to switch to SPI.

Reply
  • Hi, 

    We are currently running firmware on the nrf52840 DK. We do not want to loose any of our code while performing a DFU in case it were to fail, so we purchased an external memory that would be able to hold the new firmware without erasing the old until the new one has been post-validated. Since QSPI is faster and all of the sample code and nrfjprog use QSPI, I thought it would be safer to use QSPI. However, the chip we are using can do SPI, Dual SPI and QSPI just in case I need to switch to SPI.

Children
Related