1.3.0 NONE OS_SDK升级固件遇到的问题
1.3.0 NONE OS_SDK升级固件遇到的问题
Postby liding » Thu May 12, 2016 6:14 pm
从user1.bin升级到user2.bin的时候 出现如下的错误,导致升级不成功
2nd boot version : 1.4(b1)
SPI Speed : 40MHz
SPI Mode : QIO
SPI Flash Size & Map: 32Mbit(512KB+512KB)
jump to run user2 @ 81000
error magic!
first boot failed, reboot to try backup bin
哪位大神知道这个问题怎能解决吗?
2nd boot version : 1.4(b1)
SPI Speed : 40MHz
SPI Mode : QIO
SPI Flash Size & Map: 32Mbit(512KB+512KB)
jump to run user2 @ 81000
error magic!
first boot failed, reboot to try backup bin
哪位大神知道这个问题怎能解决吗?
Re: 1.3.0 NONE OS_SDK升级固件遇到的问题
Postby ESP_Faye » Fri May 13, 2016 12:11 pm
您好,
看起来像是您的 user2.bin 不对劲。
请确认,user1.bin 和 user2.bin 应该是不同的两个 bin 文件,编译步骤:
1. 编译 user1.bin
2. make clean 清除上次编译生成的临时文件
3. 与步骤 1 中的其他编译选项均一致,区别仅在于选择编译 user2
怀疑您是否在编译时异常,您的 user1.bin 和 user2.bin 其实都是 user1.bin ?
看起来像是您的 user2.bin 不对劲。
请确认,user1.bin 和 user2.bin 应该是不同的两个 bin 文件,编译步骤:
1. 编译 user1.bin
2. make clean 清除上次编译生成的临时文件
3. 与步骤 1 中的其他编译选项均一致,区别仅在于选择编译 user2
怀疑您是否在编译时异常,您的 user1.bin 和 user2.bin 其实都是 user1.bin ?
Re: 1.3.0 NONE OS_SDK升级固件遇到的问题
Postby liding » Fri May 13, 2016 2:01 pm
1、编译user1 的时候是按以下步骤的
lid@lid-MAC:~/share/esp8266_ota/app$ ./gen_misc.sh
gen_misc.sh version 20150511
Please follow below steps(1-5) to generate specific bin(s):
STEP 1: choose boot version(0=boot_v1.1, 1=boot_v1.2+, 2=none)
enter(0/1/2, default 2):
1
boot mode: new
STEP 2: choose bin generate(0=eagle.flash.bin+eagle.irom0text.bin, 1=user1.bin, 2=user2.bin)
enter (0/1/2, default 0):
1
generate bin: user1.bin
STEP 3: choose spi speed(0=20MHz, 1=26.7MHz, 2=40MHz, 3=80MHz)
enter (0/1/2/3, default 2):
spi speed: 40 MHz
STEP 4: choose spi mode(0=QIO, 1=QOUT, 2=DIO, 3=DOUT)
enter (0/1/2/3, default 0):
spi mode: QIO
STEP 5: choose spi size and map
0= 512KB( 256KB+ 256KB)
2=1024KB( 512KB+ 512KB)
3=2048KB( 512KB+ 512KB)
4=4096KB( 512KB+ 512KB)
5=2048KB(1024KB+1024KB)
6=4096KB(1024KB+1024KB)
enter (0/2/3/4/5/6, default 0):
4
2、编译user2.bin的时候 除了SETP2 选择2之外,所有选项都是一致的,当然编译user2.bin之前 我是make clean过了的,
3、我的flash是4MB的
lid@lid-MAC:~/share/esp8266_ota/app$ ./gen_misc.sh
gen_misc.sh version 20150511
Please follow below steps(1-5) to generate specific bin(s):
STEP 1: choose boot version(0=boot_v1.1, 1=boot_v1.2+, 2=none)
enter(0/1/2, default 2):
1
boot mode: new
STEP 2: choose bin generate(0=eagle.flash.bin+eagle.irom0text.bin, 1=user1.bin, 2=user2.bin)
enter (0/1/2, default 0):
1
generate bin: user1.bin
STEP 3: choose spi speed(0=20MHz, 1=26.7MHz, 2=40MHz, 3=80MHz)
enter (0/1/2/3, default 2):
spi speed: 40 MHz
STEP 4: choose spi mode(0=QIO, 1=QOUT, 2=DIO, 3=DOUT)
enter (0/1/2/3, default 0):
spi mode: QIO
STEP 5: choose spi size and map
0= 512KB( 256KB+ 256KB)
2=1024KB( 512KB+ 512KB)
3=2048KB( 512KB+ 512KB)
4=4096KB( 512KB+ 512KB)
5=2048KB(1024KB+1024KB)
6=4096KB(1024KB+1024KB)
enter (0/2/3/4/5/6, default 0):
4
2、编译user2.bin的时候 除了SETP2 选择2之外,所有选项都是一致的,当然编译user2.bin之前 我是make clean过了的,
3、我的flash是4MB的
Re: 1.3.0 NONE OS_SDK升级固件遇到的问题
Postby jimmywang » Mon May 23, 2016 4:06 pm
我现在遇到 一个问题,Flash是4M的,编译时STEP5选择的是6,1024+1024,编译出的user1.4096.new.6.bin有276K,刷到8266上后,串口就一直打印乱麻,感觉是系统crash了,我把代码精简了一部分,编译后有249K,程序就能正常起来,感觉是限制在256K一样,不知道是啥原因。
esp_init_data_default.bin 0x3FC000
blank.bin 0x3FE000
boot.bin 0x00000
user1.4096.new.6.bin 0x01000
Flush tool :ESP_DOWNLOAD_TOOL_V2.4.exe
FLASH SIZE:32Mbi-C1
esp_init_data_default.bin 0x3FC000
blank.bin 0x3FE000
boot.bin 0x00000
user1.4096.new.6.bin 0x01000
Flush tool :ESP_DOWNLOAD_TOOL_V2.4.exe
FLASH SIZE:32Mbi-C1
Who is online
Users browsing this forum: No registered users and 235 guests
Login
Newbies Start Here
Are you new to ESP8266?
Unsure what to do?
Dunno where to start?
Start right here!
Latest SDK
Documentation
Complete listing of the official ESP8266 related documentation release by ESPRESSIF!
Must read here!
- All times are UTC+08:00
- Top
- Delete all board cookies
About Us
Espressif Systems is a fabless semiconductor company providing cutting-edge low power WiFi SoCs and wireless solutions for wireless communications and Internet of Things applications. We are the manufacturer of ESP8266EX.