Sometimes the system stops after a wdt reset
e.g. output:
mac 662
ets Jan 8 2013,rst cause:4, boot mode:(1,6)
wdt reset
then nothing until reset button pressed.
Any ideas please or is this an SDK bug?
System stops after wdt reset
Re: System stops after wdt reset
Postby eriksl » Thu Sep 10, 2015 10:24 pm
If you need to reset the watchdog, you're doing something terribly wrong (which I believe I have written here more than once). And yes, then you can expect about everything. Re-write your code so you won't have to reset the watchdog and it will work.
Re: System stops after wdt reset
Postby nver » Wed Sep 16, 2015 1:28 am
I agree that the code should be written such that it does not cause the watchdog reset.
However, if the watch dog timer is ever expired for whatever reasons, the system must reboot back and must not stuck waiting for someone to come and press the HW reset button. No matter what is the reason for wdog reset, at the end of the day its a kind of system Or CPU reset and system must re-start.
Btw thanks for the great chip.
However, if the watch dog timer is ever expired for whatever reasons, the system must reboot back and must not stuck waiting for someone to come and press the HW reset button. No matter what is the reason for wdog reset, at the end of the day its a kind of system Or CPU reset and system must re-start.
Btw thanks for the great chip.
Re: System stops after wdt reset
Postby costaud » Wed Sep 16, 2015 2:20 pm
Daven007 wrote:Sometimes the system stops after a wdt reset
e.g. output:
mac 662
ets Jan 8 2013,rst cause:4, boot mode:(1,6)
wdt reset
then nothing until reset button pressed.
Any ideas please or is this an SDK bug?
Ok,I think the point is :
If a watchdog reset occurs, the chip would exactly go back to the same mode as the chip was in, when it was powered on last time.
That is , if you set the chip into download mode and download a firmware,then without a rebooting and run the code directly,
in this case, when there was a watchdog reset , the chip would of course go back to download mode.
So please make sure you reboot the chip and run in flash boot mode first.
Who is online
Users browsing this forum: No registered users and 31 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.