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
  • yeah i have flashed the mcuboot, image first is my application previously my code has 2 images in internal flash and it was working fine ,the as my code size  increased mode the i used external flash for image -1 and internal flash for image -0 and this error start showing can you guiide what more changes are required to made in bootloader code for it 

  • Hi Anil, 
    Have you tried the example provided by Håkon in one of the case I pointed you to ? It was made for nRF5340 but I believe it shouldn't be too hard to configure to work with nRF52833. 
    I don't see CONFIG_PM_EXTERNAL_FLASH=y in your configuration. 

    In addition there is a case here that has the exact same error as you described. Could you have a look ? 

Reply
  • Hi Anil, 
    Have you tried the example provided by Håkon in one of the case I pointed you to ? It was made for nRF5340 but I believe it shouldn't be too hard to configure to work with nRF52833. 
    I don't see CONFIG_PM_EXTERNAL_FLASH=y in your configuration. 

    In addition there is a case here that has the exact same error as you described. Could you have a look ? 

Children
Related