Hi,
I'd like to add a cli command for entering DFU mode .
I'm using nrfConnect on a PC with USB.
When pressing the IF/BOOT button, I can enter DFU and can update the application. I want to do same with user-initiated CLI .
I've tried :
sd_power_gpregret_set(0,0xB1);
nrf_pwr_mgmt_shutdown(NRF_PWR_MGMT_SHUTDOWN_GOTO_DFU); // \
Bur device does not enter DFU mode ( skipping to valid application )
Any Idea ?
Ran