AT+CWMODE=3
OK
AT+CWJAP="MyNetworkName","MyPassword"
I get an "OK" response after the CWMODE command, but after the CWJAP command there is nothing for a few seconds, and then I get about 20 lines of what appears to be diagnostic data, and finally, the message "WIFI CONNECTED" but no "OK" message. And at this point there is no response to any further commands that I try to type. From this point on, the ESP-01 sends out the same lines of data every 8 seconds:
ets Jan 8 2013,rst cause:4, boot mode:(3,6)
wdt reset
load 0x40100000, len 2408, room 16
tail 8
chksum 0xe5
load 0x3ffe8000, len 776, room 0
tail 8
chksum 0x84
load 0x3ffe8310, len 632, room 0
tail 8
chksum 0xd8
csum 0xd8
2nd boot version : 1.6
SPI Speed : 40MHz
SPI Mode : QIO
SPI Flash Size & Map: 8Mbit(512KB+512KB)
jump to run user1 @ 1000
å‚‹.Ï8.Çn¿‰æ.r‹ÿÚn„b..å.é„l`.ƒæ.rí8.«∆l. #..Ä..r..å‚úÁ…8ÇÏ.Ú. 1..Ä..r..å‚‹ÁI8Ç.é˚.0±..Äl.r..r..é.√πl¿ƒû.bfl‰..ååb‡ƒb‡..íl8‡Ïé€å8..b¿‰∏~ín‡.n‹íú..ƒ....€˚yNÄ..‚..å..Çåé.l.íå.Çå.Ïå.ûl`..>`..ƒ‹í‹ƒb..Ç..ílé8..Ä.fl.åû.bfl‰..Ç..|å.r..r..
ready
WIFI CONNECTED
This goes on indefinitely. From the second line that says "wdt reset" it leads me to believe that the processor is running amok in unprogrammed memory, and finally the watchdog timer does a reset. So it looks like the someone must have forgotten a return statement somewhere in the code.
I've discovered that after the above data gets sent to the terminal, there's about a one second window when it will accept an AT command. I was able to enter the address query command AT+CIFSR, and got the correct response showing that it had indeed connected to the router and had been assigned an IP address, but the wdt timeout loop still continued.
Has anyone else encountered this problem?