esp not responding to AT commands and not flashable
Posted: Thu Dec 10, 2020 4:28 pm
Hello,
I bought an arduino beginer kit some years ago, and now that I have time (thx covid ) so i'm learning how to use it.
I played with the arduino uno, leds, serial, etc... and now I want to use my esp8266 (esp01) to play with my home Wifi. (with no idea on what I will do in the end).
So I plugged my esp to my computer via the arduino uno (in reset mode).
I can see in the serial the initialisation of the esp (and blue led light for 0,1 second) :
After that, I have no more communications with the esp. All AT commands I send makes no answer. And leds stay off. I red Somewhere that when we flash a custom program to the esp he doesn't respond anymore to AT commands, maybe the esp comes to me with a custom program ?
I can connect to the Wifi ssid "AI-THINKER_8F1852", created by the esp, but nothing else. In addition that's not really what I wanted, since i want the esp to connect to my existing home wifi.
So i decided to try to flash an official program, to enable the AT commands.
I followed 2 tutorials, very similar. the best of them was this one :
But I cannot get any result when the flasher try to "sync" with the esp :
I connected all esp pins as shown in the linked tutorial :
3.3V for vcc, ch_en;
GND for gnd, rst, io0
tx -> tx , rx -> rx (as the arduino is in reset mode) (I step down the RX to 3,3v with 3 resistors)
io2 unplugged
I have a feeling that the reset pin does nothing when I put it on GND for 2 seconds, and then unplug it.
To conclude :
I can't send AT commands
I can't flash a new software (one official)
So I don't know how to interract with the esp (except connect to his wifi, and then nothing)
Thank you for all advices, I hope my work with the esp will not stop now.
PS : i have some more information on serial when i plug the esp and immediately unplugged it. If that can help :
20:05:30.382 -> 2nd boot version : 1.5
20:05:30.382 -> SPI Speed : 40MHz
20:05:30.382 -> SPI Mode : DIO
20:05:30.382 -> SPI Flash Size & Map: 8Mbit(512KB+512KB)
20:05:30.382 -> jump to run user1 @ 1000
20:05:30.382 ->
20:05:30.429 -> Fatal exception 0(IllegalInstructionCause):
20:05:30.475 -> epc1=0x4020bc60, epc2=0x00000000, epc3=0x00000000, excvaddr=0x00000000, depc=0x00000000
20:05:30.475 ->
20:05:30.475 -> ets Jan 8 2013,rst cause:2, boot mode:(3,6)
I bought an arduino beginer kit some years ago, and now that I have time (thx covid ) so i'm learning how to use it.
I played with the arduino uno, leds, serial, etc... and now I want to use my esp8266 (esp01) to play with my home Wifi. (with no idea on what I will do in the end).
So I plugged my esp to my computer via the arduino uno (in reset mode).
I can see in the serial the initialisation of the esp (and blue led light for 0,1 second) :
After that, I have no more communications with the esp. All AT commands I send makes no answer. And leds stay off. I red Somewhere that when we flash a custom program to the esp he doesn't respond anymore to AT commands, maybe the esp comes to me with a custom program ?
I can connect to the Wifi ssid "AI-THINKER_8F1852", created by the esp, but nothing else. In addition that's not really what I wanted, since i want the esp to connect to my existing home wifi.
So i decided to try to flash an official program, to enable the AT commands.
I followed 2 tutorials, very similar. the best of them was this one :
- https://www.instructables.com/Flash-or-Upgrade-Firmware-on-ESP8266-ESP-01-Module/
But I cannot get any result when the flasher try to "sync" with the esp :
I connected all esp pins as shown in the linked tutorial :
3.3V for vcc, ch_en;
GND for gnd, rst, io0
tx -> tx , rx -> rx (as the arduino is in reset mode) (I step down the RX to 3,3v with 3 resistors)
io2 unplugged
I have a feeling that the reset pin does nothing when I put it on GND for 2 seconds, and then unplug it.
To conclude :
I can't send AT commands
I can't flash a new software (one official)
So I don't know how to interract with the esp (except connect to his wifi, and then nothing)
Thank you for all advices, I hope my work with the esp will not stop now.
PS : i have some more information on serial when i plug the esp and immediately unplugged it. If that can help :
20:05:30.382 -> 2nd boot version : 1.5
20:05:30.382 -> SPI Speed : 40MHz
20:05:30.382 -> SPI Mode : DIO
20:05:30.382 -> SPI Flash Size & Map: 8Mbit(512KB+512KB)
20:05:30.382 -> jump to run user1 @ 1000
20:05:30.382 ->
20:05:30.429 -> Fatal exception 0(IllegalInstructionCause):
20:05:30.475 -> epc1=0x4020bc60, epc2=0x00000000, epc3=0x00000000, excvaddr=0x00000000, depc=0x00000000
20:05:30.475 ->
20:05:30.475 -> ets Jan 8 2013,rst cause:2, boot mode:(3,6)