ESP8266 Developer Zone The Official ESP8266 Forum 2015-05-28T14:51:10+08:00 https://bbs.espressif.com:443/feed.php?f=66&t=502 2015-05-28T14:51:10+08:00 2015-05-28T14:51:10+08:00 https://bbs.espressif.com:443/viewtopic.php?t=502&p=1942#p1942 <![CDATA[Re: The command AT+CWMODE_DEF not stores correctly in Flash]]> but i think espressif should release any version of precompiled firmware so users with esp modules with 512k flash can still use latest firmware. :roll:

Statistics: Posted by marcoleo — Thu May 28, 2015 2:51 pm


]]>
2015-05-28T10:14:26+08:00 2015-05-28T10:14:26+08:00 https://bbs.espressif.com:443/viewtopic.php?t=502&p=1931#p1931 <![CDATA[Re: The command AT+CWMODE_DEF not stores correctly in Flash]]>
Sorry that I didn't make myself clear.

AT_v0.22(based on SDK_v1.0.0)and version before, need to programm as 512KB flash,download as 512KB flash

AT_v0.23(based on SDK_v1.0.1)and later version,need to use actually 1024KB flash,programming as 1024KB flash,downloading as 1024KB flash

If your flash is 512KB, here is a method to use latest AT firmware http://bbs.espressif.com/viewtopic.php?f=16&t=400&start=10#p1599

So sorry for the inconvenience.

Statistics: Posted by ESP_Faye — Thu May 28, 2015 10:14 am


]]>
2015-05-27T14:11:13+08:00 2015-05-27T14:11:13+08:00 https://bbs.espressif.com:443/viewtopic.php?t=502&p=1915#p1915 <![CDATA[Re: The command AT+CWMODE_DEF not stores correctly in Flash]]>
Choosing 1024KB flash:
boot_v1.4 (b1) .bin; 0x0000;
user1.1024.new.2.bin; 0x1000;
blank.bin; 0x7E000 and 0xFE000 <== ok

The problem persists.
After the first cycle power OFF/ON CWMODE = 3 (OK)
After the second cycle power OFF/ON CWMODE = 2 (BAD !!)

Statistics: Posted by marcoleo — Wed May 27, 2015 2:11 pm


]]>
2015-05-27T10:37:21+08:00 2015-05-27T10:37:21+08:00 https://bbs.espressif.com:443/viewtopic.php?t=502&p=1906#p1906 <![CDATA[Re: The command AT+CWMODE_DEF not stores correctly in Flash]]>
Download and unzip the SDK_v1.1.0 http://bbs.espressif.com/viewtopic.php?f=5&t=481

You could find "4A-ESP8266__AT Instruction Set" in folder "document", "1. Preambles" shows the downloading address.

Choosing 1024KB flash:
boot_v1.4(b1).bin;0x0000;
user1.1024.new.2.bin;0x1000;
blank.bin;0x7E000 and 0xFE000

Thanks for your interest in ESP8266 !

Statistics: Posted by ESP_Faye — Wed May 27, 2015 10:37 am


]]>
2015-05-26T20:52:45+08:00 2015-05-26T20:52:45+08:00 https://bbs.espressif.com:443/viewtopic.php?t=502&p=1897#p1897 <![CDATA[The command AT+CWMODE_DEF not stores correctly in Flash]]> Turning off and on the module, setting is lost (after 2 times?)
I suppose that the problem also involves other commands

================
Power ON
================
AT+RST

OK
ets Jan 8 2013,rst cause:1, boot mode:(3,0)
load 0x40100000, len 1396, room 16
tail 4
chksum 0x89
load 0x3ffe8000, len 776, room 4
tail 4
chksum 0xe8
load 0x3ffe8308, len 540, room 4
tail 8
chksum 0xc0
csum 0xc0

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

r??9l
.
.
.
l`?
ready
================
AT+GMR ;Version
AT version:0.24.0.0(May 22 2015 19:20:14)
SDK version:1.1.0
compile time:May 22 2015 20:56:34
OK
================
AT+CWMODE? ;Reading+CWMODE:2
OK
================
AT+CWMODE_DEF=3 ;Setting AP+Sta OK
================
AT+CWMODE? ;Verify ok!+CWMODE:3
OK

***************************************************************************************************************
Cycle Power OFF/ON
***************************************************************************************************************

?r?<?????b???~?n???r??#?n??;nr???;???l`nn?????r?????pp??<????b???~?n???r??#?n??

rnr???;???;?r???n???r??l`$`?|?????#l`$`?r??9l???b????bp?b???n??1?n???? ???r?n?

?????b?l??b?>??????b??br?`$`?n??????r?#?n?b??b??l`?
ready
================
AT+GMR ;Version
AT version:0.24.0.0(May 22 2015 19:20:14)
SDK version:1.1.0
compile time:May 22 2015 20:56:34
OK
================
AT+CWMODE? ;Verify ok!
+CWMODE:3
OK

***************************************************************************************************************
Cycle Power OFF/ON
***************************************************************************************************************

r?<?????b??>~?n???r??#?n??;nr???;???l`nn?????r?????pp??<????b???~?n???r??#?n??

rnr???;????;?r???n??r??l`$`??|?????#l`?n?br???#??l??#?$?`?lr?<?????b??>~?n???r??

#?n??;nr???;??l`nn?????r?????pp??<????b???~?n???r??#?n??rnr???;????;?r???n???r??

l`$`??|????#l`??n?br???#??l??#?$?`?l??;???rrr??9l???b????bp?b??n????n???? ???r?

n??????b?l??b????????b??br?`$`?n??????r?#?n?b??b??l`?
ready
================
AT+GMR
AT version:0.24.0.0(May 22 2015 19:20:14)
SDK version:1.1.0
compile time:May 22 2015 20:56:34
OK
================
AT+CWMODE?
+CWMODE:2 <<<<===============================================================;VERIFY BAD!!!!
OK
================

It seems a problem of flash
I loaded my flash (25Q40 = 512K) as follows:

SPI Flash Config
Crystal Freq: 26M
SPI Speed 40Mhz
SPI Mode QIO
8Mbit Flash SIZE
SpiAutoSet -

boot_v1.4(b1).bin;0x0000;
user1.1024.new.2.bin;0x1000;
user2.1024.new.2.bin;0x41000;
blank.bin;0x7E000;

My flash address is correct?
Thanks in advance!

Statistics: Posted by marcoleo — Tue May 26, 2015 8:52 pm


]]>