How to Download the Latest Firmware for Nodemcu Latest.bin
Contents
In the before articles, we have written our ain programme in
Arduino
IDE to access GPIO pins of
ESP8266
or to interface sensors to ESP8266. Merely if we write our own programme to admission GPIO Pins, the existing firmware will be completely erased and the new program volition be written on the ESP8266.
Then in this article, nosotros will explain how to flash the Official Espressif and NodeMCU Firmware to ESP8266. This can also be used to update to the latest ESP8266 Firmware.
Electric current Firmware Version
Before installing the new firmware into ESP8266, we can check the electric current firmware version of ESP8266 module by using Arduino IDE serial monitor.
If ESP8266 is flashed with Arduino plan to access GPIO pins, so the existing firmware of ESP8266 volition be completely erased and Arduino code will be uploaded to that module. So in this case we tin can’t bank check the current firmware version for that module.
In Arduino IDE, select the correct COM Port ex”: COM3″, open up the Series Monitor, set the baud rate to 115200 and select Both NL and CR option in the series monitor.
To RESET: Printing the RST Button of ESP8266 for a second and release. The ESP8266 Module will reset and display “ready” after some garbage data on the serial monitor.
To cheque Current firmware version: nosotros need to blazon “AT+GMR” Command and click on send icon. This command will return the electric current firmware version of ESP8266 Module.
Download Latest Version Firmware
In that location are two types of Software Development Kits(SDK) for ESP8266:
- Non-Os SDK: It’s not based on whatsoever OS.
- RTOS SDK: It’s based on FreeRTOS.
The ESP8266 Module comes with an AT Control Firmware and the Firmware files are in the form of Binary Files i.e. .bin files. Here we are using Firmware Version 1.v.1, which is of the type Non-Os SDK.
Visit the official link, in social club to download the
AT Commands Firmware for ESP8266 or directly download from this
link
.
As soon as nosotros click on download, Cypher file volition be downloaded and extract the file.
Wink retention addresses for Bin Files which volition be flashing into ESP8266.
File | Address in Wink Retentiveness |
---|---|
boot_v1.vii.bin | 0x00000 |
user1.1024.new.2.bin | 0x10000 |
esp_init_data_default.bin | 0xFC000 |
bare.bin | 0xFE000 |
Flashing Firmware to ESP8266
Espressif Firmware
Tool Downloading
TheESP8266 is a low-cost Wi-Fi microchip produced by
Espressif Systems. Espressif Systems too developed a ESP Flash Download Tool to update the firmware of ESP8266.
ESP8266 Firmware tin can exist installed for ii reasons: If we want to install the new firmware or to update the ESP8266 Firmware to its latest version.
visit the official link, in order to download the
ESP Flash Download Tool, click on Tools section to select the tool or you tin can direct download from
this
link.
Tool Installation
After Downloading the tool, extracts the files and open the “flash_download_tools_v3.6.v” application file.
Afterwards opening the application file, information technology will display diverse options like ESP8266 Download Tool, ESP8285 Download Tool, ESP32 Download Tool and ESP32D2WD Download Tool. At present click on “ESP8266 Download Tool” considering we are flashing the firmware to ESP8266.
Tool Settings
Every bit presently equally the ESP8266 Download Tool opens, nosotros have to select and upload the four firmware bin files at 4 different addresses under “SPIDownlaod“. Select
SPI
SPEED equally “40MHz”, SPI Style as “QIO”, Flash SIZE equally “8Mbit”, COM as “COM3” and BAUD equally “115200”.
For bin file addresses refer the above table at “Download Latest Version Firmware” section.
Now click onSTART
icon to brainstorm the firmware flashing to ESP8266. As soon as the flashing process starts, the tool will brandish two MAC Addresses as AP and STA and also displays the information almost Module in the DETECTED INFO section.
While flashing firmware if nosotros become any error, disconnect the ESP8266 connected USB, reconnect it and again click on Start icon to brainstorm the flashing.
If we didn’t get whatsoever error, the module will be updated with new firmware and “FINISH” message will be displayed on tool.
After completion of firmware flashing, shut the tool, open Arduino IDE series monitor, press RST butoon on ESP8266 and check for new firmware.
In order to cheque the updated firmware version, type “AT+GMR” in serial monitor and click on ship icon. Nosotros will get a response with the AT Version number and the SDK Version number.
NodeMCU Firmware
NodeMCU flasher is a firmware programmer for NodeMCU DEVKIT V0.9.
Tool Downloading
Firstly we accept to download the NodeMCU flasher. It’south a.exe file that nosotros can download using one of the following links.
Flashing Firmware
Double click on the downloaded .exe file to open the flasher, Select the COM Port.
Click on “Config” icon, scan and upload the four bin files from downloaded firmware. For bin file addresses refer the above tabular array at “Download Latest Version Firmware” section.
Click on “Wink(in Operation tab)” to first the flashing process. As presently as the flashing process starts, the tool will display two MAC Addresses equally AP and STA. Later the successful completion of firmware flashing process, the tool should announced a light-green circumvolve with a cheque icon.
Past this we will complete the Flashing or updating firmware of ESP8266 by using Espressif and NodeMCU Flasher.