LilyGO / LILYGO-T-OI

34 stars 7 forks source link

T-OI problem uploading the sketch #15

Open JuriShalkin opened 2 years ago

JuriShalkin commented 2 years ago

I have several T-OI samples and they all have the same problem. When I try to upload a sketch, I get an error message:

Arduino: 1.8.1 (Windows 7), Плата:"LOLIN(WEMOS) D1 R2 & mini, 80 MHz, Flash, Legacy (new can return nullptr), All SSL ciphers (most compatible), 4MB (FS:2MB OTA:~1019KB), v2 Lower Memory, Disabled, None, Only Sketch, 921600" Traceback (most recent call last): File "C:\Users\Gamer\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.7.1/tools/upload.py", line 65, in esptool.main(cmdline) File "C:/Users/Gamer/AppData/Local/Arduino15/packages/esp8266/hardware/esp8266/2.7.1/tools/esptool\esptool.py", line 2890, in main esp.connect(args.before) File "C:/Users/Gamer/AppData/Local/Arduino15/packages/esp8266/hardware/esp8266/2.7.1/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

Only one of the 3 T-OIs sometimes flashes successfully. Drivers for CH341 are installed from github. Replacing the usb cable and changing the port does not help.