How to Flash ESP-01 Firmware to the Improved SDK v2.0.0

Despite the difficulty of updating the firmware in modules like the ESP-01, the ESP8266 microcontroller with built-in Wi-Fi has become extremely popular among electronic designers. Now, thanks to more information and better tools, the flashing process is significantly easier, and SDK v2.0.0 adds new capabilities.
flashing_circuit_assembly

Introduction

The success of the ESP8266 from Espressif Systems is undeniable. It is aĀ powerful microcontroller with built-in Wi-Fi capabilitiesĀ and is readily adaptable to a multitude of uses in the rapidly growing IoT (Internet of Things). One of the few difficulties toĀ using the IC has been updating the firmware in the thousands and thousands of development modules that have permeated the market. Judging by the large number of comments posted, this article on All About Circuits has been a help to many. However,Ā the passage of time has revealed some corrections andĀ improvements needed in the information that was providedĀ in October of 2015, and presenting that information is the goal of this article.

Specifically, the following improvements will be addressed:

  • a better flashing circuit
  • an easier-to-use terminal program
  • a revised Flash Download Tool
  • updated SDK v2.0.0 ESP8266 firmware

Taken collectively, and supported by better documentation from Espressif, these changes will streamline the firmware flashing process, and increase the ESP8266's usability to both hobbyists and professional designers.

As a note, this article is a successor to a previous versionĀ that was published in October of 2015. You may want to peruse that article for some worthwhile background information.

The Flashing Circuit

An improved flashing circuit for the ESP-01 module is shown in the following schematic diagram; several changes have been made to the original design:

  1. The 3.3VDC power is no longer taken from the USB-to-TTL converter. Some converters do not provide sufficient current to properly drive the ESP8266, especially when it is in the Wi-Fi transmitting mode. A separate, well-filtered and regulated 3.3VDC supply capable of supplying at least 500mA should be used.
  2. Capacitors C1 and C2 have been added to provide noise reduction on the power bus. They should be located as close as possible to the Gnd and Vcc pins on the ESP8266.
  3. R2Ā and R3 are pullup resistors that were added to ensure thatĀ theĀ GPIO2Ā and GPIO0 pins on the ESP8266 are never allowed to float.

These changes do not indicate that the original flashing circuit was nonfunctional; the fact is that it did work for the author and for many other users. However, its shortcomings were such that the circuit could and did fail for some users at least some of the time. These failures could have been due to differences in environmental factors, power supply quality, and/or component tolerances. The improvedĀ circuit should eliminate those weaknesses.

Read More: How to Flash ESP-01 Firmware to the KImproved SD v2.0.0


About The Author

Ibrar Ayyub

I am an experienced technical writer holding a Master's degree in computer science from BZU Multan, Pakistan University. With a background spanning various industries, particularly in home automation and engineering, I have honed my skills in crafting clear and concise content. Proficient in leveraging infographics and diagrams, I strive to simplify complex concepts for readers. My strength lies in thorough research and presenting information in a structured and logical format.

Follow Us:
LinkedinTwitter

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top