Hi,
I am using NCS 2.2.0, nRF5340.
A few days ago, i add NSIB to my project, but i can't upgrade MCUboot. I find some puzzled quetionns after reading the MCUboot code.
In loader.c, path ${NCS_ROOT}/bootloader/mcuboot/boot/bootutil/src/loader.c
It is ok when using internal flash but ext flash.
When i using ext flash, the image header should read from ext flash not 'secondary_fa->fa_off'.
At this point, it will generate erasing the secondary when upgrading target is not the first item later.
Is this question is true?
Best regards,
Yang Hu