我刚得到一个Wemos D1 Mini,并且尝试上载“ Blink”示例时,它给了我以下错误:
Arduino: 1.8.10 (Windows 10), Board: "LOLIN(WEMOS) D1 mini Lite, 80 MHz, Flash, Legacy (new can return nullptr), All SSL ciphers (most compatible), 1MB (FS:64KB OTA:~470KB), v2 Lower Memory, Disabled, None, Only Sketch, 921600"
fatal: not a git repository (or any of the parent directories): .git
Executable segment sizes:
IROM : 228328 - code in flash (default or ICACHE_FLASH_ATTR)
IRAM : 26564 / 32768 - code in IRAM (ICACHE_RAM_ATTR, ISRs...)
DATA : 1236 ) - initialized variables (global, static) in RAM/HEAP
RODATA : 1520 ) / 81920 - constants (global, static) in RAM/HEAP
BSS : 24896 ) - zeroed variables (global, static) in RAM/HEAP
Sketch uses 257648 bytes (26%) of program storage space. Maximum is 958448 bytes.
Global variables use 27652 bytes (33%) of dynamic memory, leaving 54268 bytes for local variables. Maximum is 81920 bytes.
esptool.py v2.7
Serial port COM4
Connecting....
Chip is ESP8266EX
Features: WiFi
Crystal is 26MHz
MAC: 38:2b:78:04:7a:c0
Uploading stub...
Running stub...
Stub running...
Changing baud rate to 460800
Traceback (most recent call last):
File "C:\Users\adiba\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.6.0/tools/upload.py", line 25, in <module>
esptool.main(fakeargs)
File "C:/Users/adiba/AppData/Local/Arduino15/packages/esp8266/hardware/esp8266/2.6.0/tools/esptool\esptool.py", line 2867, in main
esp.change_baud(args.baud)
File "C:/Users/adiba/AppData/Local/Arduino15/packages/esp8266/hardware/esp8266/2.6.0/tools/esptool\esptool.py", line 104, in inner
return func(*args, **kwargs)
File "C:/Users/adiba/AppData/Local/Arduino15/packages/esp8266/hardware/esp8266/2.6.0/tools/esptool\esptool.py", line 705, in change_baud
self.command(self.ESP_CHANGE_BAUDRATE, struct.pack('<II', baud, second_arg))
File "C:/Users/adiba/AppData/Local/Arduino15/packages/esp8266/hardware/esp8266/2.6.0/tools/esptool\esptool.py", line 347, in command
p = self.read()
File "C:/Users/adiba/AppData/Local/Arduino15/packages/esp8266/hardware/esp8266/2.6.0/tools/esptool\esptool.py", line 292, in read
return next(self._slip_reader)
File "C:/Users/adiba/AppData/Local/Arduino15/packages/esp8266/hardware/esp8266/2.6.0/tools/esptool\esptool.py", line 1999, in slip_reader
raise FatalError("Timed out waiting for packet %s" % waiting_for)
esptool.FatalError: Timed out waiting for packet header
esptool.FatalError: Timed out waiting for packet header
我已经下载了ESP8266
板驱动程序,并将http://arduino.esp8266.com/stable/package_esp8266com_index.json
放在其他板管理器URL中。
我的董事会图片:
我的设置的图像:
您是否尝试降低上传速度?