obtaining and flashing the latest firmware on an ESP8266

nigelspowage
Posts: 2
Joined: Thu Jan 19, 2017 8:44 pm

obtaining and flashing the latest firmware on an ESP8266

Postby nigelspowage » Thu Jan 19, 2017 9:05 pm

Hi,

I've just purchased a nodeMCU prototyping board and I'd like to put on the latest espressif firmware. From following the guides there seems to be a bit of a missing information.

I've followed the links to the newbies starter guide and got the RTOS SDK from https://github.com/espressif/ESP8266_RTOS_SDK, and it's readme.md says

"eagle.app.v6.flash.bin, downloads to flash 0x00000

eagle.app.v6.irom0text.bin, downloads to flash 0x40000

blank.bin, downloads to flash 0x7E000"

Where do I find these files ? the bin directory of the SDK only has blank.bin, boot_v1.6.bin and esp_init_data_default.bin.

Thanks

pratik

Re: obtaining and flashing the latest firmware on an ESP8266

Postby pratik » Fri Jan 20, 2017 1:17 pm

Hi!
I think you are getting confused between the firmware options available for the ESP8266.
Let me clarify things here:
1. The RTOS SDK is an SDK based on FreeRTOS that provides in-built functions to program the ESP8266 with your own custom programs.
2. The nonOS SDK is the same as above but is not based on an RTOS. So it would be like a normal embedded C program with no OS.
3. The "firmware" you are referring to is probably the one that lets you use AT commands with the ESP8266.

If you want to download the latest AT command firmware for ESP8266, please visit the ESP8266 section (http://www.espressif.com/en/products/ha ... /resources) and download the latest nonOS SDK available. Inside it you will find bin/at folder that contains AT command firmware BINs and notes on where to flash them.

Do let me know if this helped or if you need something else answered. :)

nigelspowage
Posts: 2
Joined: Thu Jan 19, 2017 8:44 pm

Re: obtaining and flashing the latest firmware on an ESP8266

Postby nigelspowage » Wed Jan 25, 2017 4:41 am

Hi,

Thanks for explaining that, I was getting mixed up with the firmware options.

I do have one more more question, how do I identify the flash size on the ESP8266 module I have ?

Thanks

Nigel

pratik

Re: obtaining and flashing the latest firmware on an ESP8266

Postby pratik » Sun Feb 12, 2017 1:56 pm

When you connect your ESP8266 module to the flash download tool, you will get a flash manufacturer and size code on the download tool. You can use this as the most reliable way to detect flash size.
The other rather obvious way is to read the flash chip number and look for its datasheet. This is best as you can find out if the chip supports QIO and max read speed, etc for best performance.

ESP-12 modules will have 32MBit flash under shielded can. Same for the WROOM-02

darkzero
Posts: 1
Joined: Thu Aug 23, 2018 10:54 pm

Re: obtaining and flashing the latest firmware on an ESP8266

Postby darkzero » Sat Sep 01, 2018 5:39 pm

Hi

I have flashed eagle.flash.bin and eagle.irom0text.bin files after build ESP8266_NONOS_SDK in nodemcu, from below site.

https://github.com/espressif/ESP8266_NO ... tag/v2.2.1

address provided from technical documentation and getting started guides..

Currently checking for "Hello" print !

but i get garbage. When flash finished without removing usb cable connected i press the reset pin and in gtkterm terminal i see garbage tested for all baud rates from 9600 to 115200.

irrespective of any baud rates i receive the same garbage!
Help would be appreciated..

Who is online

Users browsing this forum: No registered users and 3 guests