Hi
Is there a way to avoid entering a second time into bootloader mode, if the NRF_BL_DFU_ENTER_METHOD_BUTTON is still pressed after timeout?
I want to enter into the bootloader mode, if the device gets charged. if no dfu is started, it should return to executing the app.
so when the charger gets connected the NRF_BL_DFU_ENTER_METHOD_BUTTON is set to low and a reset is performed with sd_nvic_SystemReset();
then the bootloader starts up
if no DFU is startet, after NRF_BL_DFU_INACTIVITY_TIMEOUT_MS a reset is started, but as the charger is still connected and the NRF_BL_DFU_ENTER_METHOD_BUTTON is still low, the bootloader does not jump to the application.
Has anyone an idea, how to solve this problem?
Thanks
nrf52840
S140 7.0.0
nRF5_SDK_17.0.0\examples\dfu\secure_bootloader\pca10056_s140_ble_debug