我的SDK是1.5.1的,OTA的函数system_upgrade_start执行后能正常下载固件,但是在upgrade_check后却报错Fatal exception 2,这种错误在论坛里也找不到。
关于Fatal exception错误有些帖子有所查看生成的.s文件定位具体的程序的位置,但是0x3fff3d5c搜索不到,一般3开头的地址应该是RAM的地址。。。
希望能帮忙查看下,公司的项目,先谢谢了。
totallen = 300760
totallen = 302220
totallen = 303680
totallen = 305012
upgrade file download finished.
flash_crc = 956922317
img_crc = 956922317
upgrade_check
Fatal exception 2(InstructionRetchErrorCause):
epc1=0x3fff3d5c, epc2=0x00000000, epc3=0x00000000, excvaddr=0x3fff3d5c, depc=0x00000000
繪C
丏 揬%乌u岪蒦~I蔄
1\ )礍5[
麹O JJi蜛Ps乊圥9en%諵NRA授 Z)佃
﨤奀 I蚑1P
愙9)%[
5ぺY
x@h7鰢)k@@華翾
3m)7
AMi %C
-+嶺{蠺見
PV5F汹!
闳芘莱L繱
!绦
SDK ver: 1.5.1(e67da8pet feeder device enter...
reset reason: 2
Fatal exception (2):
epc1=0x3fff3d5c, epc2=0x00000000, epc3=0x00000000, excvaddr=0x3fff3d5c, depc=0x00000000
>hard_init()
ota升级异常Fatal exception 2(InstructionRetchErrorCause)
-
- Posts: 3
- Joined: Fri Mar 25, 2016 11:28 am
ota升级异常Fatal exception 2(InstructionRetchErrorCause)
Postby baoblackcoal » Fri Mar 25, 2016 11:37 am
Re: ota升级异常Fatal exception 2(InstructionRetchErrorCause)
Postby ESP_Faye » Wed Mar 30, 2016 10:27 am
您好,
upgrade_check 是升级时用户自行注册的回调函数 check_cb。
您可以加 log 查证您的 check_cb 回调是否有异常,例如,如下代码中的 user_upgrade_check 函数。
upgrade_check 是升级时用户自行注册的回调函数 check_cb。
您可以加 log 查证您的 check_cb 回调是否有异常,例如,如下代码中的 user_upgrade_check 函数。
Code: Select all
server->check_cb = user_upgrade_check;
...
if (system_upgrade_start(server) == false) {
ESP_DBG("upgrade is already started\n");
}
Who is online
Users browsing this forum: No registered users and 14 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.