Page 1 of 1

WiFi not working after flashing several times Sparkfun-Thing ESP32

Posted: Wed Feb 22, 2017 9:55 am
by preetam
Hi,

I have flashed two ESP32s several times. In one of the ESP32 WiFi has stopped working and below is the log. I did try to connect to different AP, Same issue still exists.

I (1180) wifi: n:6 0, o:1 0, ap:255 255, sta:6 0, prof:1
I (1830) wifi: state: init -> auth (b0)
I (1840) wifi: state: auth -> assoc (0)
I (2840) wifi: state: assoc -> init (4)
I (2840) wifi: n:6 0, o:6 0, ap:255 255, sta:6 0, prof:1
I (9270) wifi: n:6 0, o:6 0, ap:255 255, sta:6 0, prof:1
I (9270) wifi: state: init -> auth (b0)
I (10270) wifi: state: auth -> init (2)
I (15360) wifi: n:6 0, o:6 0, ap:255 255, sta:6 0, prof:1
I (15360) wifi: state: init -> auth (b0)
I (16360) wifi: state: auth -> init (2)
I (16780) wifi: n:6 0, o:6 0, ap:255 255, sta:6 0, prof:1
I (16780) wifi: state: init -> auth (b0)
I (16790) wifi: state: auth -> assoc (0)
I (17790) wifi: state: assoc -> init (4)
I (17790) wifi: n:6 0, o:6 0, ap:255 255, sta:6 0, prof:1
I (49470) wifi: n:6 0, o:6 0, ap:255 255, sta:6 0, prof:1

I am using the latest esp-idf on Windows.

Re: WiFi not working after flashing several times Sparkfun-Thing ESP32

Posted: Wed Feb 22, 2017 11:41 am
by preetam
WiFi connected after 20 mins. After flashing again not connecting

Re: WiFi not working after flashing several times Sparkfun-Thing ESP32

Posted: Wed Feb 22, 2017 10:42 pm
by mjmorrison
I am having a similar issue. I am flashing two dev boards with an identical sketch. One shows expected behavior, and the other shows the behavior indicated above.

Re: WiFi not working after flashing several times Sparkfun-Thing ESP32

Posted: Thu Feb 23, 2017 12:23 am
by kolban
You might want to try erasing all the flash memory in the failing devices and then flashing your application again. Stories I have seen before where the identical program runs fine in one device and fails in another have occasionally been resolved by a full flash erase.

Re: WiFi not working after flashing several times Sparkfun-Thing ESP32

Posted: Thu Feb 23, 2017 10:08 am
by preetam
Thank you for the info.

Tried erasing the flash. Flashed again after erasing. Still same issue. Changed the USB cable still same issue.

Re: WiFi not working after flashing several times Sparkfun-Thing ESP32

Posted: Wed Aug 02, 2017 9:29 pm
by razvan_mihai
Hello,

Did you manage to solve the issue? Mine is facing the same problem.
In addition is getting hotter if I use the RF peripheral.
If I only blink an led , I have no problem.

I also checked the wiring. No short and all the voltages are in the expected range.

Good luck !