Go Down

Topic: ESP8266 reset (wdt reset) (Read 1 time) previous topic - next topic

MajidAtaeiChatroodi

Any help appreciated. Thanks.

I have used Gsender.h & Gsender.ccp to send email by ESP8266,It works well.
But when the Sketch uses more than 84% the ESP reset (wdt reset)

Would you please help me
.

JMeller

It seems the html button </> click to display your code didn't take; may want to try again.

The cause - improper memory allocation.  Are you using Strings?  At 84%, that is the most likely culprit;

https://arduino-esp8266.readthedocs.io/en/latest/faq/a02-my-esp-crashes.html

MajidAtaeiChatroodi

Thank you very much for your reply

I have for example client.println("<h1>My Title</h1>") but I have no </> alone.

Yes I have a great deal of Strings Variables and Constants. but I don't know which one is culprit.

any way thanks for your time.

MajidAtaeiChatroodi

Dear JMeller

 You mean if I change all Strings to const char* the problem will be solved?

sterretje

Dear JMeller

 You mean if I change all Strings to const char* the problem will be solved?
That's something that nobody can guarantee. It's up to you to modify and test.

By the way, </> refers to code tags ([code] your code here [/code]) and those are used when posting code on the forum.
If you understand an example, use it.
If you don't understand an example, don't use it.

Electronics engineer by trade, software engineer by profession. Trying to get back into electronics after 15 years absence.

Go Up