Page 1 of 1

ESP8266 12E - How to upgrade to latest firmware

Posted: Tue Jan 12, 2016 12:41 pm
by IOT_idlc
Hi,
This is kumar. presently i'm using esp8266 12E. it's AT version:0.25.0.0(Jun 5 2015 16:27:16) & SDK version:1.1.1. I'm unable to change the baud rate. Can anybody tell what is the latest version of AT firmware & SDK versions. Is there any esp8266 tool for testing the esp8266 12e through PC directly by using 'AT' commands. if there is any latest versions for this module, please tell me the process how to upgrade my wifi module firmware. Please tell me what the tools that i need & also path for latest firmware, so that i can easily upgrade my module.

Re: ESP8266 12E - How to upgrade to latest firmware

Posted: Wed Jan 13, 2016 3:18 pm
by ESP_Faye
Hi,

1. Download AT firmware http://bbs.espressif.com/viewtopic.php?f=46&t=1451, download and unzip it, download the bin files into Flash according to the "readme.txt".
2. Please use ESP Flash Download Tool to download AT bin files into Flash, choose the corresponding Flash size according to your actual Flash size.
3. AT documentation :http://bbs.espressif.com/viewtopic.php?f=46&t=1451.

Thanks for your interest in ESP8266 !

Re: ESP8266 12E - How to upgrade to latest firmware

Posted: Sat Dec 02, 2017 9:00 pm
by lcoulon
Hello,

I tried to update my ESP12 ( ESP8266 MOD) firmware with this version : AT_v0.51_on_ESP8266_NONOS_SDK_V1.5.0

I followed the steps described in the previous post, the upgrade process passed but when i power cycle the module with GPIO0 to Vcc, the boot sequence crashes with that error :

Board communication works only @ 748880 Bauds.

Code: Select all

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

load 0x40100000, len 1396, room 16
tail 4
chksum 0xef
load 0x88888888, len -2004318072, room 4
flash read err, ets_unpack_flash_code
ets_main.c


Here is a screen capture sent by ESP Flash Downloader

Image

ESP Flash downloader detects the module as :

Code: Select all

flash vendor:
C8h : GD
flash devID:
4016h
QUAD;32Mbit
crystal:
26 Mhz


Could someone tell me why the module won't work after firmware upgrade, did i miss something ?
Many thanks for your help,

Re: ESP8266 12E - How to upgrade to latest firmware

Posted: Thu Dec 07, 2017 3:37 pm
by lcoulon
Hello,

I think my ESP12 module is DOA and finally decided to go with a brand new one.

Here i tried to redo the upgrade process and now things are a bit different although i'm still not able to get answers to AT commands from the module after the upgrade.

Once the upgrade ended, i get the following boot comments at 74880 Bauds :
ets Jan 8 2013,rst cause:2, boot mode:(3,7)

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: 32Mbit(512KB+512KB)
jump to run user1 @ 1000

⸮q⸮⸮⸮*5⸮⸮Y*)⸮⸮
S⸮"@j⸮N⸮


Actually the unreadable characters are probably there due to Baud rate speed change after the boot sequence completion.

At 115200 Baud speed, last characters show :

Code: Select all

Ready


However, the module does not respond to any AT command even GPIO0 was disconnected to GND ( i leave it floating) and module has been power cycled and resetted.

Why can't i get any AT command answer, did i miss something ?

Re: ESP8266 12E - How to upgrade to latest firmware

Posted: Mon Dec 11, 2017 5:19 pm
by Her Majesty
“Ready” means that the AT firmware is ready.
You can input AT commands through UART with baud rate 115200 now, please note that AT command ends with a new line(CR LF).
For example, input "AT(CR LF)" you should get an "OK" as response.

Re: ESP8266 12E - How to upgrade to latest firmware

Posted: Mon Dec 11, 2017 5:51 pm
by lcoulon
Thanks for this important detail, now i get the communication working with Hyperterminal with the following config :

"send line ends with line feed"

Image