-
Notifications
You must be signed in to change notification settings - Fork 13.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Some time ESP.restart, goes KAPUT, :) #793
Comments
I use ESP.restart() on latest staging and do not have such issue - I even used recently to be able to show another issue (#780 (comment)) May be giving more context would help |
Wait up, I will make my "os" print some ESP stats before restarting. I will get back to this soon. I would say, that most of the time, it work well. But not all the time. To do this example, I pasted up there, I got 1 fail for 4 ok. |
check your pins |
Well actually, I just now, have put my restart function in my "autoexec" "script", basically what it does when it boot, and I have not get another problem, on a regular basis. I get a few bug here and there but nothing else. Are you saying I should use a resistance to physically pull up or down on each pin, to get this random bug out of my way? |
yes this may helps, do you have connected some thing to the pins currently? |
i have the same problem on NodeMCU v1.0 board with esp12-e module. 8/10 times it doesn't reboot but stays stuck at wdt. no problem on NodeMCU v0.9, or any bare 12e module. I think its something in the NodeMCU V1.0 circuit. what board or module are you having this problem on? |
this is know issue check gpio0 and 2 not be used or must be hight before reset , other things when you flash , if you want test reboot must be cut power and reboot manually , after board reboot normal . Probably there are a problem when board nodemcu 1.0 is flashed , something not put correct .
|
Yeah, I get : ets Jan 8 2013,rst cause:2, boot mode:(3,6) And not ets Jan 8 2013,rst cause:2, boot mode:(3,7) I don't know if this is bad, or evil ;), but any way. when I get this line, the ESP will or has reboot what look normally. I'v put my board into full loading my auto-execute initial script(start WIFI, start local "proxy", start 2 tcp server, connect a tcp client , check time on my RTC, load the naming content of the SPIFF scanI2c and a bunch of other stuff required to boot the way I want.) then reboot. Basically the last script line is reboot, and it has screw once about 2 hour ago. I must admit that this new staging version is better then the last one. |
I got the same issue showing the reset was for watchdog. I just Insert "ESP.wdtDisable();" inside loop and it doesn´t reset again. |
insert where and how?!? |
Closing as duplicate of #1017 . |
When I do this,:
else if (commande == F("redemarer"))ESP.restart();
most of the time I get:
ets Jan 8 2013,rst cause:2, boot mode:(3,6)
load 0x4010f000, len 1264, room 16
tail 0
chksum 0x42
csum 0x42
~ld
and every thing is fine. But some time I get this:
ets Jan 8 2013,rst cause:4, boot mode:(1,7)
wdt reset
and it get stock there. I must pull the reset pin physically to restart the board correctly.
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.
The text was updated successfully, but these errors were encountered: