Closed delta010 closed 3 years ago
the FTDI usb ttl interface is a bad one. We know this on tasmota (github) too. Use an usb ttl adapter based on CH340, the only one whoch work with all types of boards. Look at ali express and you will find the links for the drivers too. For linux you have to setup your interface correctly. Also ask google for it.
I can't upload sketches using the USB, but I can do it by using an FTDI programmer while using the USB the Arduino ide show error
error: Sketch uses 257672 bytes (24%) of program storage space. Maximum is 1044464 bytes. Global variables use 26572 bytes (32%) of dynamic memory, leaving 55348 bytes for local variables. Maximum is 81920 bytes. esptool.py v2.6 2.6 esptool.py v2.6 Serial port /dev/ttyUSB0 Connecting......................................____Traceback (most recent call last): File "/home/alpha/.arduino15/packages/esp8266/hardware/esp8266/2.5.2/tools/upload.py", line 25, in
esptool.main(fakeargs)
File "/home/alpha/.arduino15/packages/esp8266/hardware/esp8266/2.5.2/tools/esptool/esptool.py", line 2653, in main
esp.connect(args.before)
File "/home/alpha/.arduino15/packages/esp8266/hardware/esp8266/2.5.2/tools/esptool/esptool.py", line 468, 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
How can I overcome this issue?