This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

changes in Bootloader- saving image in external flash and transferring in internal via Bootloader

Hi , I am using ZEPHYR rtos , and using the internal bootloader and its working fine and there are two images but now my code size has increased and i can not store 2 images in internal flash  so have to do implementation of saving the image to external flash and after validation move to internal flash ,what changes i require to make in zephyr bootloader to add external flash code(SPI) and  using only 1 image in bootloader 

Parents
  • Hi, 
    Please find my example of using external flash with MCUBoot and smpsvr. 
    I have tested here and it worked for both nRF5340DK and nRF52840DK , it should be the same for the nRF52833 DK. 
    Please test them on the DK first and then try to port it to your board with SPI instead of QSPI. Note that your flash driver should support: 

    • Single-byte read and write.

    • Writing data from the internal flash memory to the external flash memory.

    The example only support DFU via UART (using mcumgr)

    0726.smp_svr_external.zip

Reply
  • Hi, 
    Please find my example of using external flash with MCUBoot and smpsvr. 
    I have tested here and it worked for both nRF5340DK and nRF52840DK , it should be the same for the nRF52833 DK. 
    Please test them on the DK first and then try to port it to your board with SPI instead of QSPI. Note that your flash driver should support: 

    • Single-byte read and write.

    • Writing data from the internal flash memory to the external flash memory.

    The example only support DFU via UART (using mcumgr)

    0726.smp_svr_external.zip

Children
No Data
Related