SDK_RTOS1.0.4版本,执行user2的程序时,擦除user1的时候,程序就死掉了

Lucifer3502
Posts: 20
Joined: Fri Jul 24, 2015 3:00 pm

SDK_RTOS1.0.4版本,执行user2的程序时,擦除user1的时候,程序就死掉了

Postby Lucifer3502 » Wed Aug 12, 2015 9:05 am

我实现了自己的升级功能,但是当我升级完成后,在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

ESP_Faye
Posts: 1641
Joined: Mon Oct 27, 2014 11:08 am

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 !
Attachments
RTOS_upgrade.zip
(5.03 KiB) Downloaded 327 times

Who is online

Users browsing this forum: No registered users and 1 guest