WiFi.begin crashes

Fugazi
Posts: 42
Joined: Wed Apr 26, 2017 9:05 pm

WiFi.begin crashes

Postby Fugazi » Mon May 08, 2017 3:33 pm

For some reason, if I am running the esp32 with the ardunio core compiled normally this works.

However as a component it just fails - no errors, just straight reboot ?


I (1609) phy: phy_version: 350, Mar 22 2017, 15:02:06, 0, 0
I (1609) wifi: mode : sta (30:ae:a4:02:89:e0) + softAP (30:ae:a4:02:89:e1)
[D][WiFiGeneric.cpp:174] _eventCallback(): Event: 2 - STA_START
[D][WiFiGeneric.cpp:174] _eventCallback(): Event: 12 - AP_START
I (1739) wifi: n:11 2, o:11 0, ap:11 2, sta:11 0, prof:11
[1900] - Wifi connect status : 6
[2400] - Wifi connect status : 6
I (2719) wifi: state: init -> auth (b0)
I (2729) wifi: state: auth -> assoc (0)
I (2739) wifi: state: assoc -> run (10)
[2900] - Wifi connect status : 6
[3400] - Wifi connect status : 6
I (3759) wifi: connected with ASUS, channel 11
ets Jun 8 2016 00:22:57

rst:0x8 (TG1WDT_SYS_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0x00
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:2
load:0x3fff0008,len:8

Any ideas please ?

Thanks

f.h-f.s.
Posts: 215
Joined: Thu Dec 08, 2016 2:53 pm

Re: WiFi.begin crashes

Postby f.h-f.s. » Tue May 09, 2017 8:33 am


Fugazi
Posts: 42
Joined: Wed Apr 26, 2017 9:05 pm

Re: WiFi.begin crashes

Postby Fugazi » Tue May 09, 2017 12:20 pm

Will give it a go, thanks

Its immediately after connection - but why no errors or failure message or something to help me figure out whats wrong ?

thanks

JimmyPedersen
Posts: 21
Joined: Sun Nov 15, 2015 4:14 am

Re: WiFi.begin crashes

Postby JimmyPedersen » Tue May 09, 2017 7:11 pm

There was one hint:
rst:0x8 (TG1WDT_SYS_RESET)
The reset cause.
Good luck

Pcborges
Posts: 37
Joined: Thu Aug 09, 2018 9:56 pm

Re: WiFi.begin crashes

Postby Pcborges » Mon Oct 29, 2018 1:12 pm

Hi.

I have experienced this problem and the solution is worth mentioning.

I had a ESP32 data logger with 6 inputs but had circuitry only on the four pins, pins 25 and 26 (in my case) were left floating.
My ketch was working perfectly till the moment i activated interrupt on those two floating pins and from there Wifi.begin started to crash.

Took sometime to find the issue but the link to:
https://docs.espressif.com/projects/esp ... hlight=wdt

helped understand the issue and explained why the software was running so slow before the crash!

Thanks

Who is online

Users browsing this forum: lor_pig2 and 63 guests