Recently, I flashed the Mongoose OS firmware on my NodeMCU microcontroller which is based on the ESP8266. Mongoose OS is an open-source Operating System for the Internet of Things (IoT). Supported microcontrollers: CC3220, CC3200, ESP32, ESP8266. To know more about Mongoose OS and how to use it, click here. Earlier I was using the Arduino IDE to program the ESP8266. So after flashing Mongoose OS firmware, I was stuck and wanted to go back to default firmware. I searched the web and on YouTube to find anything on how to reset NodeMCU to its default firmware but couldn’t find any guide explaining the correct solution.
And that’s the reason why I am writing this post to help all those stuck with other firmware (Lua, Mongoose etc.) and want to go back. For those of you, it’s very easy and I am sharing this solution after flashing several other .bin files. So let’s get started.
Reset NodeMCU V3 to Stock Firmware by AI-Thinker
1. Things You will need
1.1 Hardware Components
- NodeMCU ESP8266 Module
- Micro USB Cable
Flashing Stock Firmware on ESP8266 (NodeMCU)
Step 1. First, download the ESP8266 Flasher and the Stock firmware file for your ESp8266 module and then connect the ESP8266 module to your PC/Laptop using a micro USB cable.
If you have chosen the right COM port and right binary, it will be flashed within 5-10 minutes. After that you will be able to use Arduino IDE to upload codes to your NodeMCU (ESP8266) module and program it for the next best IoT device.
If this guide helped you, consider sharing this post. Subscribe to our newsletter for more upcoming guides on IoT projects that I will be building.