Your new topic does not fit any of the above??? Check first. Then post here. Thanks.

Moderator: igrr

User avatar
By m.maazi
#66379 Thanks again.
All my problems are solved thanks to you.
I have some irrelevant question about esp limits.
I use a form with post method to get some data from user. But after submitting the form, watchdog resets the module. I found out y submitted data's length is the problem because when I decrease the input's length, everything works. My question is:
Is there any limitation on esp that limits my submitted data's length?
and if there is, how can I solve that.
Sincerely.
User avatar
By martinayotte
#66384 No, there is no reason about having WDT triggered during a POST with big length.
For example, I've an "upload" submit which take care of saving a 300K file uploaded into SPIFFS.

So, maybe something else you are doing in your code that produce WDT trigger as side effect.
User avatar
By m.maazi
#66385 Could you please take a look at my stack? This happens every time I submit a form containing more than about 100 chars.

Code: Select all0x40207f60: ESP8266WebServer::_parseArguments(String) at C:\Users\user\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.3.0\libraries\ESP8266WebServer\src/Parsing.cpp line 277
0x4020987f: String::reserve(unsigned int) at C:\Users\user\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.3.0\cores\esp8266/WString.cpp line 720
0x402098b1: String::copy(char const*, unsigned int) at C:\Users\user\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.3.0\cores\esp8266/WString.cpp line 720
0x402099b8: String::operator=(String const&) at C:\Users\user\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.3.0\cores\esp8266/WString.cpp line 720
0x40208d67: ESP8266WebServer::_parseRequest(WiFiClient&) at C:\Users\user\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.3.0\libraries\ESP8266WebServer\src/Parsing.cpp line 194
0x40206374: WiFiClient::~WiFiClient() at C:\Users\user\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.3.0\libraries\ESP8266WiFi\src/WiFiClient.cpp line 149
0x402062fe: ClientContext::unref() at C:\Users\user\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.3.0\libraries\ESP8266WiFi\src/WiFiClient.cpp line 149
0x40207bf3: ESP8266WebServer::handleClient() at C:\Users\user\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.3.0\libraries\ESP8266WebServer\src\detail/RequestHandlersImpl.h line 53
0x4020152f: delay at C:\Users\user\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.3.0\cores\esp8266/core_esp8266_wiring.c line 50
0x40205350: loop at D:\System\user\Desktop\data\Base\ESP\ESP_WebConfig/ESP_WebConfig.ino line 88
0x4020a06c: loop_wrapper at C:\Users\user\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.3.0\cores\esp8266/core_esp8266_main.cpp line 56
0x40100718: cont_norm at C:\Users\user\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.3.0\cores\esp8266/cont.S line 109



and this one happens randomly:

Code: Select all0x40106fb4: pvPortMalloc at C:\Users\user\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.3.0\cores\esp8266/heap.c line 13
0x4020c0ac: ppRecycleRxPkt at ?? line ?
0x40211122: hostap_input at ?? line ?
0x4020c412: pp_tx_idle_timeout at ?? line ?
0x4020bd5b: ppPeocessRxPktHdr at ?? line ?
0x40209fdb: loop_task at C:\Users\user\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.3.0\cores\esp8266/core_esp8266_main.cpp line 56


Thanks for your time.