Moderator: Sprite_tm
I have been using httpd code at a lot of ESP-03 modules 512KB), still non-lib version,
works very robust and stable,
no I got new ESP-12F modules with 4MB flash and want to move to lib version,
want to use in particular OTA upgrade,
generation and flash via serial of .ota file with OUTPUT_TYPE=ota works so far,
but I can't upgrade via OTA, when I upload httpd.user2.bin or httpd.user2.out I get:
...
Firmware upload cgi start.
Did not recognize flash image type!
Upload done. Sending response.
...
when I download httpd.ota file I get:
...
Firmware upload cgi start.
Flashing user2.bin from ota image
Upload done. Sending response.
Pool slot 0 is done. Cleaning up for next req
URL = /flash/reboot
Is url index 0
Is url index 9
...
but it doesn't switch to user2:
...
2nd boot version : 1.4(b1)
SPI Speed : 40MHz
SPI Mode : QIO
SPI Flash Size & Map: 4Mbit(256KB+256KB)
jump to run user2 @ 41000
error magic!
first boot failed, reboot to try backup bin
ets Jan 8 2013,rst cause:4, boot mode:(3,7)
wdt reset
load 0x40100000, len 1396, room 16
...
I tried 1024 and 4096 in makefile
any hints ?
Thanks,
Grooves
but just with 1024,
4096 generates an error magic,
but doesn't matter for me
Regards,
grooves
I also have 4096 flash size and see the error magic when doing OTA update on open sdk 2.0.
Maybe I'll dig in and see if I can fix.