ESP12E timed out waiting for packet header
Posted: Sat Dec 12, 2020 1:15 pm
Hey all,
I ran into a problem even Google did not help me to solve. Therefore I hope someone of you can help me out of my misery.
My brother and me are trying to solve this for over a week now and are slowly getting to a quite desperate point.
What I bought:
We have connected the ESP module and the Serial-Converter following Method 2 in this Tutorial:
https://www.hackster.io/brian-lough/3-s ... ule-c514ee
In the Arduino IDE 1.8.9 our Settings are:
I am powering my ESP12E through an external power supply. I even measured the current with an oscilloscope an currently have about 3.25 V at the module.
When booting the ESP Module the blue LED starts to blink slowly. After putting it into the flash-mode by hitting the flash and reset button like show in the tutorial above the LED is turned off.
I hope that is how it is supposed to act.
My problem is:
When trying to upload the "blink.ino" example via the Arduino IDE 1.8.9 always the same error occures:
Also when looking into the serial monitor of the Arduino IDE nothing appears. As I´ve read so far there should be at least a bootup message. In my case there is nothing but a white window.
I also downloaded the nodemcu-flasher software and the espressif flash-download-tool.
Both of them are not able to flash the module like it was the Arduino IDE before.
The nodemcu-flasher does not recognize the mac adress of the ESP12E and the espressif flash-download-tool isn´t able to sync to the module.
I would highly appreciate if someone could give me advice on how to solve my problem an flash something on my new bought module.
I ran into a problem even Google did not help me to solve. Therefore I hope someone of you can help me out of my misery.
My brother and me are trying to solve this for over a week now and are slowly getting to a quite desperate point.
What I bought:
- a ESP12E module (https://www.christians-shop.de/ESP8266- ... kompatibel)
- a CP2102 Serial Converter (https://www.christians-shop.de/Seriell- ... 3V-Adapter)
We have connected the ESP module and the Serial-Converter following Method 2 in this Tutorial:
https://www.hackster.io/brian-lough/3-s ... ule-c514ee
In the Arduino IDE 1.8.9 our Settings are:
- Board: "Generic ESP8266 Module"
- Upload Speed: 115200
- Flash Mode: DIO
- Reset Method: no dtr (aka ck)
- Port: COM 7 (as shown in the Windows device manager)
I am powering my ESP12E through an external power supply. I even measured the current with an oscilloscope an currently have about 3.25 V at the module.
When booting the ESP Module the blue LED starts to blink slowly. After putting it into the flash-mode by hitting the flash and reset button like show in the tutorial above the LED is turned off.
I hope that is how it is supposed to act.
My problem is:
When trying to upload the "blink.ino" example via the Arduino IDE 1.8.9 always the same error occures:
Code: Select all
"C:\\Users\\Dominik\\AppData\\Local\\Arduino15\\packages\\esp8266\\tools\\xtensa-lx106-elf-gcc\\2.5.0-4-b40a506/bin/xtensa-lx106-elf-size" -A "C:\\Users\\Dominik\\AppData\\Local\\Temp\\arduino_build_438012/Blink.ino.elf"
Der Sketch verwendet 257332 Bytes (24%) des Programmspeicherplatzes. Das Maximum sind 1044464 Bytes.
Globale Variablen verwenden 26816 Bytes (32%) des dynamischen Speichers, 55104 Bytes für lokale Variablen verbleiben. Das Maximum sind 81920 Bytes.
C:\Users\Dominik\AppData\Local\Arduino15\packages\esp8266\tools\python3\3.7.2-post1/python3 C:\Users\Dominik\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.7.4/tools/upload.py --chip esp8266 --port COM7 --baud 115200 --before default_reset --after hard_reset write_flash 0x0 C:\Users\Dominik\AppData\Local\Temp\arduino_build_438012/Blink.ino.bin
esptool.py v2.8
Serial port COM7
Connecting........_____....._____....._____....._____....._____....._____.....____Traceback (most recent call last):
File "C:\Users\Dominik\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.7.4/tools/upload.py", line 65, in <module>
esptool.main(cmdline)
File "C:/Users/Dominik/AppData/Local/Arduino15/packages/esp8266/hardware/esp8266/2.7.4/tools/esptool\esptool.py", line 2890, in main
esp.connect(args.before)
File "C:/Users/Dominik/AppData/Local/Arduino15/packages/esp8266/hardware/esp8266/2.7.4/tools/esptool\esptool.py", line 483, in connect
raise FatalError('Failed to connect to %s: %s' % (self.CHIP_NAME, last_error))
esptool.FatalError: Failed to connect to ESP8266: Timed out waiting for packet header
esptool.FatalError: Failed to connect to ESP8266: Timed out waiting for packet header
_
Also when looking into the serial monitor of the Arduino IDE nothing appears. As I´ve read so far there should be at least a bootup message. In my case there is nothing but a white window.
I also downloaded the nodemcu-flasher software and the espressif flash-download-tool.
Both of them are not able to flash the module like it was the Arduino IDE before.
The nodemcu-flasher does not recognize the mac adress of the ESP12E and the espressif flash-download-tool isn´t able to sync to the module.
I would highly appreciate if someone could give me advice on how to solve my problem an flash something on my new bought module.