Hi…I’m sending AT command to the ESP8266 through “putty” and it works successfully. But after I burn a simple code into the ESP8266, the AT command no longer working from putty. May I know what should I do? Is it the firmware broken?
Thank you.
Hello Mike, I think you already know the answer, because you’ve closed the question.
But I’ll post an answer anyway. When you upload a firmware or a sketch to your ESP, it erases the AT firmware (that’s why will no longer answer the AT commands).
You can only have one firmware running at once:
- AT firmware
- Arduino IDE sketch
- MicroPython firmware
- Lua firmware
I hope that helps.
Regards,
Rui
Thanks for answering Rui, may I know the best way to re-program the AT firmware to the board again? Thanks again.
Hello again, the easiest way to flash a firmware to an ESP32/ESP8266 is using the esptool.py: https://github.com/espressif/esptool
In this Guide I show how to use the esptool.py to flash the ESP with MicroPtyhon firmware (you just need to flash the AT firmware instead). https://www.espressif.com/en/support/download/at
To be honest I think only 1% of users run the ESP with AT firmware, for most applications you can use the ESP as as standalone microcontroller.
You can use the esptool.py to flash the AT firmware.