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
  • I have done the implementation but facing this issue

    what can cause this issue also attaching my project files

    00> *** Booting Zephyr OS build v2.4.99-ncs1 ***

    00> I: Starting bootloader 00> W: Failed reading sectors; BOOT_MAX_IMG_SECTORS=512 - too small?

    00>E: Image in the primary slot is not valid!

    00> E: Unable to find bootable image

    also 

Reply
  • I have done the implementation but facing this issue

    what can cause this issue also attaching my project files

    00> *** Booting Zephyr OS build v2.4.99-ncs1 ***

    00> I: Starting bootloader 00> W: Failed reading sectors; BOOT_MAX_IMG_SECTORS=512 - too small?

    00>E: Image in the primary slot is not valid!

    00> E: Unable to find bootable image

    also 

Children
Related