作者热门文章
- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我有一个 WeMos D1 Mini 。以下是董事会信息:
Arduino: 1.8.9 (Windows Store 1.8.21.0) (Windows 10), Board: "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, 115200"
Executable segment sizes:
IROM : 228360 - 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 257680 bytes (24%) of program storage space. Maximum is 1044464 bytes.
Global variables use 27652 bytes (33%) of dynamic memory, leaving 54268 bytes for local variables. Maximum is 81920 bytes.
esptool.py v2.8
Serial port COM5
Connecting....
Chip is ESP8266EX
Features: WiFi
Crystal is 26MHz
MAC: 38:2b:78:04:7a:c0
Uploading stub...
Running stub...
Stub running...
Configuring flash size...
Traceback (most recent call last):
File "C:\Users\adiba\OneDrive\Documents\ArduinoData\packages\esp8266\hardware\esp8266\2.6.1/tools/upload.py", line 69, in <module>
esptool.main(cmdline)
File "C:/Users/adiba/OneDrive/Documents/ArduinoData/packages/esp8266/hardware/esp8266/2.6.1/tools/esptool\esptool.py", line 2933, in main
detect_flash_size(esp, args)
File "C:/Users/adiba/OneDrive/Documents/ArduinoData/packages/esp8266/hardware/esp8266/2.6.1/tools/esptool\esptool.py", line 2241, in detect_flash_size
flash_id = esp.flash_id()
File "C:/Users/adiba/OneDrive/Documents/ArduinoData/packages/esp8266/hardware/esp8266/2.6.1/tools/esptool\esptool.py", line 607, in flash_id
return self.run_spiflash_command(SPIFLASH_RDID, b"", 24)
File "C:/Users/adiba/OneDrive/Documents/ArduinoData/packages/esp8266/hardware/esp8266/2.6.1/tools/esptool\esptool.py", line 853, in run_spiflash_command
old_spi_usr = self.read_reg(SPI_USR_REG)
File "C:/Users/adiba/OneDrive/Documents/ArduinoData/packages/esp8266/hardware/esp8266/2.6.1/tools/esptool\esptool.py", line 490, in read_reg
val, data = self.command(self.ESP_READ_REG, struct.pack('<I', addr))
File "C:/Users/adiba/OneDrive/Documents/ArduinoData/packages/esp8266/hardware/esp8266/2.6.1/tools/esptool\esptool.py", line 347, in command
p = self.read()
File "C:/Users/adiba/OneDrive/Documents/ArduinoData/packages/esp8266/hardware/esp8266/2.6.1/tools/esptool\esptool.py", line 292, in read
return next(self._slip_reader)
File "C:/Users/adiba/OneDrive/Documents/ArduinoData/packages/esp8266/hardware/esp8266/2.6.1/tools/esptool\esptool.py", line 2045, 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
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
最佳答案
我收到同样的错误,我的解决方案是:
关于arduino - WeMos D1 Mini esptool.FatalError : Timed out waiting for packet header,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/58945245/
我最近尝试在 ESP8266 板上加载 MicroPython,但失败了。为此,我必须安装 esptool。我成功安装了它,但是当我想使用它时,它不起作用。 例如, esptool.py --help
我有一个 WeMos D1 Mini 。以下是董事会信息: Arduino: 1.8.9 (Windows Store 1.8.21.0) (Windows 10), Board: "LOLIN(WE
我是一名优秀的程序员,十分优秀!