我实现了自己的升级功能,但是当我升级完成后,在user2的程序中,再次升级user1的程序,执行擦除0x1000的接口时,程序就崩溃了,再也起不来了。为什么呢?
如下面的打印信息,执行user2,但是实际启动不了。
erase addr 0x1000
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: 8Mbit(512KB+512KB)
jump to run user2 @ 81000
SDK_RTOS1.0.4版本,执行user2的程序时,擦除user1的时候,程序就死掉了
-
- Posts: 20
- Joined: Fri Jul 24, 2015 3:00 pm
Re: SDK_RTOS1.0.4版本,执行user2的程序时,擦除user1的时候,程序就死掉了
Postby ESP_Faye » Fri Aug 14, 2015 5:33 pm
Hi,
Here is a demo of OTA in RTOS SDK as the attachment.
Or you can refer to this post http://bbs.espressif.com/viewtopic.php?f=7&t=865#p2950
Thanks for your interest in ESP8266 !
Here is a demo of OTA in RTOS SDK as the attachment.
Or you can refer to this post http://bbs.espressif.com/viewtopic.php?f=7&t=865#p2950
Thanks for your interest in ESP8266 !
- Attachments
-
- RTOS_upgrade.zip
- (5.03 KiB) Downloaded 723 times
Who is online
Users browsing this forum: No registered users and 4 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.