ESP8266 12E - How to upgrade to latest firmware

IOT_idlc
Posts: 3
Joined: Mon Jan 11, 2016 8:49 pm

ESP8266 12E - How to upgrade to latest firmware

Postby IOT_idlc » Tue Jan 12, 2016 12:41 pm

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.

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

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

Postby ESP_Faye » Wed Jan 13, 2016 3:18 pm

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 !

lcoulon
Posts: 3
Joined: Sat Dec 02, 2017 4:01 pm

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

Postby lcoulon » Sat Dec 02, 2017 9:00 pm

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,

lcoulon
Posts: 3
Joined: Sat Dec 02, 2017 4:01 pm

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

Postby lcoulon » Thu Dec 07, 2017 3:37 pm

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 ?

Her Majesty
Posts: 202
Joined: Mon Oct 27, 2014 11:09 am

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

Postby Her Majesty » Mon Dec 11, 2017 5:19 pm

“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.

lcoulon
Posts: 3
Joined: Sat Dec 02, 2017 4:01 pm

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

Postby lcoulon » Mon Dec 11, 2017 5:51 pm

Normally when entering commands with Putty, it may automatically end the line with \r\n , isn't it ?

If I type-in "AT" and then press [enter] key, I do not get any answer.

I also tried to enter AT commands from Arduino IDE serial console but the result is the same.

The issue does not come from my serial / usb adaptor since i was able to upgrade the firmware successfully.

What software would you recommand to use to enter AT commands from a laptop to the ESP module ?

I thought Putty was the best ...

Who is online

Users browsing this forum: No registered users and 5 guests