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

Using external flash for OTA-DFU instead of internal flash

Hi,

I am using nrf52832 and mesh sdk 3.1.0 with nrf5 sdk 15.2.

We use dual bank approach for our firmware update with the normal nrf5 sdks ble bootloader. But now our application size has increased and bank1 from internal flash will not be sufficient to download and keep the new firmware image. To take care of this we want to use our external flash which works on SPI interface to act as bank1 for firmware image. Can you please confirm if this is possible by modifying the bootloader code? Can you please let me know if any example code is available which does similar thing? Or can you please give me some pointers on how to go about it? 

Parents
  • Hi,

    It should be possible, yes, although it may require a lot of work. I assume that you do have the product on the market already, so that change of hardware is not a solution. It would probably be easier to change to an SoC with more flash.

    Unfortunately we do not have any example for using external flash for bank 1, but we can answer questions if you get specific issues when implementing it yourself.

    You may get some help from referring an open question here on DevZone: DFU with external QSPI memory. Please note that in that case, it was the nRF52840 which has QSPI, while in your case with the nRF52832 you must use SPI instead. This means the QSPI/SPI part will be slightly different.

    Regards,
    Terje

Reply
  • Hi,

    It should be possible, yes, although it may require a lot of work. I assume that you do have the product on the market already, so that change of hardware is not a solution. It would probably be easier to change to an SoC with more flash.

    Unfortunately we do not have any example for using external flash for bank 1, but we can answer questions if you get specific issues when implementing it yourself.

    You may get some help from referring an open question here on DevZone: DFU with external QSPI memory. Please note that in that case, it was the nRF52840 which has QSPI, while in your case with the nRF52832 you must use SPI instead. This means the QSPI/SPI part will be slightly different.

    Regards,
    Terje

Children
No Data
Related