Hello ...
Our product uses a secure bootloader based on the SDK 15.3.0 secure_bootloader dfu example. I've found a few posts eluding to bugs and would like to confirm whether or not fixed in 15.3.
This one appears to be fixed:
https://devzone.nordicsemi.com/f/nordic-q-a/38048/bug-in-how-bootloader-treats-gpregret
This on appears not to be fixed:
https://devzone.nordicsemi.com/f/nordic-q-a/39477/dfu-enter-check
The poster suggested the solution:
(NRF_BL_DFU_ENTER_METHOD_GPREGRET && (nrf_power_gpregret_get() & BOOTLOADER_DFU_START) == BOOTLOADER_DFU_START)
Is this an appropriate fix?
Also, see this proposal from a couple years ago:
https://devzone.nordicsemi.com/f/nordic-q-a/36601/gpregret-and-nrf_bootloader-c-evolution-proposal
Resolved in SDK 15.3.0?
Many thanks,
Tim