-
Notifications
You must be signed in to change notification settings - Fork 13.3k
WebUpdater problem #2090
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
Comments
does it freeze after the update is done? Also what happens if you reset the ESP manually after you update and then try again? |
Yes, freeze after update. I make a manual reset because when they reset Em Sáb, 4 de jun de 2016 05:27, Me No Dev notifications@github.com
|
@me-no-dev Booting Sketch... ############################################################################# ets Jan 8 2013,rst cause:2, boot mode:(3,6) load 0x4010f000, len 1264, room 16 ets Jan 8 2013,rst cause:4, boot mode:(3,6) wdt reset |
I am having the same exception: amica nodemcu with latest master||dev image from nodemcu-build.com |
Having the same issue.. |
Ok I think I've found the problem.. With this fix I didn't had any more freezing problems after update with one client. |
@pauloeduardosp is this issue still valid in latest git? |
The path changed now to line 45. |
Summary of the bug: Solution A:
Solution B:
I like sol'n B. |
Fixes esp8266#2090 The Updater checks that an update isn't already in progress on ::begin, but when an error happens in the middle of an upload it's impossible to actually reset this flag w/o a reboot. Reset the state members (esp. _size) on any error condition so that you can restart the transfer with a new ::begin. Any error condition is fatal, anyway, so there is no reason not to clear the current state at that point.
Fixes #2090 The Updater checks that an update isn't already in progress on ::begin, but when an error happens in the middle of an upload it's impossible to actually reset this flag w/o a reboot. Reset the state members (esp. _size) on any error condition so that you can restart the transfer with a new ::begin. Any error condition is fatal, anyway, so there is no reason not to clear the current state at that point.
Basic Infos
Hardware
Hardware: ESP-07 and ESP-01
Core Version:
Description
Problem description
I'm try to use webupdater sketch exemple, but didn't work.
After I do webupdate with WebUpdate.cpp.bin and to module didn't work and freeze with this information
After I do webupdate with WebUpdate.cpp.bin and to module didn't work and freeze with this information
ets Jan 8 2013,rst cause:2, boot mode:(3,7)
load 0x4010f000, len 1264, room 16
tail 0
chksum 0x0f
csum 0x0f
Settings in IDE
Module: Generic ESP8266 Module
Flash Size: 1MB/64KB
CPU Frequency: 80Mhz
Flash Mode: DIO
Flash Frequency: 44Mhz
Upload Using: OTA
Reset Method:
Sketch
messages here
The text was updated successfully, but these errors were encountered: