Flashed these to an esp12 (using Windows).
OTA seems to work ok but the resulting rom1 is bad (see code window).
>info
SDK: vÛ
Free Heap: 43368
CPU Frequency: 80 MHz
System Chip ID: 0x0xa2caf8
SPI Flash ID: 0x0x1640c8
bootconf.roms[slot] = 0x202000
(bootconf.roms[slot] & 0xFFF00000) + 0x100000 = 0x300000
>switch
Swapping from rom 0 to rom 1.
Restarting...
state: 5 -> 0 (0)
rm 0
pm close 7 0 0/189474967
del if0
usl
sul 0 0
ets Jan 8 2013,rst cause:2, boot mode:(3,7)
load 0x40100000, len 1544, room 16
tail 8
chksum 0x99
load 0x3ffe8000, len 700, room 0
tail 12
chksum 0xd1
csum 0xd1
rBoot v1.2.1 - richardaburton@gmail.com
Flash Size: 32 Mbit
Flash Mode: QIO
Flash Speed: 40 MHz
rBoot Option: Big flash
Rom 1 is bad.
Booting rom 0.
òËë¢use rtc mem data
rl
trying to mount spiffs at 0x40300000, length 65536
fs.start: size:64 Kb, offset:0x0x100000
mount res: 0
Currently running rom 0.
Type 'help' and press enter for instructions.
mode : sta(18:fe:34:a2:ca:f8)
add if0
f 0, scandone
state: 0 -> 2 (b0)
state: 2 -> 3 (0)
state: 3 -> 5 (10)
add 0
aid 9
pm open phy_2,type:2 0 0
cnt
connected with virginmedia90, channel 7
dhcp client start...
ip:192.168.0.20,mask:255.255.255.0,gw:192.168.0.1
>ls
filecount 1
testfile.txt
>ota
Updating...
+TCP connection
Download file:
(0) http://192.168.0.17:8080/rom0.bin -> 0x202000
Download: http://192.168.0.17:8080/rom0.bin
connect to: 192.168.0.17
TcpConnection::connect result:, 0
realloc 44 -> 175
OnConnected
TCP connected
onReadyToSendData: 0
TcpClient request completed
TCP sent: 46
onReadyToSendData: 2
TCP received: 17 bytes
onReadyToSendData: 1
TCP received: 37 bytes
onReadyToSendData: 1
Header pos: 145
Content-type === application/octet-stream
Content-Length === 241232
Last-Modified === Tue, 08 Sep 2015 11:35:54 GMT
TCP received: 1460 bytes
onReadyToSendData: 1
TCP received: 1460 bytes
onReadyToSendData: 1
TCP received: 1460 bytes
onReadyToSendData: 1
...
...
TCP received: 1460 bytes
onReadyToSendData: 1
TCP received: 1460 bytes
onReadyToSendData: 1
TCP received: 1460 bytes
onReadyToSendData: 1
TCP received: 481 bytes
onReadyToSendData: 1
TCP received: (null)
TCP connection closing
-TCP connection
Download file:
(1) http://192.168.0.17:8080/spiff_rom.bin -> 0x300000
Download: http://192.168.0.17:8080/spiff_rom.bin
+TCP connection
connect to: 192.168.0.17
TcpConnection::connect result:, 0
realloc 49 -> 180
OnConnected
TCP connected
onReadyToSendData: 0
TcpClient request completed
TCP sent: 51
onReadyToSendData: 2
TCP received: 17 bytes
onReadyToSendData: 1
Header pos: 181
Date === Tue, 08 Sep 2015 20:15:11 GMT
Content-type === application/octet-stream
Content-Length === 65536
Last-Modified === Tue, 08 Sep 2015 11:35:56 GMT
TCP received: 1460 bytes
onReadyToSendData: 1
TCP received: 1460 bytes
onReadyToSendData: 1
...
...
TCP received: 1460 bytes
onReadyToSendData: 1
TCP received: 1460 bytes
onReadyToSendData: 1
TCP received: 1460 bytes
onReadyToSendData: 1
TCP received: 21 bytes
onReadyToSendData: 1
TCP received: (null)
TCP connection closing
-TCP connection
Firmware download finished!
- item: 0, addr: 0x202000, len: 241286 bytes
- item: 1, addr: 0x300000, len: 65553 bytes
Firmware updated.
In callback...
Firmware updated, rebooting to rom 1...
state: 5 -> 0 (0)
rm 0
pm close 7 0 0/26800350
del if0
usl
sul 0 0
ets Jan 8 2013,rst cause:2, boot mode:(3,7)
load 0x40100000, len 1544, room 16
tail 8
chksum 0x99
load 0x3ffe8000, len 700, room 0
tail 12
chksum 0xd1
csum 0xd1
rBoot v1.2.1 - richardaburton@gmail.com
Flash Size: 32 Mbit
Flash Mode: QIO
Flash Speed: 40 MHz
rBoot Option: Big flash
Rom 1 is bad.
Booting rom 0.
òËë¢use rtc mem data
rl
trying to mount spiffs at 0x40300000, length 65536
fs.start: size:64 Kb, offset:0x0x100000
mount res: 0
Currently running rom 0.
Type 'help' and press enter for instructions.
mode : sta(18:fe:34:a2:ca:f8)
add if0
f 0, scandone
state: 0 -> 2 (b0)
state: 2 -> 3 (0)
state: 3 -> 5 (10)
add 0
aid 9
pm open phy_2,type:2 0 0
cnt
connected with virginmedia90, channel 7
dhcp client start...
ip:192.168.0.20,mask:255.255.255.0,gw:192.168.0.1
I not looking for immediate problem solving (we are all busy). I expect others may also be able to shed some light or offer other useful debugging information. What works is certainly impressive.
Of course, if you need further info or testing just let me know.