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

how to upgrade firmware throught external spi flash

hi, when i run the application , i used the external spi flash to download the firmware from my company's server, then make a upgrade flag to the spi flash and reset the chip. how can i write a basic bootloader to move the firmware to the application reginon instead of the previous application.

Parents
  • Hi Dasu,

    We don't have that type of bootloader yet. You may have to write your own code for the bootloader to copy the image from the external SPI flash to the internal one.

    Do you have softdevice on your chip ? If you do, you can follow what we have with the current bootloader on how to forward the vector table and branch the program counter to start application. If you don't have a softdevice, you can have a look at our example here.

Reply
  • Hi Dasu,

    We don't have that type of bootloader yet. You may have to write your own code for the bootloader to copy the image from the external SPI flash to the internal one.

    Do you have softdevice on your chip ? If you do, you can follow what we have with the current bootloader on how to forward the vector table and branch the program counter to start application. If you don't have a softdevice, you can have a look at our example here.

Children
No Data
Related