ESP8266 - Firmware Update (Optional)

Flash the esp8266 with new firmware

The supplied module already has the latest firmware, So there is no need to update it. Only do this if you want to update to a custom version.


Things you will need:

ESP8266 Pin Layout:

esp8266 pinout

Wiring for Firmware Upgrade using FTDI board (3.3V)

 upgrade1

Figure 1

 

Wiring for Firmware Upgrade using Arduino

upgrade2

Figure 2


Note: If using Arduino to upgrade the firmware. Load the following bare minimal script, just to make sure that Arduino does not have any pre-existing scripts loaded, which may interfere with upgrade process.   

Code:

Load bare minimal script if using Arduino.

void setup()

{

void loop()

Instruction:

In order to update the firmware you need to configure the hardware to enter firmware update mode:

  1. Connect the wires according to figure 1 if using FTDI board or figure 2 if using Arduino to upgrade firmware.
  2. To enable firmware upgrade it is requirement to connect GPIO0 to ground (0 Volts) ("pulled low") to enable firmware update mode (as shown in wiring diagram above).
  3. Download the firmware and firmware Tool software into your computer from the link provided in the “Things you will need” section.
  4. Connect the module to your computer.

Note: that you are using 3.3v FTDI. ESP8266 work only with 3.3v.

  1. Run the firmware update tool that you have download before

upgrade3

  1. Click Bin and locate the firmware file and click open.
  2. Change the COM to the COM that the device is using.
  3. Click download. This will start installing the firmware to your esp8266

upgrade4

  1. Error message will show at the end - ignore it. Reset your board.
  2. Disconnect GPO01 pin of ESP8266 from the ground pin from the FDTI or Arduino. This needs only to be connected to ground while firmware upgrade. 

The new firmware is now stalled. To test that the firmware is successfully installed. Open your serial monitor and send “AT” command, this should return “OK”. Send  “AT-RST” command to reset the module and then “At+GMR” should show you the version of the installed firmware.

Zircon - This is a contributing Drupal Theme
WeebPal