Troubleshooting Guide For The ESP8266
Troubleshooting Guide For The ESP8266
The ESP8266 has a few common issues, especially when you are trying to
flash a new firmware or uploading scripts.
Go to the NodeMCU flasher GitHub repository and download the flasher for
your Windows PC bit version by clicking the button that says “Raw”:
The NodeMCU flasher already comes with the right settings by default.
If you have changed some of the settings, I highly recommend that you
redownload the NodeMCU flasher.
Here’s my current settings:
If you pressed the “Flash” button and nothing happens… It means one of
these two things:
Repeat steps 2 and 3 a few times until your ESP reboots and hopefully the
NodeMCU flasher can detect your ESP and start the flashing process.
Problem 2 – If your FTDI can’t supply enough current, you might need to buy
a new FTDI programmer or power your ESP8266 with an external power
supply.
If this process fails, please repeat the same procedure for the next baud rates
(38400, 57600, 74880 and 115200).
I don’t know why, but at least 5 people faced the same problem and this trick
solved it. So at a baud rate of 57600 or 115200 I think it will flash 100%. I
don’t have any logical explanation, since this is not very common.
If you have a brand new FTDI Programmer and you need to install your FTDI
drivers on Windows, visit this website for the official drivers:
http://www.ftdichip.com/Drivers/VCP.htm.
In alternative, you can contact the seller that sold you the FTDI Programmer.
In the video I mentioned earlier, the guy tells you to download the drivers
from the FTDI website, read carefully the YouTube description of his video
to find all the links. Here’s the drivers you
need: http://www.ftdichip.com/Drivers/CDM/CDM%20v2.12.00%20WH
QL%20Certified.zip
ESPlorer IDE Troubleshooting
This means that you tried to upload multiple scripts and you ESP is still
running the old script with a web server. To fix it, you simply need to send
these commands to delete all the files and restart your ESP:
1. file.format()
2. node.restart()
Upload the script again and name it ‘init.lua’ and you shouldn’t see that error
again.
If it’s still saying “can’t autodetect firmware”, then try the following:
Repeat steps 2 and 3 a few times until your ESP reboots and hopefully the
ESPlorer IDE can detect your ESP.
If you upload a script to your ESP and when you restart it your ESP doesn’t
do anything. It means that your ESP couldn’t find the script or it occurred a
memory issue.
1. You didn’t save your script with this exact name ‘init.lua’. Re-uploading
the same script, but with the ‘init.lua’ name should solve your problem
2. It can be a memory issue. Re-flashing the ESP with NodeMCU flasher
usually solves that problem
#4 - Finding the ESP8266 IP Address
Before you start make sure you check these two items:
1. Verify that the script uploaded to your ESP has the right network
credentials
2. Make sure your ESP is near your router
How to make your ESP go into upload mode when using the Arduino IDE:
-Rui Santos