forked from adafruit/Adafruit_nRF52_Bootloader
-
-
Notifications
You must be signed in to change notification settings - Fork 31
Maximum time in dfu #41
Copy link
Copy link
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request
Is your feature request related to a problem? Please describe.
After an OTA update failure, the NRF is stuck in DFU mode and cannot connect remotely. It is installed in a hard-to-reach location.
Describe the solution you'd like
I think there should be a maximum time limit for DFU mode. For example, 6 hours; after 6 hours of DFU activation, it should automatically reboot and start up with its current firmware.
Describe alternatives you've considered
I can put a watchdog timer that restarts the power supply if there's no activity on a pin, but that adds unnecessary power and hardware when it should be possible to do it via software.
Additional context
Thank you for what you do