Skip to content
This repository has been archived by the owner on Jul 6, 2024. It is now read-only.

ESP32: reset watchdog timer during update #90

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

flowerysong
Copy link

Without this change, updates consistently fail because the watchdog causes a panic (see espressif/arduino-esp32#3775, where similar behaviour is reported.)

E (20871) task_wdt: Task watchdog got triggered. The following tasks did not reset the watchdog in time:
E (20871) task_wdt:  - IDLE (CPU 0)
E (20871) task_wdt: Tasks currently running:
E (20871) task_wdt: CPU 0: ipc0
E (20871) task_wdt: CPU 1: loopTask
E (20871) task_wdt: Aborting.

With this change, OTA updates complete as expected.

@ayushsharma82
Copy link
Owner

Hi @flowerysong,

Thanks for digging into code and finding the cause! I'd like to merge this, can you please resolve the conflicts which occurred with recent merge? We just split AsyncElegantOTA header into separate .h and .cpp files with #95 .

Fixes:

E (20871) task_wdt: Task watchdog got triggered. The following tasks did not reset the watchdog in time:
E (20871) task_wdt:  - IDLE (CPU 0)
E (20871) task_wdt: Tasks currently running:
E (20871) task_wdt: CPU 0: ipc0
E (20871) task_wdt: CPU 1: loopTask
E (20871) task_wdt: Aborting.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants