ESP-12 AT firmware

somedude
Posts: 4
Joined: Thu Mar 31, 2016 8:42 am

ESP-12 AT firmware

Postby somedude » Thu Mar 31, 2016 8:52 am

Hello,


I would like to start by saying that I like the ESP8266 a lot, but now I have a major problem.
The module I have is an ESP-12 with 4K or flash and the firmware on it is not the default from Espressif.

I have been searching the site all day without much success, looking for a link to download the original AT firmware.
I have found links to v20, but that is really old and I have seen people mention v52 as being a recent version, but that apparently only fits devices with more flash.

Please direct me to a link where I can download the most recent AT firmware for the ESP-12 with 4k of flash, because I need to use it in an environment where I can control it with AT commands.

Thank you very much for your help.

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

Re: ESP-12 AT firmware

Postby ESP_Faye » Thu Mar 31, 2016 10:22 am

Hi,

What is the size of your flash, 512KB or 1024KB or other size ?

somedude
Posts: 4
Joined: Thu Mar 31, 2016 8:42 am

Re: ESP-12 AT firmware

Postby somedude » Thu Mar 31, 2016 7:24 pm

Hello Faye,


Sorry, in my post above I wrote "4k or flash" instead of "4k OF flash".
So I think I have the 4kbit - 512kbytes of flash version, but I am not certain.

If I open the ESP flasher tool, it reports size: 4 and selects the 32Mbit FLASH SIZE.
Does that mean it has 4Mbytes?

It is the Adafruit Huzzah breakout board with ESP 12.

This is a bit confusing as far as the size of flash - even the tool says 4M(512K + 512K) for size=4

Thank you very much.

somedude
Posts: 4
Joined: Thu Mar 31, 2016 8:42 am

Re: ESP-12 AT firmware

Postby somedude » Fri Apr 01, 2016 1:29 am

Hello,

I managed to flash version 0.60.0.0 from SDK 1.5.2 to my device.

The ESP download tool reported 32 mbit of flash, so I followed the instructions in the readme for 32mbit 512+512 and flashed it:
This is what the readme says:
Flash size 32Mbit: 512KB+512KB
boot_v1.2+.bin 0x00000
user1.1024.new.2.bin 0x01000
esp_init_data_default.bin 0x3fc000 (optional)
blank.bin 0x7e000 & 0x3fe000
And this is what I did:
Flash size 32Mbit: 512KB+512KB
boot_v1.2+.bin 0x00000
user1.1024.new.2.bin 0x01000
esp_init_data_default.bin 0xfc000 <- NOT 0x3fc000
blank.bin 0x7e000 ONLY, I did not add it at 0x3fe000

It is now working from what I can tell, AT+GMR reports:
AT version:0.60.0.0(Jan 29 2016 15:10:17)
SDK version:1.5.2(80914727)
compile time:Jan 29 2016 19:07:08

What is weird is that after a reset with AT+RST it reports only 8mbit:

2nd boot version : 1.5
SPI Speed : 40MHz
SPI Mode : QIO
SPI Flash Size & Map: 8Mbit(512KB+512KB)

Can you please answer the following question:
How can I find out exactly the amount of flash so that I can do it right.?

Thank you very much

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

Re: ESP-12 AT firmware

Postby ESP_Faye » Fri Apr 01, 2016 9:56 am

Hi,

Please download the AT bin files into Flash through ESP official Flash Download Tool.

The flash size will be shown on the "Detected INFO" area on the tool while downloading.

Thanks for your interest in ESP8266 !

julian_sun
Posts: 1
Joined: Sat May 07, 2016 11:44 pm

Re: ESP-12 AT firmware

Postby julian_sun » Sat May 07, 2016 11:51 pm

I have been trying to do the same, but it always fail. See my flasher screen capture below. Is there anything I did wrong?

My flashing sequence is

1. click "Start" button on the flasher tool
2. hold GPIO0 button and then press RESET to enter download mode

Note the tool managed to get MAC addresses which means it is talking to the board, I suppose.

My tool is FLASH_DOWNLOAD_TOOLS_v2.4_150924. My SDK is ESP8266_NONOS_SDK_V1.5.3_16_04_18.

What did I do wrong? Thanks.

Capture.PNG

flyfish
Posts: 18
Joined: Mon Aug 10, 2015 10:22 am

Re: ESP-12 AT firmware

Postby flyfish » Mon May 09, 2016 5:51 pm

You could try it using baudrate 115200.

Who is online

Users browsing this forum: No registered users and 2 guests