ESP8266 Developer Zone The Official ESP8266 Forum 2016-06-17T13:50:16+08:00 https://bbs.espressif.com:443/feed.php?f=7&t=2298 2016-06-17T13:50:16+08:00 2016-06-17T13:50:16+08:00 https://bbs.espressif.com:443/viewtopic.php?t=2298&p=7381#p7381 <![CDATA[Re: the error with upgrade]]>
从您提供的 log 看来,您使用的 flash 是 16Mbit (2048KByte) 的,或者您烧录时 flash size 选择成了 16Mbit。

2nd boot version : 1.4(b1)
SPI Speed : 40MHz
SPI Mode : QIO
SPI Flash Size & Map: 16Mbit(512KB+512KB)
jump to run user1 @ 1000

请确认您的 flash 实际大小是 16Mbit 还是 32Mbit ?
如果是 32Mbit flash,可以当做较小容量 flash 使用,即可以当做 16Mbit flash 使用,
但是 16Mbit flash 无法当做 32Mbit (4096KByte) 使用。
您的以下 bin 烧录错误

将user1.4096.new.6.bin烧些在0x01000地址
将blank.bin烧些在0x3fe000地址
将esp_init_data_default.bin烧些在0x3fc000地址

Statistics: Posted by ESP_Faye — Fri Jun 17, 2016 1:50 pm


]]>
2016-06-17T13:31:34+08:00 2016-06-17T13:31:34+08:00 https://bbs.espressif.com:443/viewtopic.php?t=2298&p=7378#p7378 <![CDATA[Re: the error with upgrade]]> 将boot_v1.4(b1).bin烧些在0x0地址
将user1.4096.new.6.bin烧些在0x01000地址
将blank.bin烧些在0x3fe000地址
将esp_init_data_default.bin烧些在0x3fc000地址
请问会有什么影响呢

Statistics: Posted by hualaonanxiaoniao — Fri Jun 17, 2016 1:31 pm


]]>
2016-06-17T12:20:53+08:00 2016-06-17T12:20:53+08:00 https://bbs.espressif.com:443/viewtopic.php?t=2298&p=7377#p7377 <![CDATA[Re: the error with upgrade]]>
请问您是否烧录了 blank.bin 做初始化?

Statistics: Posted by ESP_Faye — Fri Jun 17, 2016 12:20 pm


]]>
2016-06-16T18:24:14+08:00 2016-06-16T18:24:14+08:00 https://bbs.espressif.com:443/viewtopic.php?t=2298&p=7366#p7366 <![CDATA[the error with upgrade]]> 升级程序是利用http://bbs.espressif.com/viewtopic.php?f=7&t=423这个帖子参考的
但是程序切换到user2.bin中时出现了问题,请问应该往哪方面的方向解决呢
HEAD /user2.4096.new.6.bin HTTP/1.0
Host: 172.16.2.39:80
Connection: close
Cache-Control: no-cache
User-Agent: Mozilla/5.0 (Windows NT 5.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/30.0.1599.101 Safari/537.36
Accept: */*
Accept-Encoding: gzip,deflate,sdch
Accept-Language: zh-CN,zh;q=0.8

pusrdata = HTTP/1.0 200 Ok
Server: aidex/1.1 (Win32)
Accept-Ranges: bytes
Date: Thu, 16 Jun 2016 10:14:16 GMT
Last-Modified: Thu, 16 Jun 2016 02:02:59 GMT
Content-Type: application/octet-stream
Content-Length: 306404
Connection: close


sumlength = 306404
sec_block 75
...........................................................................
pusrdata =
server do not support HEAD method now send GET message
GET /user2.4096.new.6.bin HTTP/1.0
Host: 172.16.2.39:80
Connection: keep-alive
Cache-Control: no-cache
User-Agent: Mozilla/5.0 (Windows NT 5.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/30.0.1599.101 Safari/537.36
Accept: */*
Accept-Encoding: gzip,deflate,sdch
Accept-Language: zh-CN,zh;q=0.8

upgrade_get_sum_disconcb 33728
erase sector=1 ok

ets Jan 8 2013,rst cause:4, boot mode:(3,7)

wdt reset
load 0x40100000, len 1396, room 16
tail 4
chksum 0x89
load 0x3ffe8000, len 776, room 4
tail 4
chksum 0xe8
load 0x3ffe8308, len 540, room 4
tail 8
chksum 0xc0
csum 0xc0

2nd boot version : 1.4(b1)
SPI Speed : 40MHz
SPI Mode : QIO
SPI Flash Size & Map: 16Mbit(512KB+512KB)
jump to run user1 @ 1000

error magic!
backup boot failed.

user code done

Statistics: Posted by hualaonanxiaoniao — Thu Jun 16, 2016 6:24 pm


]]>