Hi all,
In our project we are using two device running on NRF chipset. One has the s140 softdevice version (NRF52833) and the other has s112 version (NRF52810). We are facing the issue only on the device with s112 softdevie version. More details for the problem:
- The issue is observed when doing DFU from the NRF connect app and the app is killed in between the DFU process.
- For the device with softdevice version s140, it starts to advertise after 2 mins of time. Probably it has to do with the NRF_BL_DFU_INACTIVITY_TIMEOUT_MS value which is set to 2 mins. At this timeout the bootloader is reset.
- However, for the other device which is running on s112 softdevice, it stays in the bootloader waiting for the DFU file forever. The NRF_BL_DFU_INACTIVITY_TIMEOUT_MS value is same as the other device which is 2 mins and after this timeout the bootloader is supposed to reset as per the code.
- Once we do DFU with boottag for the same device from NRF connect app, then the device starts the advertise again and device comes out of the bootloader. However, from our custom application this is not an option. We need the device to come out of bootloader even after failed DFU process.
- Perhaps the bootloader does resets after the inactivity timeout but it again stucks in DFU mode.
- Since enabling the bootloader logs is causing memory segment overlap issue so we are unable to get the bootloader logs to post it here.
So what can be the underlying issue for this? Is it due to some flag that the device starts waiting for DFU? Or the bootloader does not reset in the first place after failed DFU event?
Any help is very much appreciated. Thanks.