- Thu Sep 03, 2015 5:19 am
#27697
Hello,
I had exactly the same problem, able to program the esp but no single line of code was executed and the esp was just reseting in a loop. I've tried everything from changing the power supply, flashing bigger code, small blink example, adding capacitor, ... nothing had worked.
But I then succeed to bring the esp back to life thanks to this command:
python esptool.py --port COM5 --baud 76800 erase_flash
It seems that esptool.exe is not capable of doing this, here are the instruction for windows user:
-install Python 2.7 (2.7.9 I believe in my case), do not use Python 3.x, there seems to be some problem.
-download esptool.py
https://github.com/themadinventor/esptool and put it in a local directory
-open a terminal in the directory where esptool.py is located
-run the command ( change the port according to your serial COM port)
Code: Select allpython esptool.py --port COM5 --baud 76800 erase_flash
-You should now be able to flash and use your ESP as before (I use Arduino IDE to flash it, and had reflash at least 40 or 50 times without success before using this flash erase technique).
Source:
https://github.com/esp8266/Arduino/issu ... t-96399149I hope you'll be able to play with your ESP again thanks to that