Update the AT Firmware in Your ESP8266 WiFi Module

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
Hello Everyone Welcome back. In today's video, i will show you guys, how to update the ESP8266 WiFi module's firmware to the latest available AT Command firmware from the ESPRESSIF website. I purchased the ESP8266 WiFi module to use it in one of my projects, but then i found that the current firmware which is present inside this module is very old, and that's why I decided to update it with the new one. So, in this video i will share all the important steps with you. To update the firmware, you need a USB to UART converter and few cables or Mechanical Switches to connect the Reset Pin and Flash Pin of the module to the Ground Pin. This is my USB to TTL converter for my ESP8266 WiFi Module, and this is my ESP8266 WiFi Module. I can connect my module directly with my USB to UART converter like this. And on the bottom side, I have taken out two wires from the ground pin of the module. And this Blue cable is connected to the reset pin of the ESP8266 module. And this Brown cable is connected to the Flash pin of the ESP8266 module. Instead of these male to female cables, you can also use mechanical switches, I didn't have them so I am using the male to female cables like this. So when we wanted to program the module, we have to connect the Flash pin and Reset Pin with the Ground Pin. And when we start our programming process, we have to disconnect the reset pin from the ground as shown here. Before proceeding further make sure your module is connected to USB port and the old firmware is also working, you can check this with any serial terminal tool utility, in my case I prefer using HW Hercules. And I am sending AT command and module is responding with OK message, this confirms, that my WiFi module is working fine. Now, coming to the tools required. First we will download the flash tool from the ESPRESSIF website download sections (links are given in description section) And then we will download the latest AT firmware from the same section, which is v1.7.4 at this time. After downloading, extract both the folders and then start the "Flash Download Tool" as administrator. Click on Developer Mode. Then Click on ESP8266 Download Tool Make sure all these checkboxes are unchecked, and SPI Download tab is selected. This is very important step, first we have to determine which Flash is present on our module. Select the correct COM port and set baud rate as 115200, and connect Reset Pin and Flash pin of the module to ground. And Now press the Start Button. Now you will see some dashes on the screen, after few seconds, disconnect the reset line from ground. And now this Download Tool will detect some information from the module, which is Crystal Frequency which is 26MHz in my case, Flash size which 8Mbit in my case, and it also detected the MAC address in station mode and Access Point Modes. This is very important information. Now we will open the ESPRESSIF AT documentation pdf file. And search for section "Downloading AT Firmware into the Flash" Since, the module which I have is having 8Mbit flash, i will open that section of documentation, depending on what you get you can open the relevant section. And now we can see certain addresses here, and we will put these addresses in the "Flash Download Tool", which the corresponding binaries, and check all the check boxes. Once this is done, make sure your Reset Pin and Flash Pins are connected to ground, and now you have to press the start button. And one you start getting some dots and dashes, disconnect the reset line from the ground. And now the magic starts, your firmware is getting uploaded. Once the firmware is uploaded, you can disconnect the reset and flash pin from the ground and re-connect your module to the USB port to check if this is working or not. As you can see this is working in my case. I hope you like this video, in case you have some doubt please feel free to contact me. If you want me to make some other type of video, please let me know in comments section. Thank You guys... Thanks for watching.
Info
Channel: Embedded Laboratory
Views: 7,982
Rating: undefined out of 5
Keywords: Update AT Firmware, ESP8266 Firmware Update, ESP Flash Download Tool, Update Firmware to Latest Version, Update ESP8266 Firmware, ESPRESSIF Flash Download Tool
Id: wXXXgaePZX8
Channel Id: undefined
Length: 6min 1sec (361 seconds)
Published: Sat Feb 06 2021
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.