Skip to content

OTA fails with watchdog timer reset after serial upload #2478

@jackjansen

Description

@jackjansen

Basic Infos

Hardware

Hardware: ESP-12E
Core Version: 2.3.0

Description

OTA from the Arduino IDE often fails for me (some days 80% of the time). If I have the serial port connected (just for debug output, not for uploading) what I see is that the watchdog timer triggers, the 8266 resets, and then goes off to never-never land. Power cycling is required to get it working again.

I'm using ArduinoOTA, not the http server. I've added wdtFeed() calls to the start/progress/end callbacks, which has helped a bit, but I'm still getting the resets fairly often. It may happen more of the WiFi is busy.

Could it be that there's a wdtFeed() or similar call missing in the ArduinoOTA inner loop?

Settings in IDE

Module: NodeMCU 1.0 (ESP-12E)
Flash Size: 4MB
CPU Frequency: 80Mhz
Upload Using: OTA

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions