This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

52820 Unable to set the registers via sd_power_gpregret_clr and sd_power_gpregret_set.

Hi,
I want to enter the DFU by setting the register.But when the sd_power_gpregret_clr and sd_power_gpregret_set are set to set the register, and the err_code is 0x02 is returned.



my code:
uint32_t err_code;

err_code = sd_power_gpregret_clr(0,0xffffffff);
VERIFY_SUCCESS(err_code);
err_code = sd_power_gpregret_set(0, BOOTLOADER_DFU_START);
VERIFY_SUCCESS(err_code);
nrf_pwr_mgmt_shutdown(NRF_PWR_MGMT_SHUTDOWN_GOTO_DFU);

Related