How to put AT-firmware ON ESP8266

In this tutorial you will learn how to put the new AT-firmware to n ESP8266 module.

Step 1

Hardware of ESP8266 Wi-Fi module

ESP is working on 3,3V so we must use an external regulator in order for it to work. Using Arduino Uno is one of the options. It will work, but it might be unstable since ESP can get to about 300mA of current when it is in transmitting mode.

ESP8266 has a two working mode: Programming and Working.

In programming mode, we flash firmware to ESP. To enter this mode, you must first connect GPIO0 to LOW when ESP is not connected to power supply. After connecting everything, turn power supply on.

Working mode is the mode in which ESP8266 module is working and running firmware. To enter this mode, you must connect GPIO0 to floating (meaning that the module is not connected to anything). As in case with the Programming mode, you must first reset the module (put it off and back on to power supply).

To install the firmware, we use a FTDI.

ESP can be use as Arduino because we have it in ARDUINO IDE, but we will talk more about this in the next tutorial.

Step 2

Software for ESP8266

After we have learned how to connect ESP, we must learn how to put the firmware on it. To do this, connect all your things on to breadboard. You can connect them the way we did it on the picture.

Before we start:

  1. You will need Windows for this, so if you are on a Mac, use a 'Parallels Desktop'.
  2. Then download this .zip file and unzip it to Desktop.
Step 3

Starting firmware upload application

When you unpack this file you will get two folders "FLASH_TOOL" & "Esp8266_Flash".

Open "FLASH_TOOL" and open app named "ESP_DOWNLOAD_TOOL_V2.4". You will see something like this.

Step 4

Working in app

Then upload all .bin files from folder "Esp8266_Flash". Then set points like on the photo.

Step 5

Set codes

  • Next open readme file and put codes into the app.
Step 7

Testing new Firmware

In "ESP8266_firmware" folder I added AT_INSTRUCTION.PDF file so you can see all AT commands used.

Next take off FTDI from PC and set ESP8266 to working mode. Take in FTDI back to PC and open Arduino ide set port same as your FTDI (board does not matter , and open serial monitor.

Then set Both NL and CR , and change your ESP baud rate to yours (only in case you changed the default which is 115200).

Step 8

Sending AT commands

So we can now send AT commands , send "AT" without quotes and if you receive "OK" it mean that ESP is working.

Play with commands from the .pdf file provided

Tutorial Forum

CityOS flag

Flash Config Error

answers

1

Hi Armin, I have done all the steps from your tutorial, but after opening example code for Check Flash Config I got an error: “Flash Chip configuration wro...