Hi,
I am using NRF52840.
After upgrading to SDK 17, I found that the chuo stays in boot mode because this new condition (I highlighted it in the code below):
if (NRF_BL_DFU_ENTER_METHOD_GPREGRET/* &&
((nrf_power_gpregret_get() & BOOTLOADER_DFU_GPREGRET_MASK) == BOOTLOADER_DFU_GPREGRET)
&& (nrf_power_gpregret_get() & BOOTLOADER_DFU_START_BIT_MASK))
{
// Clear DFU mark in GPREGRET register.
nrf_power_gpregret_set(nrf_power_gpregret_get() & ~BOOTLOADER_DFU_START);
}
For the time begin, i simply commented it out.
What is the intention of this mask and how should it be used?
Thanks,
Alon Barak
Software Engineer
Qcore medical