-
Notifications
You must be signed in to change notification settings - Fork 13.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OTA updates fail #1107
Comments
i think its the same root cause then #1017 |
I have the same problem (nodemcu v1.0) |
I'm using the Olimex MOD-WIFI-ESP8266-DEV, which uses 2K pullups on GPIO0 instead of 10K. I flashed a simple sketch (no OTA) which waits 2 seconds and issues ESP.restart(); ets Jan 8 2013,rst cause:1, boot mode:(1,0) ets Jan 8 2013,rst cause:4, boot mode:(1,0) wdt reset Cycling the power, my simple restart sketch runs as expected, restarting without issue many times over. Any ideas? Thanks. |
Update: If I do a physical power cycle after flashing a sketch (OTA and non-OTA), the ESP will restart OK. |
Let's move the discussion to #1017, which is basically the same issue. |
Testing out sketch: ESP8266WebServer/examples/WebUpdate/WebUpdate.ino
On initial upload of a simple sketch that prints hello world, the OTA update fails and the ESP8266 hangs. Cycling the power and uploading the sketch again seems to work. Any ideas why the first attempt always fails? Log below:
Booting Sketch...
Ready! Open http://esp8266-webupdate.local in your browser
Update: ESP8266PCB.cpp.generic.bin
sleep disable
Update Success: 266384
Rebooting...
ets Jan 8 2013,rst cause:1, boot mode:(1,0)
ets Jan 8 2013,rst cause:4, boot mode:(1,0)
wdt reset
cycle power
Booting Sketch...
Ready! Open http://esp8266-webupdate.local in your browser
Update: ESP8266PCB.cpp.generic.bin
sleep disable
Update Success: 266384
Rebooting...
ets Jan 8 2013,rst cause:1, boot mode:(3,0)
load 0x4010f000, len 1264, room 16
tail 0
chksum 0x42
csum 0x42
@cp:0
ld
new sketch starts up OK
The text was updated successfully, but these errors were encountered: