This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Entering DFU Mode from SW

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

Parents Reply Children
No Data
Related