I started with what you have shown and was still getting the "FAIL". Due to the 'WIFI GOT IP' message that is received when everything is working I was playing around with DHCP settings and the like and 'suddenly' it came good. Here's a log of it not working and then working (Remember there are other 'changes' that have happened, this is just the last one)
Code: Select all
AT+CWJAP_CUR="ESP826612345678","1234567890"
WIFI CONNECTED
+CWJAP:1
FAIL
WIFI DISCONNECT
AT+CIFSR
+CIFSR:STAIP,"0.0.0.0"
+CIFSR:STAMAC,"18:fe:34:a6:63:cb"
OK
AT+CIPSTA_CUR="142.255.49.99","142.255.49.94","255.255.255.0"
OK
AT+CIFSR
+CIFSR:STAIP,"0.0.0.0"
+CIFSR:STAMAC,"18:fe:34:a6:63:cb"
OK
AT+CWJAP_CUR="ESP826612345678","1234567890"
WIFI CONNECTED
WIFI GOT IP
OK
I think tried various things and it worked every time. I even reflashed it and it still works using the exact commands that previously failed.
The "SPI Flash Size & Map: 32Mbit(512KB+512KB)" message that comes up during boot, is that actual, or from a setting somewhere?
How can I completely clear the flash to ensure that I am starting with a 'clean slate'?
Thanks.