
Wait! Don’t Go Yet! 👋
Become a Member Today and Unlock Access to All eBooks! 😍
Thousands of eBooks at your fingertips. Read, learn, and grow anytime, anywhere ✨

Become a Member Today and Unlock Access to All eBooks! 😍
Thousands of eBooks at your fingertips. Read, learn, and grow anytime, anywhere ✨

There are a few common problems with the ESP8266, especially when trying to flash new firmware or upload scripts. This is the ESP8266 troubleshooting guide.
Here's a compilation of the most common ESP8266 problems and how to fix them:
Where do I download the NodeMCU flasher?
Download the flasher for your Windows PC bit version by clicking the button that says “Raw” on the NodeMCU flasher GitHub repository:
Which settings should I use with the NodeMCU flasher?
By default, the NodeMCU flasher comes with the correct settings.
I highly recommend that you re-download the NodeMCU flasher if you have changed any of the settings.
Here are my current settings:

If you press the “Flash” button and nothing happens, It means one of these two things:

Problem 1: How to make your ESP go into flash mode:
If it’s still saying “Waiting MAC“, then try the following:
Steps 2 and 3 should be repeated many times until your ESP reboots, and hopefully the NodeMCU flasher will be able to recognize it and start the flashing process.
Problem 2: You may need to buy a new FTDI programmer or provide your ESP8266 with external power if your FTDI is unable to supply adequate current.
NodeMCU flasher gets stuck at a certain percentage

If this process fails, please repeat the procedure for the next baud rates (38400, 57600, 74880, and 115200).
At least 5 people had the same issue, and this trick solved it, although I don't know why. Therefore, I think it will flash 100% at a baud rate of 57600 or 115200. Since this is not very common, I am at a loss for a logical explanation.
How should the NodeMCU flasher look after a successful flash?

Unbricking the FTDI Programmer on a Windows PC
Visit this website for the official drivers: http://www.ftdichip.com/Drivers/VCP.htm if you have a fresh new FTDI Programmer and you need to install your FTDI drivers on Windows.
Contact the seller who sold you the FTDI Programmer as an option.
It's quite likely that FTDI is bricked if you're having trouble installing the drivers on Windows 7/8/8.1/10.
Follow this tutorial to fix that: https://youtu.be/SPdSKT6KdF8.
A man tells you to download the drivers from the FTDI website in the video I previously cited. To discover all the connections, carefully read the description of his video on YouTube. You need the following drivers: http://www.ftdichip.com/Drivers/CDM/CDM%20v2.12.00%20WHQL%20Certified.zip
ESPlorer IDE Error: Only one TCP server allowed
This means that you tried to upload multiple scripts, but your ESP is still running the old script on a web server. To fix it, you simply need to send these commands to delete all the files and restart your ESP:
You shouldn't see that error again if you upload the script again and name it ‘init.lua’.
and

This sounds like your ESP. It’s still in flash mode. How to make your ESP go into user mode:
If it’s still saying “Can’t autodetect firmware“, then try the following:
Until your ESP reboots, repeat steps 2 and 3 a few times so that the ESPlorer IDE may hopefully detect your ESP.
My code disappears when I restart the ESP8266
Your ESP does nothing if you restart it after uploading a script. It means there was a memory problem or that your ESP couldn't find the script.
This can be solved like this:
Before you start, make sure you check these two items:
Here’s what you can do to find the IP address:
Solution 1: Sending a command with the ESPlorer IDE
print(wifi.sta.getip()) with the ESPlorer IDE, and it should print your IP Address.
Solution 2: Install an IP Scanner Software
It found my ESP in my case. Now, I can see the ESP web server in my browser if I type 192.168.1.95.

When using the Arduino IDE, here's how to get your ESP to enter upload mode:
Please leave a comment so that I may update the ESP8266 troubleshooting guide with further problems and solutions.
If you like ESP8266, you may also like:
We hope you find this tutorial useful. Thanks for reading.
🚀 Discover the world of electronics and innovation!
✨ Create, program, and experiment with all your creative ideas with ease.
🔥 Don't wait! Browse SpotPear products now and start your amazing project!
