Hi all
In development with nRF91 and my application need to using an external flash memory to store the firmware and I try to follow the example this link below.
But I found when I enable to use external flash memory to store firmware slot 1. The bootloader can't enter to use the firmare in slot 0 on flash memory of nRF91.
I'm not sure. What's happened? Every time, My board has to restart.
*** Booting Zephyr OS build v3.0.99-ncs1 *** I: Starting bootloader I: Primary image: magic=unset, swap_type=0x1, copy_done=0x3, image_ok=0x3 I: Secondary image: magic=bad, swap_type=0x1, copy_done=0x2, image_ok=0x2 I: Boot source: none I: Swap type: none I: Bootloader chainload address offset: 0x20000 *** Booting Zephyr OS build v+----------------------+ I: Starting bootloader | Leave Minicom? | I: Primary image: magic=unset| Yes No |ne=0x3, image_ok=0x3 I: Secondary image: magic=bad+----------------------+ne=0x2, image_ok=0x2 I: Boot source: none I: Swap type: none I: Bootloader chainload address offset: 0x20000 *** Booting Zephyr OS build v3.0.99-ncs1 *** I: Starting bootloader I: Primary image: magic=unset, swap_type=0x1, copy_done=0x3, image_ok=0x3 I: Secondary image: magic=bad, swap_type=0x1, copy_done=0x2, image_ok=0x2 I: Boot source: none I: Swap type: none I: Bootloader chainload address offset: 0x20000 *** Booting Zephyr OS build v3.0.99-ncs1 *** I: Starting bootloader I: Primary image: magic=unset, swap_type=0x1, copy_done=0x3, image_ok=0x3 I: Secondary image: magic=bad, swap_type=0x1, copy_done=0x2, image_ok=0x2 I: Boot source: none I: Swap type: none I: Bootloader chainload address offset: 0x20000 *** Booting Zephyr OS build v3.0.99-ncs1 *** I: Starting bootloader I: Primary image: magic=unset, swap_type=0x1, copy_done=0x3, image_ok=0x3 I: Secondary image: magic=bad, swap_type=0x1, copy_done=0x2, image_ok=0x2 I: Boot source: none I: Swap type: none I: Bootloader chainload address offset: 0x20000 I: Jumping to the first image slot
Base on:
1. SDK version ncs 2.0
2. HW PCA10090 V.1.0.0
My source code for test.
Wasan