NodeMCU Flasher tool is flashing the NodeMCU Firmware to ESP8266 Easily. This tool is developed by NodeMCU. Flashing firmware to an ESP8266-based NodeMCU board involves updating the firmware on the microcontroller to enable it to execute the desired code. Here’s a step-by-step guide on how to flash firmware to an ESP8266 NodeMCU using the ESP8266Flasher tool. Please note that you’ll need a USB-to-Serial converter or USB-based development board for this process.
Contents
Prerequisites:
- Download Firmware:
- Download the NodeMCU firmware from the official NodeMCU firmware repository: NodeMCU Firmware
- Select the firmware binary that suits your needs. For most users, the
integer
version is recommended.
- Download ESP8266Flasher Tool:
- Download the ESP8266Flasher tool from the official GitHub repository: ESP8266Flasher
- Download the latest release and extract the files.
- Install USB-to-Serial Drivers:
- Ensure you have the necessary USB-to-Serial drivers installed on your computer. The specific driver depends on the chip used in your USB-to-Serial converter.
Required
- ESP8266 (Any module)
- USB to UART Programmer or Arduino Uno Board or USB-based development board
- NodeMCU Flasher Programmer
- Some wire(May require)
- NodeMCU Firmware (.bin file)
Flashing Procedure
Let’s start the ESP8266 NodeMCU Flash Firmware steps
Connect Hardware
- Connect your NodeMCU board to your computer using a USB-to-Serial converter or USB.
- Make sure you’ve identified the TX, RX, GND, and 3V3 pins on the NodeMCU and connect them to the corresponding pins on the USB-to-Serial converter or USB.
Connection Diagram
Here we have shown regards different types of ESP8266 wiring setups. Based on your module connect the hardware
ESP-01 Module with Arduino Uno board as Programmer
ESP-01 Module with CP2102 FTDI Programmer
ESP-07 to FDTI Programmer to PC
ESP-07 Module with FDTI Programmer
ESP-12 Module with FDTI Programmer
Open ESP8266Flasher
- Go to the NodeMCU Flasher Programmer tool folder and open ESP8266Flasher.exe
- Run the ESP8266Flasher executable
Configure ESP8266Flasher
- Click the Config tab
- Click on Gear Icon to open the settings
- Browse to the firmware file you downloaded earlier.
Note: Don’t set any offset memory address in the config tab, Leave the default value 0x00000
- Upload the NodeMCU Custom firmware into NodeMCU Flasher Tool
- Uploaded file in path with green background, Set offset as 0x00000
- Select the COM port to which your NodeMCU is connected (Make sure the correct COM pot of the ESP8266 USB port is detected)
- In my case COM is 7 When I use one ESP8266 Module, It May Change when using Different ESP8266and Different USB PORTs
Configure NodeMCU
- Press and hold the “Flash” button on the NodeMCU.
- While holding the “Flash” button, press and release the “Reset” button.
- Release the “Flash” button.
Flash Firmware
- Click the “Flash” button in the ESP8266Flasher tool. The flashing process will start, and you’ll see progress in the status bar.
- Wait a moment when finish the firmware flash (Green Tick will see if the process is successful)
Verify
- Once the flashing is complete, the NodeMCU board will automatically reset.
- You can open a serial monitor using tools like Arduino IDE or PuTTY to verify that the firmware has been successfully flashed.
Now, your NodeMCU board should be running the new firmware, and you can start uploading your Lua or Arduino code to it. Ensure that the baud rate is set correctly when connecting to the serial monitor.
For beginners to recommend use the NodeMCU Flasher.
NodeMCU Flasher Programmer Note
- Tips: You could use some special path to do something interesting.
- The blank.bin file: INTERNAL://BLANK
- The esp_init_data_default.bin file(for 26MHz crystal): INTERNAL://DEFAULT
NodeMCU Flasher Programmer Troubleshoot Guide
- When the path has some error(e.g. file does not exist), the line will become red. (Green shows when the correct path file is present )
What is the meaning of Red symbol when flash finished
This red mark only present when the flash not finished. Check the correct COM port and make sure GPIO-0 Should be Low mode
FAQ
- What is the NodeMCU Flasher tool?
- How to Download the NodeMCU Flasher Tool?
- Using this link: NodeMCU-Flasher
- Which platform PC devices support the NodeMCU Flasher tool?
- Windows
- Can I update firmware using the NodeMCU Flasher tool into any kind of ESP8266 Modules
- Yes, you can do that.
- Why firmware not updated in ESP8266?
- Make sure you enabled GPIO-0 Should be Low
- Which firmware is best to upload to ESP8266 (Float/integer)?
- Always commanded to flash the float type firmware because for float type calculation and also precision process works well with float firmware