In this tutorial we will show how to update ESP8266 with new firmware.

We use ESP8266 together with Arduino and ESP8266EasyIoT library. The problem is if we do not need correct ESP8266 firmware, because responses to AT commands are different in different firmware versions.

To upload ESP8266 firmware you need FT232RL FTDI USB to TTL Serial+Adapter. Se buying guide for details. Don't forget to set FTDI programmer to 3.3V. 

Connection is following: 

  • Vcc = 3.3V (needs around 300-400mA peak)
  • Gnd = ground
  • CH_PD = Chip enable so always +Vcc
  • RST = Leave floating or ground to reset
  • GPIO0 = Normally floating but this needs to be grounded when you start the update.
  • UTXD = Tx data connect to Txd on FTDI/Serial interface
  • URXD = Rx data connect to Rx of FTDI/Serial interface

 

In my case serial USB converter did not provide enough current and updating was impossible. I've connected ESP8266 VCC to additional 3.3V power supply (do not connect FTDI serial USB VCC to VCC power supply if you are using additional power supply).

Then we need program to flash ESP8266. I'm using Windows XTCOM_UTIL, but you can find more flashing utilities on internet.

Program can be downloaded here XTCOM_UTIL. Run program and go to Tools->Config device. Select Com port (only Com ports COM1-COM6 are supported - change port in Windows control panel if necessary). Then open port and Connect.

Next go to API TEST->Flash Image Download. Select firmware image and press button Download.

Current EasyIoT8266 Arduino library works with ESP8266 V0.9.5.2 firmware. If you are usning SW serial, set baudrate to 9600 (default is 115200) with AT+CIOBAUD=9600.

See more tutorials at ​http://iot-playground.com/build​

Buying guide

To support this site and EasyIoT framework development please buy in our store.

FT232RL FTDI USB to TTL Serial Adapter 5V, 3.3V

FT232RL FTDI USB for Arduino or ESP8266 programming. Support 5V and 3.3V

ESP8266 ESP-01 Serial WIFI Wireless Transceiver Module

ESP8266 Serial WIFI Wireless Transceiver Module

ESP8266 ESP-03 Serial WIFI Wireless Transceiver Module

ESP8266 serial WIFI model ESP-03

ESP8266 ESP-12 Serial WIFI Wireless Transceiver Module

ESP8266 serial Port WIFI wireless module ESP-12

ESP8266 ESP-05 Serial WIFI Wireless Transceiver Module

ESP8266 ESP-05 Serial WIFI Wireless Transceiver Module


Comments   

#5 profile 2018-11-01 11:21
Need cheap hosting? Try webhosting1st, just $10 for an year.

#4 Bruno 2017-01-20 10:46
Can I connect the ESP8266 TX and RX to Arduino Uno instead of FTDI ?
+1 #3 Ants Tamm 2016-02-02 09:51
UTXD -> FTDI Rx
URXD -> FTDI Tx
+1 #2 Kamil 2015-09-06 01:55
Working fine for me, thanks !
+1 #1 dl 2015-07-19 11:29
UTXD = Tx data connect to Txd on FTDI/Serial interface
URXD = Rx data connect to Rx of FTDI/Serial interface

It's new!!!!

You have no rights to post comments

Forum latest

  • No posts to display.