-
Notifications
You must be signed in to change notification settings - Fork 13.3k
ESP-12E Node MCU will resets automatically at every time and stack overflow #2558
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
Comments
You are using any gms library or Your own functions for communication with gsm module? P.S. Your stack without full code is useless. |
yahh, i am using gsm libraries and i have also used the yield(); in while loops, it will ok means some what reduces the reset functioning but at some times the esp will going to reset,.... i want to modify that purely..................... |
please tell me how to manage this reset one and stackover flow completely,.............. |
Please install ESPExceptionDecoder |
ok i will try and then contect with u |
after installing, i want to include in my program or i want to run in my controller or just save in to my library section........... |
You can't disable the watchdog completely, you have to fix the code to call yield(). |
ooh what is the main function of yield(): and where i should use the yield(); funtions |
yield() does some background-stuff that you don't have to know the specifics of, but calling it periodically keeps the watchdog-timer happy. If you have long while-loops or for-loops or other sections of code that take a long time to run then those sections will have to also call yield() every now and then in order not to trigger watchdog. |
ok what about in the if-else statements.............. |
but probably in my code sometimes getting the complete actions but in sometimes the esp will be going to reset,..... i want to maintain the complete actions at everytime,,...how it is possible?,,,,.. |
Like I said, use yield() in any sections of code that may take a long time to run. It's up to you to know what sections take a long time to run and which ones don't. |
Ok how much time the watchdog timer will going to be reset the On Sep 29, 2016 18:52, "WereCatf" notifications@github.com wrote:
|
One suggestion to get info about your ESP when itgoing wrong |
Closing per #3655 . |
it can be a problem of power connect battery which can supply sufficient amount of power with no voltage sage |
Basic Infos
Hardware
Hardware: ?ESP-12?
Core Version: ?2.1.0-rc2?
hi, i have started ESP12-E to work with the GSM module, in this when i was running the it should be reset automatically when some messages will receives,... then it reset and restarted from first so the function is not completed,,....so, please suggest me how to disable the watchdog timer,..... when i run the program the error will be like this///.........
Soft WDT reset
ctx: cont
sp: 3ffefc90 end: 3ffeff00 offset: 01b0
so, please suggest me how to disable the watchdog timer and controlling of stack overflow in the esp12-e module
Settings in IDE
Module: ?Generic ESP8266 Module?
Flash Size: ?4MB/1MB?
CPU Frequency: ?80Mhz?
Flash Mode: ?qio?
Flash Frequency: ?40Mhz?
Upload Using: ?OTA / SERIAL?
Reset Method: ?ck / nodemcu?
The text was updated successfully, but these errors were encountered: