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

Switch to BLE DFU mode

Hello !

I have two devices with the same firmware, to switch in DFU mode I call this function :

void system_reset_to_dfu(void)
{
    NRF_POWER->GPREGRET = 0;
    NRF_POWER->GPREGRET = 0xB1;
    system_reset();
}

On the first device, I reset in BLE DFU mode.

On the others devices I reset in normal mode ... But I can read 0xB1 in NRF_POWER->GPREGRET register.

Do I need to allow BLE DFU mode somewhere ?

Any clues ?

Thanks Automn

Related