penatenjoe wrote:I tried the WebUpdate sketch but cannot make it work even once. I do see the webpage from the ESP and can select a file and push the upload-button. But I keep getting "lmac.c 662" in the terminal and then the chip reboots. In my tests I used the stable version (July 23) and tried to upload the Blink sketch. Does someone have a suggestion what I do wrong?
For the DNS_SD_Arduino_OTA sketch it appears I have to have a telnet server which is beyond my skills... any suggestions on how to get started?
Here's the terminal output:
Booting Sketch...
Ready! Open http://esp8266-webupdate.local in your browser
Update: BlinkWithoutDelay.cpp.bin
lmac.c 662
ets Jan 8 2013,rst cause:4, boot mode:(3,6)
wdt reset
load 0x4010f000, len 1264, room 16
tail 0
chksum 0x42
csum 0x42
~ld
I was getting the same thing with OTA update and investigation revealed that new Espressif SDK throw that exception if interrupts are disabled for more then 10uS (weird). I commented out the
noInterrupts()
bool UpdaterClass::_writeBuffer(){