Community
OpenEnergyMonitor

Community

esptool.FatalError: Failed to connect to ESP8266: Timed out waiting for packet header error

Tags: #<Tag:0x00007f6e01931ba8>

hi. i am programing esp8266 with arduino for control led by blynk.
while i uploading, this error comes:
pls help how fix this.

    esptool.py v2.8
    Serial port COM3
    Connecting........_____....._____....._____....._____....._____....._____.....____Traceback (most recent call last):
      File "C:\Users\Webhouse\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.6.2/tools/upload.py", line 65, in <module>
    esptool.main(cmdline)
      File "C:/Users/Webhouse/AppData/Local/Arduino15/packages/esp8266/hardware/esp8266/2.6.2/tools/esptool\esptool.py", line 2890, in main
    esp.connect(args.before)
      File "C:/Users/Webhouse/AppData/Local/Arduino15/packages/esp8266/hardware/esp8266/2.6.2/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

circuit

Hi, welcome,

For future reference, when posting code or bash output, please put in 3 ‘backticks’ (found at the top left of the keyboard normally) on a line on their own, then the code, then 3 more backticks on a line following the code.

    ```
    code
    ```

If it is something like php you can add a language identifier that after the first 3 backticks so ```php

Please also just past image rather than links so they remain for posterity.

I’m sorry but this is not really an EmonCMS issue so you may be better asking on StackExchange or an ESP8266 forum.