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

User avatar
pratik
Posts: 291
Joined: Wed Jun 29, 2016 7:17 pm
Location: India
Contact:

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. :)
Regards,
Pratik Panda
Website: http://www.PratikPanda.com

Custom firmware, Knowledge base and freelancing (ESP8266/ESP32):
http://www.iot-bits.com

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

User avatar
pratik
Posts: 291
Joined: Wed Jun 29, 2016 7:17 pm
Location: India
Contact:

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
Regards,
Pratik Panda
Website: http://www.PratikPanda.com

Custom firmware, Knowledge base and freelancing (ESP8266/ESP32):
http://www.iot-bits.com

Who is online

Users browsing this forum: No registered users and 2 guests