0

I have one ESP8266 01 and can not write blinking example on it, so I have made the below connection on it based on this video, but I get the below error:

enter image description here

Global variables use 27980 bytes (34%) of dynamic memory, leaving 53940 bytes for local variables. Maximum is 81920 bytes.
/home/so/.arduino15/packages/esp8266/tools/python3/3.7.2-post1/python3 /home/so/.arduino15/packages/esp8266/hardware/esp8266/3.0.1/tools/upload.py --chip esp8266 --port /dev/ttyUSB0 --baud 115200 --before default_reset --after hard_reset write_flash 0x0 /tmp/arduino_build_837432/Blink.ino.bin 
esptool.py v3.0
Serial port /dev/ttyUSB0
Connecting........_____....._____....._____....._____....._____....._____....._____
Traceback (most recent call last):
  File "/home/so/.arduino15/packages/esp8266/hardware/esp8266/3.0.1/tools/upload.py", line 66, in <module>
    esptool.main(cmdline)
  File "/home/so/.arduino15/packages/esp8266/hardware/esp8266/3.0.1/tools/esptool/esptool.py", line 3552, in main
    esp.connect(args.before, args.connect_attempts)
  File "/home/so/.arduino15/packages/esp8266/hardware/esp8266/3.0.1/tools/esptool/esptool.py", line 529, 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,

So guess it needs to use Arduino bootloader and flash the main Arduino codes on it. But I asked here for the others suggestion and comment.

Thanks.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.