not startup after wdt reset serveral times.

xyuz
Posts: 8
Joined: Wed Nov 12, 2014 4:27 pm

not startup after wdt reset serveral times.

Postby xyuz » Wed Mar 18, 2015 3:18 pm

not startup after wdt reset serveral time.

this is the log:

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

wdt reset
load 0x40100000, len 816, room 16
tail 0
chksum 0x8d
load 0x3ffe8000, len 788, room 8
tail 12
chksum 0xcf
ho 0 tail 12 room 4
load 0x3ffe8314, len 288, room 12
tail 4
chksum 0xcf
csum 0xcf

2nd boot version : 1.2
SPI Speed : 40MHz
SPI Mode : QIO
SPI Flash Size : 4Mbit
jump to run user1

Fatal exception (0):
epc1=0x40213902, epc2=0x00000000, epc3=0x00000000, excvaddr=0x00000000, depc=0x00000000

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

Re: not startup after wdt reset serveral times.

Postby ESP_Faye » Thu Mar 19, 2015 11:38 am

Hi,

Please try it with boot_v1.3

And you could find the error address 0x40213902 in .S file, for example , you are running user1.bin now,check user1.S and find which funcion dose 0x40213902 located in.

Thanks for your interest in ESP8266 !

xyuz
Posts: 8
Joined: Wed Nov 12, 2014 4:27 pm

Re: not startup after wdt reset serveral times.

Postby xyuz » Thu Apr 16, 2015 11:04 am

1.这个问题好像是在boot过程中还未运行至user.bin时程序崩溃,这时候是不是看门狗还没启动,用的是boot1.2,不知道1.3是否处理了这个问题?
2.另外,往SPI上读指令时好像会出现读取到错误指令,之前观察过一个exception看.S发现对应的指令是不可能出错的(加法指令),但是exception报的是非法内存访问的exception。

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

Re: not startup after wdt reset serveral times.

Postby ESP_Faye » Thu Apr 16, 2015 1:09 pm

您好,

非法内存访问的exception ,一般是因为野指针的缘故。

重新烧录软件是否仍然有问题? 是不是把 flash 的程序区擦写了?

xyuz
Posts: 8
Joined: Wed Nov 12, 2014 4:27 pm

Re: not startup after wdt reset serveral times.

Postby xyuz » Wed Apr 22, 2015 11:24 am

今天又出现了次看门狗复位没起来,SDK版本 1.0.0,boot1.2,以下是日志:

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

wdt reset
load 0x40100000, len 816, room 16
tail 0
chksum 0x8d
load 0x3ffe8000, len 788, room 8
tail 12
chksum 0xcf
ho 0 tail 12 room 4
load 0x3ffe8314, len 288, room 12
tail 4
chksum 0xcf
csum 0xcf

2nd boot version : 1.2
SPI Speed : 40MHz
SPI Mode : QIO
SPI Flash Size : 4Mbit
jump to run user1

01-01 00:00:00 Hal.c::checkStartupState[24]:
//输出了一些乱码之后就没起来了
=================================

重新上电之后还是能正常工作的。
麻烦分析一下有可能是什么问题导致的复位没起来?

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

Re: not startup after wdt reset serveral times.

Postby ESP_Faye » Wed Apr 22, 2015 2:03 pm

您好,

建议更新到 sdk_v1.0.1_b2 看是否还会有问题,http://bbs.espressif.com/viewforum.php?f=5

Who is online

Users browsing this forum: No registered users and 150 guests