Add 60s watchdog for nrf52 to prevent stuck nrf devices like RAK4631, RAK3401#2019
Draft
weebl2000 wants to merge 1 commit intomeshcore-dev:devfrom
Draft
Add 60s watchdog for nrf52 to prevent stuck nrf devices like RAK4631, RAK3401#2019weebl2000 wants to merge 1 commit intomeshcore-dev:devfrom
weebl2000 wants to merge 1 commit intomeshcore-dev:devfrom
Conversation
In order to restore after battery voltage sags too low
Contributor
|
I believe watchdog is a mitigation fix. ESP32 seems to recover well in this scenario. |
Contributor
Author
Yes, this is not the fix of the root cause. |
Contributor
Nice read. I guess this issue may due to NRF52 limitation or bootlock or even I2C sensors. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
In order to restore after battery voltage sags too low. Or any other reason the device might hang for that matter.
In the process of being tested, keeping it as draft until more results are in. Tagging @IoTThinks too.
How to test: ideally with a power supply, first boot at say 3.6V, then drop voltage down to 1.5-2.0V, your device will brown out, and hopefully come back to life if you up the voltage to 3.6V again.
Chose to set runtime voltage about 200mV below the bootlock voltage.
Build this firmware for your device HERE
possibly related issue: #1974
References: