Arduino Forum
>
Using Arduino
>
Installation & Troubleshooting
>
ESP8266 reset (wdt reset)
Print
Go Down
Pages:
[1]
Topic: ESP8266 reset (wdt reset)
(Read 1 time)
previous topic
-
next topic
MajidAtaeiChatroodi
Newbie
Posts: 5
Karma: 0
[add]
ESP8266 reset (wdt reset)
May 23, 2019, 03:13 am
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
Full Member
Posts: 230
Karma: 15
[add]
Weaknesses - calc, algebra, basic arithmetic, literature. Strengths - cooking; smoked 2n222, popped capacitors, flaming resistors.
Re: ESP8266 reset (wdt reset)
#1
May 23, 2019, 03:55 am
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;
h
ttps://arduino-esp8266.readthedocs.io/en/latest/faq/a02-my-esp-crashes.html
MajidAtaeiChatroodi
Newbie
Posts: 5
Karma: 0
[add]
Re: ESP8266 reset (wdt reset)
#2
May 23, 2019, 11:33 am
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
Newbie
Posts: 5
Karma: 0
[add]
Re: ESP8266 reset (wdt reset)
#3
Jun 06, 2019, 05:28 pm
Dear JMeller
You mean if I change all Strings to const char* the problem will be solved?
sterretje
Shannon Member
Posts: 14,025
Karma: 1513
[add]
Electronics engineer by trade, software engineer by profession. Trying to get back into electronics after 15 years absence.
Re: ESP8266 reset (wdt reset)
#4
Jun 07, 2019, 01:45 pm
Quote from: MajidAtaeiChatroodi on Jun 06, 2019, 05:28 pm
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.
Print
Go Up
Pages:
[1]
Loading...