Hello,
We're seeing an error that only happens after a cold reboot (unplugging the battery and replugging it) and it happens inside the bootloader while trying to open the secondary flash area in the external flash. I think. If I change the bootloader code inside `bootloader/mcuboot/boot/bootutil/src/loader.c` to reset Nordic instead of panicking, it's recovering fine (i.e. calling NVIC_SystemReset() instead of FIH_PANIC)
I'm using w25q64 for flash and QSPI to communicate with the flash.
The error message is:
E: Failed to open flash area ID 2 (image 0 slot 1): -19, cannot continue
I'm using the following DTS overlay:
/ {chosen {nordic,pm-ext-flash = &w25q64;};};&qspi {status = "okay";pinctrl-0 = <&qspi_default>;pinctrl-1 = <&qspi_sleep>;pinctrl-names = "default", "sleep";w25q64: w25q6435f@0 {compatible = "nordic,qspi-nor";reg = <0>;sck-frequency = <8000000>;jedec-id = [ef 40 17];sfdp-bfp = [e5 20 f9 ff ff ff ff 03 44 eb 08 6b 08 3b 42 bbfe ff ff ff ff ff 00 00 ff ff 40 eb 0c 20 0f 5210 d8 00 00 36 02 a6 00 82 ea 14 c4 e9 63 76 337a 75 7a 75 f7 a2 d5 5c 19 f7 4d ff e9 30 f8 80];size = <67108864>;has-dpd;t-enter-dpd = <10000>;t-exit-dpd = <35000>;};
};
Any pointers would be much appreciated.