The first time I download the program to my device , it will cause a crash when I try to set NRF_POWER->GPREGRET for OTA purpose;
However after restarting my device, and I try to set NRF_POWER->GPREGRET again, it will work well;
So what may cause this situation?