-->
Page 1 of 5

Error messages--Reset

PostPosted: Tue May 19, 2015 3:15 pm
by tytower
I wondered if there is a list anywhere of what the reset messages mean .
I have one atm like this and I wondered if I could trace the cause?

Code: Select allets Jan  8 2013,rst cause:4, boot mode:(3,7)

wdt reset
load 0x40100000, len 28780, room 16
tail 12
chksum 0x7e
ho 0 tail 12 room 4
load 0x3ffe8000, len 1564, room 12
tail 0
chksum 0xc8
load 0x3ffe8620, len 3336, room 8
tail 0
chksum 0x30
csum 0x30
r�


This is caused by the chip doing a full reset and if you connect pin XPD ,GPIO 16 to reset without a cap it keeps resetting all day. What I woiuld like to know is what the cause and boot mode and various tail and checksums mean?

Later post
ets Jan 8 2013,rst cause:1, boot mode:(3,7) So 3=011 or FLASH(running)mode

Re: Reset error messages

PostPosted: Tue May 19, 2015 4:06 pm
by cal
Moin,

that was a "wdt reset" which means "watchdog timer reset".
Some thing was done on the main thread without feeding the watchdog for about a second.
Feeding means calling wdt_feed which resets the timer.

Cal

Re: Reset error messages

PostPosted: Thu May 21, 2015 2:12 am
by tytower
Ohh Good I see . I found that in setting up a BMP180 sensor there is a line if it does not initialise properly of " //while(1); // Pause forever.
I commented it out as you can see and that stopped happening , so I agree that was the cause, thanks

So does anyone have a list of these reset causes anyway?

Re: Error messages--Reset

PostPosted: Thu May 21, 2015 2:43 am
by cal
Moin,

you may find the following helpful:

https://github.com/esp8266/esp8266-wiki ... ot-Process

If you get "exception(xx)" messages that are processor exceptions defined in the xtensa ISA manual
or shortly here:

esp-open-sdk/lx106-hal/include/xtensa/corebits.h

Happy debugging,
Cal
The load xxx stuff is logging of standard copying of data no error information here.