ESP01 - AT 0.40 - Can't save baud rate change

hexor
Posts: 22
Joined: Fri Jul 10, 2015 1:33 am

ESP01 - AT 0.40 - Can't save baud rate change

Postby hexor » Thu Aug 20, 2015 8:14 pm

Hi,

Due to my problem with AT 0.21 (viewtopic.php?f=16&t=976) I want to test with the last update (but I'm still want to understand where is the bug in v0.21).

I have flashed an esp01 with the last AT firmware, but If I want to change the baud rate to 19200 with "AT+UART_DEF=19200,8,1,0,0"
The baud is changed, but If i cut off the power, at the next boot the baud rate is 115200 and not 19200.

Do you know why I can't save this parameter ?

Thanks a lot for your hard work on the esp's World !!!

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

Re: ESP01 - AT 0.40 - Can't save baud rate change

Postby ESP_Faye » Fri Aug 21, 2015 10:53 am

Hi,

What is the size of your flash ?

If your flash size is 512KB, AT_v0.40 can only work well without OTA:
eagle.flash.bin 0x00000
eagle.irom0text.bin 0x40000
blank.bin 0x3e000 & 0x7e000

If your problem is still unsolved, please provide the capture picture of your flash download tool while downloading.

Thanks for your interest in ESP8266 !

hexor
Posts: 22
Joined: Fri Jul 10, 2015 1:33 am

Re: ESP01 - AT 0.40 - Can't save baud rate change

Postby hexor » Sat Aug 22, 2015 2:23 pm

What is the size of your flash ?


Where I can found the size of my flash ?

Thanks,

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

Re: ESP01 - AT 0.40 - Can't save baud rate change

Postby ESP_Faye » Mon Aug 24, 2015 3:46 pm

Hi,

Please use the Espressif Flash Download Tool and select the "SpiAutoSet" to download firmware.
Then the ESP Flash Download Tool will set the configuration automatically according to your Flash while downloading.
SpiAutoSet.jpg

hexor
Posts: 22
Joined: Fri Jul 10, 2015 1:33 am

Re: ESP01 - AT 0.40 - Can't save baud rate change

Postby hexor » Mon Aug 24, 2015 4:21 pm

I have already use the "SpiAutoSet", I have try to flashing again, but it doesn't work...

After the flashing, all is working, I can change the baud rate, but if I reboot, the baud returning to 115200.

Code: Select all

AT

OK
AT+GMR
AT version:0.40.0.0(Aug  8 2015 14:45:58)
SDK version:1.3.0
compile time:Aug  8 2015 17:35:24
OK
AT+UART_DEF=19200,8,1,0,0

OK
------------ [CHANGING BAUD RATE ON MY SOFTWARE TO 19200 ------------


AT

OK
AT+GMR
AT version:0.40.0.0(Aug  8 2015 14:45:58)
SDK version:1.3.0
compile time:Aug  8 2015 17:35:24
OK


This is the capture during the flash:
flash.JPG

And the path are:
eagle.flash.bin 0x00000
eagle.irom0text.bin 0x40000
blank.bin 0x3e000 & 0x7e000

Thanks for your help

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

Re: ESP01 - AT 0.40 - Can't save baud rate change

Postby ESP_Faye » Tue Aug 25, 2015 11:22 am

Hi,

I tried it on ESP01, but I still can not duplicate your problem...

How did you know that the baud rate change back to 115200 ?

Could you try it with another PC UART tool, for example, “secureCRT” ?

hexor
Posts: 22
Joined: Fri Jul 10, 2015 1:33 am

Re: ESP01 - AT 0.40 - Can't save baud rate change

Postby hexor » Tue Aug 25, 2015 4:58 pm

Hi,

I know the baud rate is 115200 after reboot because it's the only baud rate that is good to communicate with the ESP01.
19200 dosen't work and return weird character.

I have already try several UART software and several ESP01.... --> same result :|

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

Re: ESP01 - AT 0.40 - Can't save baud rate change

Postby ESP_Faye » Wed Aug 26, 2015 10:03 am

Hi,

So sorry that I still can not duplicate your problem.. :(

Here is my test AT bin files, please have a try.

And you could also provide your test bin, I will test it.

Code: Select all

AT+UART_DEF=19200,8,1,0,0

OK
// Change baud rate of PC UART tool to 19200
at

OK
AT+RST

OK
卆鰾a跆黙c1cV匍5BRb/VT毈鬜ル凝汐B
ready
AT

OK
Attachments
at_bin_sdk130.zip
(182.54 KiB) Downloaded 920 times

hexor
Posts: 22
Joined: Fri Jul 10, 2015 1:33 am

Re: ESP01 - AT 0.40 - Can't save baud rate change

Postby hexor » Wed Aug 26, 2015 3:58 pm

I have tested with your bin files, but same result: baud rate not save.

Code: Select all

AT

OK
AT+GMR
AT version:0.40.0.0(Aug  8 2015 14:45:58)
SDK version:1.3.0
compile time:Aug  8 2015 17:35:24
OK
AT+UART_DEF=19200,8,1,0,0

OK

//Change soft baud to 19200
AT

OK
AT+RST

OK
úFX
   Xû
   XJÒBÂXX~
           BbKBà9rb*Ê5ãCÊ^T_Ç^þýùý
           
//Trying to send "AT"
ùù
 
 //Change soft baud to 115200         
 AT

OK
AT

OK


This is my bin files:

sdk130.zip
(180.84 KiB) Downloaded 819 times


I don't understand where is the problem :(

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

Re: ESP01 - AT 0.40 - Can't save baud rate change

Postby ESP_Faye » Fri Aug 28, 2015 2:05 pm

Hi,

I tested your bin files, it works fine on my ESP01 ..

Is there any version of AT firmware which can work well on your ESP01 ?

Who is online

Users browsing this forum: No registered users and 4 guests