Chat freely about anything...

User avatar
By RichardT
#71286 When trying to upload new sketch, fatal error occurs.

esptool.py v2.1
Connecting....
A fatal error occurred: Timed out waiting for packet header

Existing sketch and serial monitor are working fine. Pressing the flash button does not correct the upload failure. The LED flashes just before the fatal error message appears. Please advise on any resolution.
User avatar
By andre_teprom
#71301 Another question at this forum not well described, anyway, not detain me to respond - altough with a shot in the dark: A common mistake of my client was trying to upload the firmware in the module ESP8266 connected to the target equipment without the power source turned on, which caused the USB output of the computer to try to feed everything, obviously unsuccessfull.
User avatar
By rudy
#71304
The LED flashes just before the fatal error message appears.


The LED on the USB to serial converter or the LED on the ESP board? What kind of ESP board are you using?
User avatar
By RichardT
#71314 I apologize for not providing more details. The board is ESP8266 ESP-12E CH340G NodeMcu Lua. It is connected to Windows Arduino IDE through USB cable. The flash button is the button on the board. The LED is the LED on the board. Upload from IDE was working numerous times before. The existing sketch on the board and the serial monitor are still performing well.