nrf9160 DFU using external flash

Hi,

Board: nRF9160-DK (PCA10090 - v1.0.0)
SDK Version: nRF Connect SDK 3.1.0

Goal

We’re trying to configure the nRF9160 to use external storage as the secondary partition for MCUboot, with the aim of performing DFU over LwM2M.

We’ve previously done this on the nRF52 series, but the approach appears to have changed in NCS v3.x compared to v2.x.

What we’ve tried

We followed this guide: academy.nordicsemi.com/.../

However, on boot we see the following error:

 

*** Booting MCUboot v2.1.0-dev-2b69d93e75bc ***
*** Using nRF Connect SDK v3.1.0-6c6e5b32496e ***
*** Using Zephyr OS v4.1.99-1612683d4010 ***
I: Starting bootloader
W: Cannot upgrade: not a compatible amount of sectors
E: Image in the primary slot is not valid!
E: Unable to find bootable image

We’ve uploaded a ZIP with the relevant config files and build outputs (seems better than pasting inline).

Questions

  • Can you spot anything in our configuration that would cause this issue?
  • Are there any working example projects for the nRF9160 on NCS >= v3.1.0 that use external storage for MCUboot’s secondary image?

Thanks in advance!

0245.For Nordic.zip

Parents Reply Children
No Data
Related