OLIMEX© 2016
Upgrading ESP8266
CHAPTER 4: FIRMWARE UPDATE
CHAPTER 4: FIRMWARE UPDATE
At this point we have all the hardware and software prerequisites ready. Now we have to set everything
together.
1.
Start the ESP8266 board in UART (bootloader) mode.
If you are using ESP8266-EVB, ESP8266-EVB-BAT or ESP8266-EVB-BAT-BOX – disconnect the
ESP8266 board from any power supply; press and hold button BUT; apply power supply.
If your board doesn't have a button (“MOD-WIFI-ESP8266” or “MOD-WIFI-ESP8266-DEV”) you
need to change the SMT jumpers to the UART (bootloader) mode and then power the board. By
default the boards are configured for “execute from flash” mode.
2.
Connect the serial cable to the board's RX, TX and GND. Make sure that the cable is properly
recognized by Windows.
3.
Extract the archive with the NONOS SDK. The archive here is named
“esp8266_nonos_sdk_v1.5.1_16_01_08_0.rar”.
4.
Extract the archive with “FLASH DOWNLOAD TOOLS”. The archive we use here is named
“flash_download_tools_v2.4_150924.rar”.
5.
Navigate inside the extracted folder and start the executable. The one here is
“ESP_DOWNLOAD_TOOL_V2.4.exe”. The graphical interface of the tool would launch. In case of a
problem with the start of the application consider updating your Python installation.
6.
Now we have to point the tool to the firmware binaries. We have to change a few options also.
Use the ellipsis (…) in the “Download Path Config” box to point to the firmware binaries from the
NONOS SDK (the archive that we extracted in point 3). We need four prebuilt binaries named:
“
boot_v1.5.bin
”; “
esp_init_data_default.bin
”; “
blank.bin
”; “
user1.2048.new.5
”. These files are
located in folder “
.../bin/
” and its sub-folder “
…/bin/at/1024+1024/
”.
The corresponding write addresses and description of each file can be found in the table below
(the table is taken from the official AT instruction set):