-
Notifications
You must be signed in to change notification settings - Fork 7.7k
Closed
Labels
Status: Needs investigationWe need to do some research before taking next steps on this issueWe need to do some research before taking next steps on this issue
Description
Board
all ESP32
Device Description
Any ESP32
Hardware Configuration
n/a
Version
latest master (checkout manually)
IDE Name
Arduino IDE
Operating System
any
Flash frequency
any
PSRAM enabled
yes
Upload speed
OTA
Description
A lot of people across the Internet complain about ArduinoOTA failing with timeouts. They reduce code sizes, increase transfer speeds over WiFi and have random success thereafter. I believe one major reason is the watchdog biting them.
I suggest to add esp_task_wdt_reset(); to ArduinoOTA.onProgress() in the example.
Sketch
ArduinoOTA.onProgress([](unsigned int progress, unsigned int total) {
esp_task_wdt_reset(); // reset watchdog
});
Debug Message
.
Other Steps to Reproduce
No response
I have checked existing issues, online documentation and the Troubleshooting Guide
- I confirm I have checked existing issues, online documentation and Troubleshooting guide.
Metadata
Metadata
Assignees
Labels
Status: Needs investigationWe need to do some research before taking next steps on this issueWe need to do some research before taking next steps on this issue