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

Moderator: igrr

User avatar
By Joe Job
#52254 I have implemented deepsleep now. Using 2 x Duracell AA batteries I was getting NAN again using the power up from gpio I swapped this for a straight power from VCC and seems to be working so far, will see how long these batteries last and will set up another 12f to try get it working with the power up with gpio as well.
User avatar
By Joe Job
#52284
AdamMiltonBarker wrote:Seriously losing faith in the ESP's now lol.


It lasted 7 hours and crashed while I was asleep I now cannot get it working :S When it crashed battery level was 2.73 is it possible this is the threshold?

ERROR BELOW:

Code: Select allException (9):
epc1=0x4022771f epc2=0x00000000 epc3=0x00000000 excvaddr=0x40105347 depc=0x00000000

ctx: cont
sp: 3fff1c90 end: 3fff2380 offset: 01a0

>>>stack>>>
3fff1e30:  feefeffe feefeffe feefeffe feefeffe 
3fff1e40:  feefeffe feefeffe feefeffe feefeffe 
3fff1e50:  feefeffe feefeffe feefeffe feefeffe 
3fff1e60:  40105328 3fffc100 3ffea63c feefeffe 
3fff1e70:  40105341 4010533e feefeffe feefeffe 
3fff1e80:  400005e1 feefeffe feefeffe feefeffe 
3fff1e90:  4022771f 00000033 0000001c feefeffe 
3fff1ea0:  40105347 4024a960 00000000 00000001 
3fff1eb0:  fbf8ffff 04000002 3feffe00 00000100 
3fff1ec0:  0000001a 00000018 04000102 40105328 
3fff1ed0:  3fffc100 3ffea63c 00000000 00000009 
3fff1ee0:  feefeffe feefeffe 40214a33 00000001 
3fff1ef0:  ffffffff 00000000 3ffeb741 00000008 
3fff1f00:  40214a86 3ffeed38 3fff2da4 00000001 
3fff1f10:  40214b92 3ffeed38 3fff2da4 3ffeed38 
3fff1f20:  00000002 00000000 00000020 40101d6a 
3fff1f30:  3ffeb5f2 40213edb 40214a33 00000001 
3fff1f40:  ffffffff 00000000 3ffeb741 00000008 
3fff1f50:  40214a86 3ffeed38 3fff2da4 00000001 
3fff1f60:  40214b92 3ffeed38 3fff2da4 3ffeed38 
3fff1f70:  00000002 00000000 00000020 40101d6a 
3fff1f80:  3ffeb5f2 40213edb 3ffeed38 3fff3557 
3fff1f90:  00000000 4021bc20 3fff01a0 40107304 
3fff1fa0:  40103fb4 00040000 7fffffff 00000000 
3fff1fb0:  40105328 3fffc100 3ffea63c 3fff4c24 
3fff1fc0:  40105341 4010533e 4010304a 00000100 
3fff1fd0:  400005e1 3ffebeac 00002000 4000050c 
3fff1fe0:  4022bda1 00000030 0000001c 00000022 
3fff1ff0:  4022c336 3fff4cf4 00000100 3ffea63c 
3fff2000:  00000696 3fff687c 000001ad 00001268 
3fff2010:  00000068 3fffc6fc 0000005c 3fff4cf4 
3fff2020:  3fff4cc4 3ffea63c 00000000 00000000 
3fff2030:  ffffffff 3fffc6fc 0000005c 000003a6 
3fff2040:  00000003 00001d30 3fff126c 00000030 
3fff2050:  3fff4b70 3fff4b6c 00000080 00000006 
3fff2060:  00000000 00000000 3fff2150 00000030 
3fff2070:  00000000 3ffeb2df 00000001 00000080 
3fff2080:  00000000 00000006 3fff4c24 4023ea60 
3fff2090:  3fff3524 00000000 00000000 4023ab45 
3fff20a0:  3fff2410 00000006 3fff4c24 4023eaa0 
3fff20b0:  3fff3524 00000002 00000004 00000000 
3fff20c0:  3ffea63c 00001ad0 3fff4cf4 401004d8 
3fff20d0:  4023cd0c 00000000 0000007d 40209a54 
3fff20e0:  3fff49bc 3fff4cc4 3fff4cf4 4022c316 
3fff20f0:  3ffea63c 00000028 3fff49ec 00000000 
3fff2100:  3fff4cc4 3fff4a4c 3fff49ec 4022da4f 
3fff2110:  00000000 00000000 3fff4cc4 4022c0d8 
3fff2120:  40209118 00001db8 3fff1360 3fff112c 
3fff2130:  3fff4a4c 3fff47d4 3fff49ec 4020979a 
3fff2140:  000001bb 3fff4b6c 3fff47d4 40208b42 
3fff2150:  c64b3025 00000000 3fff2190 00000000 
3fff2160:  000001bb 3fff47d4 3fff4a4c 40209b2d 
3fff2170:  3ffea048 c64b3025 3ffea048 c64b3025 
3fff2180:  3fff231c 00000000 3fff2260 4020d7bc 
3fff2190:  00000000 00000000 3fff482c 4020f893 
3fff21a0:  00000000 00000000 3fff2260 4020dc9c 
3fff21b0:  3fff4838 00000000 3fff4820 4020fa3d 
3fff21c0:  3ffe9e30 00000000 00000000 40210280 
3fff21d0:  3ffe9dbc 00000355 3fff2260 4020d66b 
3fff21e0:  3fff221c 00000000 3fff221c 3fff1274 
3fff21f0:  3fff231c 3fff11a8 3fff2260 4020dd4a 
3fff2200:  3fff231c 3fff11a8 3fff2260 4020e325 
3fff2210:  00000000 00000000 00000000 3ffe9e30 
3fff2220:  00000000 00000000 00000360 4010020c 
3fff2230:  00000000 3fff11a8 3fff22dc 4010068c 
3fff2240:  37373436 45444435 3fff231c 3fff2310 
3fff2250:  3fff2328 3fff11a8 3fff231c 4020e51d 
3fff2260:  3fff4804 3fff47d4 3fff4a4c 0000001f 
3fff2270:  0000001e 540001bb 4e011f40 3fff464c 
3fff2280:  0000001f 00000014 3fff474c 0000000f 
3fff2290:  00000005 3fff4a74 000000ef 000000e5 
3fff22a0:  3fff477c 0000001f 00000013 3fff47a4 
3fff22b0:  0000000f 00000000 3fff4820 00000001 
3fff22c0:  00000000 ffffffff 3fff2300 00000000 
3fff22d0:  00000000 00000000 00000000 00000000 
3fff22e0:  00000000 00000000 3fff2310 4020f916 
3fff22f0:  3ffe964c 3ffeac8c 3fff1294 3fff1104 
3fff2300:  3fff11a8 3ffeac8c 3fff1294 40207a67 
3fff2310:  3fff4704 0000003f 0000003b 3fff4634 
3fff2320:  0000000f 00000000 3fff2d34 0000003f 
3fff2330:  0000003a feefeffe feefeffe feefeffe 
3fff2340:  feefeffe feefeffe feefeffe feefeffe 
3fff2350:  feefeffe feefeffe feefeffe 3fff1350 
3fff2360:  3fffdad0 00000000 3fff1348 40210470 
3fff2370:  feefeffe feefeffe 3fff1360 40100718 
<<<stack<<<
c_ÇrSöfjSystem Initiating...
Mounted file system!
Waiting for Wifi to connect...
....................
WiFi connection failed, initiating Access Point
 networks found
SoftAP initiated
Server started
ñ0—†ƒ�–ÿþSystem Initiating...
Mounted file system!
Waiting for Wifi to connect...

Exception (9):
epc1=0x4022771f epc2=0x00000000 epc3=0x00000000 excvaddr=0x40105347 depc=0x00000000
c_ÇÏrSöfjø8—Ž †’ƒ‡žÿü0—Ž †‚ƒX‡–ÿþ8ŸŠŠƒ‡žÿü8—ŠŠVƒ‡žÿü8— ÆŠƒ‡žÿü8—‚L‡X�žÿø8à<—††‚‡‡žÿü0Y—††’‡‡žÿü<—Š‚ƒ‡–ÿø8׎ ÆŠ’ƒ‡Ÿ‡ÄÀ8—ŠŠ‡‡Þÿ<—Ž †’ƒ‡žÿSystem Initiating...
Mounted file system!
Waiting for Wifi to connect...
|1ø8—Ž ‚ƒ‡žÿSystem Initiating...
Mounted file system!
Waiting for Wifi to connect...
ü0ŸŽ ‚ŠVƒ‡žÿü8ŸŠ’‡‡žÿü0—ŽŠ‚’ƒ�žÿ<YŸ‚
’ƒ‡žÿ‡ßÀ8—‚Š’‡‡žÿü0Ÿ‚Š’‡X�žÿþ<ׂŠ’ƒX‡žÿü8—††ƒX‡žÿÀ<Ÿ†‡‡žÿâ<Ÿ†’ƒ�žÿü8—Ž †‚ƒ‡’ÈüÿÀ0—Ž†‚ƒ‡Þÿà8—†‚‡‡žÿø8—‚Š’ƒ‡–ÿ‹<Ÿ†Ž’ƒ‡žÿü<—‚’ƒ‡–ÿÆ0—†‚’ƒ‡žÿø<—††ƒ�žÿü<à8Õ‚Š’ƒ‡–ÿø<—Ž †’ƒ‡žÿïü8—Ž Æ
’ƒ‡–ÿø8—†‚Tƒ‡žÿø<—†‚
’‡‡žÿø<—Ž †’ƒ‡–ÿ


Decoded stack:

Code: Select allDecoding 57 results
0x40105328: wdt_feed at ?? line ?
0x40105341: wdt_feed at ?? line ?
0x4010533e: wdt_feed at ?? line ?
0x4022771f: user_uart_wait_tx_fifo_empty at ?? line ?
0x40105347: wdt_feed at ?? line ?
0x4024a960: sntp_getservername at ?? line ?
0x40105328: wdt_feed at ?? line ?
0x40214a33: pp_attach at ?? line ?
0x40214a86: pp_attach at ?? line ?
0x40214b92: pp_attach at ?? line ?
0x40101d6a: pp_post at ?? line ?
0x40213edb: ppTxPkt at ?? line ?
0x40214a33: pp_attach at ?? line ?
0x40214a86: pp_attach at ?? line ?
0x40214b92: pp_attach at ?? line ?
0x40101d6a: pp_post at ?? line ?
0x40213edb: ppTxPkt at ?? line ?
0x4021bc20: ieee80211_output_pbuf at ?? line ?
0x40107304: pvPortMalloc at C:\Users\Usuario\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.3.0\cores\esp8266/heap.c line 13
0x40103fb4: lmacProcessTXStartData at ?? line ?
0x40105328: wdt_feed at ?? line ?
0x40105341: wdt_feed at ?? line ?
0x4010533e: wdt_feed at ?? line ?
0x4010304a: wDev_ProcessFiq at ?? line ?
0x4022bda1: disposable_new at /Users/igrokhotkov/e/axtls/e1/ssl/tls1.c line 1686
0x4022c336: disposable_new at /Users/igrokhotkov/e/axtls/e1/ssl/tls1.c line 1684
:  (inlined by) ssl_new at /Users/igrokhotkov/e/axtls/e1/ssl/tls1.c line 555
0x4023ea60: ip_output_if at /Users/igrokhotkov/espressif/arduino/tools/sdk/lwip/src/core/ipv4/ip.c line 631
0x4023ab45: pbuf_free at /Users/igrokhotkov/espressif/arduino/tools/sdk/lwip/src/core/pbuf.c line 758
0x4023eaa0: ip_output at /Users/igrokhotkov/espressif/arduino/tools/sdk/lwip/src/core/ipv4/ip.c line 817
0x401004d8: malloc at C:\Users\Usuario\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.3.0\cores\esp8266\umm_malloc/umm_malloc.c line 1664
0x4023cd0c: tcpip_tcp_timer at /Users/igrokhotkov/espressif/arduino/tools/sdk/lwip/src/core/timers.c line 81
0x40209a54: ax_port_calloc at C:\Users\Usuario\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.3.0\libraries\ESP8266WiFi\src/WiFiClientSecure.cpp line 592
0x4022c316: ssl_new at /Users/igrokhotkov/e/axtls/e1/ssl/tls1.c line 549
0x4022da4f: ssl_client_new at /Users/igrokhotkov/e/axtls/e1/ssl/tls1_clnt.c line 53
0x4022c0d8: ssl_ctx_new at /Users/igrokhotkov/e/axtls/e1/ssl/tls1.c line 147
0x40209118: WiFiClient::_s_connected(void*, void*, signed char) at C:\Users\Usuario\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.3.0\libraries\ESP8266WiFi\src/WiFiClient.cpp line 149
0x4020979a: SSLContext::connect(ClientContext*, char const*, unsigned int) at C:\Users\Usuario\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.3.0\libraries\ESP8266WiFi\src/WiFiClientSecure.cpp line 517
:  (inlined by) WiFiClientSecure::_connectSSL(char const*) at C:\Users\Usuario\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.3.0\libraries\ESP8266WiFi\src/WiFiClientSecure.cpp line 279
0x40208b42: WiFiClient::connect(IPAddress, unsigned short) at C:\Users\Usuario\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.3.0\libraries\ESP8266WiFi\src/WiFiClient.cpp line 149
0x40209b2d: WiFiClientSecure::connect(char const*, unsigned short) at C:\Users\Usuario\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.3.0\libraries\ESP8266WiFi\src/WiFiClientSecure.cpp line 269
0x4020d7bc: HTTPClient::connect() at C:\Users\Usuario\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.3.0\libraries\ESP8266HTTPClient\src/ESP8266HTTPClient.cpp line 197
0x4020f893: String::reserve(unsigned int) at C:\Users\Usuario\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.3.0\cores\esp8266/WString.cpp line 519
0x4020dc9c: HTTPClient::sendRequest(char const*, unsigned char*, unsigned int) at C:\Users\Usuario\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.3.0\libraries\ESP8266HTTPClient\src/ESP8266HTTPClient.cpp line 197
0x4020fa3d: String::operator=(char const*) at C:\Users\Usuario\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.3.0\cores\esp8266/WString.cpp line 519
0x40210280: operator new[](unsigned int) at C:\Users\Usuario\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.3.0\cores\esp8266/abi.cpp line 84
0x4020d66b: HTTPClient::collectHeaders(char const**, unsigned int) at C:\Users\Usuario\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.3.0\libraries\ESP8266HTTPClient\src/ESP8266HTTPClient.cpp line 197
0x4020dd4a: HTTPClient::GET() at C:\Users\Usuario\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.3.0\libraries\ESP8266HTTPClient\src/ESP8266HTTPClient.cpp line 197
0x4020e325: ESP8266HTTPUpdate::handleUpdate(HTTPClient&, String const&, bool) at C:\Users\Usuario\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.3.0\libraries\ESP8266httpUpdate\src/ESP8266httpUpdate.cpp line 36
0x4010020c: _umm_free at C:\Users\Usuario\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.3.0\cores\esp8266\umm_malloc/umm_malloc.c line 1287
0x4010068c: free at C:\Users\Usuario\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.3.0\cores\esp8266\umm_malloc/umm_malloc.c line 1733
0x4020e51d: ESP8266HTTPUpdate::update(String const&, String const&, String const&) at C:\Users\Usuario\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.3.0\libraries\ESP8266httpUpdate\src/ESP8266httpUpdate.cpp line 36
0x4020f916: String::String(char const*) at C:\Users\Usuario\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.3.0\cores\esp8266/WString.cpp line 519
0x40207a67: setup at C:\Users\Usuario\Transporter\TECHNOLOGIES-IoT\_TechBubbleProductMasters\Devices\ThermaSenseDS\ThermaSenseDS/ThermaSenseDS.ino line 360
0x40210470: loop_wrapper at C:\Users\Usuario\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.3.0\cores\esp8266/core_esp8266_main.cpp line 56
0x40100718: cont_norm at C:\Users\Usuario\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.3.0\cores\esp8266/cont.S line 109