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

ble_radio_notification_init causes early termination in DFU bootloader

My application uses ble_radio_notification_init. Every time I switch from my application to the DFU bootloader it drops the connection about 10 seconds after starting the bootloader.

If I remove ble_radio_notification_init the bootloader works fine, and the dfu process goes through with no interruption.

When I use radio_notification_init in my application code, the dfu process breaks about 10 seconds after switching from the application to the bootloader.

I tried to disable the notifications in my reset_prepare function with this code:

ble_conn_params_stop();   sd_radio_notification_cfg_set(NRF_RADIO_NOTIFICATION_TYPE_NONE,NRF_RADIO_NOTIFICATION_DISTANCE_NONE);
sd_nvic_DisableIRQ(SWI1_IRQn);
err_code = sd_nvic_ClearPendingIRQ(SWI1_IRQn);


nrf_delay_ms(500)

However it does NOT help the problem.

How do I disable ble_radio_notification_init so the DFU may work without a disconnect?

Parents Reply Children
No Data
Related