Using the new Arduino IDE for ESP8266 and found bugs, report them here

Moderator: igrr

User avatar
By mugginsjm
#63461 Hi maybe someone can help me. I have had some success with OTA but not with this sketch
I don't know what the problem is here?... I get:
thanks

[httpUpdate] Header read fin.
[httpUpdate] Server header:
[httpUpdate] - code: 200
[httpUpdate] - len: 360736
[httpUpdate] ESP8266 info:
[httpUpdate] - free Space: 2781184
[httpUpdate] - current Sketch Size: 363904
[httpUpdate] runUpdate flash...
sleep disable
[begin] roundedSize: 0x00059000 (364544)
[begin] updateEndAddress: 0x00300000 (3145728)
[begin] currentSketchSize: 0x00059000 (364544)
[begin] _startAddress: 0x002A7000 (2781184)
[begin] _currentAddress: 0x002A7000 (2781184)
[begin] _size: 0x00058120 (360736)
Fatal exception 0(IllegalInstructionCause):
epc1=0x40201014, epc2=0x00000000, epc3=0x400043da, excvaddr=0x00000000, depc=0x00000000

Exception (0):
epc1=0x40201014 epc2=0x00000000 epc3=0x400043da excvaddr=0x00000000 depc=0x00000000

ctx: sys
sp: 3ffefb30 end: 3fffffb0 offset: 01a0

>>>stack>>>
3ffefcd0: 00000000 00000000 00000000 401052a1
3ffefce0: 4010644f 00000000 00000000 00000000
User avatar
By Daemach
#63467 The only advice I can give you is to make sure you cycle power before trying to do the OTA update. If you try to do OTA right after a serial upload it will crash every time. Upload your firmware, then disconnect power and reconnect.