Next, Install the esptool.py python module. So I had to go with the older 1.6.2 that supported a 512 KiB + 512 KiB map.ĭownload your preferred firmware zip file, extract the zip file and navigate to. The ESP-01 by Ai Thinker only had 1 MB in total. ie, You need 2 MB of flash space on your board. The latest firmware at the time of writing this was 1.7.3 and as you can see from the description on the download page, that only supported a 1024 + 1024 KiB flash map. This requires some understanding of terminal and any wrong step here may brick your module. This the default tool which is provided by Espressif to flash firmware onto ESP chips. Using Esptool from the terminal (command line) After this, you can restart the ESP8266 after removing GPIO-0 from GND. After that press upload button as usual and your firmware will be flashed. Now select the correct serial port and choose the Blink example. The installation of ESP8266 in Arduino IDE is done.Now close the Boards Manager window and select the Generic ESP8266 Module from the board selection list.Click the Install button to install the ESP8266 Board.Add the below-given link to Additional Boards Manager URLs.For flashing official firmware head on to next method The Arduino method is only flashing the user-written firmware. There are 2 ways to flash your firmware, the First one is using esptool which is a bit complicated process and the second one is using Arduino IDE which also uses esptool at backend abstracting all its complexities. When we restart the module, this setup will put it into bootloader mode. To put ESP8266 into bootloader mode we need to first pull GPIO-0 to GND.
#Updating esp8266 firmware using arduino how to
USB-TTL ( learn how to use Arduino as USB-TTL adapter).ESP8266 (obvious, but still needs a mention).
We need below-mentioned hardware components: This module has a powerful on-board processing and storage capability that allows it to be integrated with the sensors and other applications through its GPIOs.
The other type by the generic manufacturers might just have 512 KiB flash (and their PCBs could be blue in color).ĮSP8266 comes pre-programmed with an AT command set firmware, meaning, you can simply hook this up to your Arduino device and get about as much WiFi-ability as a WiFi Shield offers. These have a flash memory of 1 Megabyte (aka 8 megabits). The AI-Thinker boards have a black PCB with the words “AI-CloudInside” printed near the PCB antenna. So to simplify the whole process and understanding of putting your firmware on ESP8266-01 (by AI-Thinker), we are writing this article. But sometimes it becomes a bit tedious task to flash your firmware onto it. We know that ESP8266-01 is an impressive, low cost and powerful module with networking capabilities.