AT v0.52 - CWJAP fail with "wrong password(error code 2) but the password is correct

picoevera
Posts: 1
Joined: Fri Feb 26, 2016 7:16 am

AT v0.52 - CWJAP fail with "wrong password(error code 2) but the password is correct

Postby picoevera » Fri Feb 26, 2016 7:41 am

Hi,

I am sorry to bother you but I can't solve the problem mentioned in the title.
I searched in the forum and I applied the suggested solution but I still can't join to the AP.

I am working with:
ESP-12 module with 4096KB of memory.
SDK v1.5
Flash Download tools V2.4
I attached the UART1 output log for debugging and the capture picture of the flash download tool while downloading.

Stato_ESP8266_Flashed_firmware_2Blank.JPG


I also added a large capacitor across the Vcc to Gnd rails on the breadboard in order to minimize reset inducing voltage fluctuations.
Besides, added a 0.1 uF decoupling capacitor across the ESP8266 Vcc to Gnd inputs
Using the power supply (3.3V/1.5 Amps)

Here is a log:
AT

OK
AT+GMR
AT version:0.52.0.0(Jan 7 2016 18:44:24)
SDK version:1.5.1(e67da894)
compile time:Jan 7 2016 19:02:52
OK
AT+RST

OK

ets Jan 8 2013,rst cause:2, boot mode:(3,7)

load 0x40100000, len 1456, room 16
tail 0
chksum 0xa2
load 0x3ffe8000, len 776, room 8
tail 0
chksum 0xc3
load 0x3ffe8310, len 552, room 8
tail 0
chksum 0xb8
csum 0xb8

2nd boot version : 1.5
SPI Speed : 40MHz
SPI Mode : QIO
SPI Flash Size & Map: 32Mbit(512KB+512KB)
jump to run user1 @ 1000

don't use rtc mem data
r▒
ready
WIFI DISCONNECT

AT+CWMODE_CUR=1

OK
AT+CWDHCP_CUR=1,1

OK
AT+CWDHCP_CUR?
+CWDHCP_CUR:2

OK
AT+CWJAP="AP_MARCO","123456789"
+CWJAP:2

FAIL



Note 1: I noticed that "SPI Flash Size & Map: 32Mbit(512KB+512KB)" but I flashed the version 1024KB+1024KB. Is this misalignment normal?
Note 2: I have modified the encrypting mode of the AP but without success
+CWLAP:(2,"AP_MARCO",-41,"5c:ff:35:7a:e2:79",6,33,0) - WPA_PSK
+CWLAP:(3,"AP_MARCO",-43,"5c:ff:35:7a:e2:79",6,31,0) - WPA2_PSK
Note 3: I forced the AP to "open" and I joined to the AP successfully.

AT+CWLAP
+CWLAP:(0,"AP_MARCO",-42,"5c:ff:35:7a:e2:79",6,31,0)

OK
AT+CWJAP="AP_MARCO",""
WIFI CONNECTED
WIFI GOT IP

OK
Note 4: I called "AT+RESTORE" but I got "ERROR"
AT+RESTORE

ERROR

I have tried other things without success:
1 - Use other Access Point. I try 2, one of them a Android phone with the same result.
2 - Change SSID to a 10 and longer character string.
3 - Change CWMODE to 1 and 3. No difference.

I appreciate any kind of help

Thank you all
Attachments
UART1_output_log.rtf
(27.44 KiB) Downloaded 399 times

ESP_Faye
Posts: 1646
Joined: Mon Oct 27, 2014 11:08 am

Re: AT v0.52 - CWJAP fail with "wrong password(error code 2) but the password is correct

Postby ESP_Faye » Wed Mar 02, 2016 8:01 pm

Hi,

On the ESP Flash Download Tool, "Flash size" area, "32Mbit" means 32Mbit(512KB+512KB), "32Mbit-C1" means 32Mbit(1024KB+1024KB).

Please select Flash size "32Mbit-C1" and try it again, if your problem is still unsolved, please feel free to let us know.

Who is online

Users browsing this forum: No registered users and 189 guests