-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Description
Using 2.1.0-rc1 on a esp8266 E-12 I get this error when updating via httpUpdate:
I've activated the debug for HTTPClient + HTTPUpdate + Updater and after doing this call...
t_httpUpdate_return ret = ESPhttpUpdate.update("",80,"/nuevofirm.bin","0.1");
I've got this debug traces:
[httpUpdate] Header read fin.
[httpUpdate] Server header:
[httpUpdate] - code: 200
[httpUpdate] - len: 321120
[httpUpdate] ESP8266 info:
[httpUpdate] - free Space: 700416
[httpUpdate] - current Sketch Size: 344096
[httpUpdate] - current version: 0.1
[httpUpdate] runUpdate flash...
sleep disable
[begin] roundedSize: 0x0004F000 (323584)
[begin] updateEndAddress: 0x00100000 (1048576)
[begin] currentSketchSize: 0x00055000 (348160)
[begin] _startAddress: 0x000B1000 (724992)
[begin] _currentAddress: 0x000B1000 (724992)
[begin] _size: 0x0004E660 (321120)
ERROR[1]: Flash Write Failed
[httpUpdate] Update.writeStream failed! (ERROR[1]: Flash Write Failed)
[httpUpdate] Update failed
The return code is 0.
Any ideas of what is causing this error?
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.