Start of application takes ages after DFU process is complete

Hello,

in my application (SDK 16.0.0, nRF52840) I perform a DFU and successfully update the application firmware. However I have noticed that from the moment when the DFU is complete (i.e. the moment when the on_dfu_complete callback, defined in nrf_dfu_req_handler.c, is executed) to the moment when my application is active there is a huge time gap, about 15 seconds. Do you have any idea about the cause of this gap and how to reduce it? My guess is that there is either a coherence check on the new application before it is started, or a specific parameter that causes the delay in the sdk_config.h, which I am not aware of. My application occupies little less than half the available flash on the 52840.

Thank you.

Kind regards,

Stefano

Related