你好。我有一个新的 NodeMCU v3。我正在尝试使用 ESPLorer/PyFlasher/ESP8266Flasher/Arduino IDE 对其进行刷写。但什么也没发生。在 ESPLorer 中,当我尝试打开 COM 端口时崩溃。PyFlasher 和 ESP8266 卡在连接上。在 Arduino IDE 中我有这个错误
代码:
全选esptool.py v3.0
Serial port COM11
Connec
ting....Traceback (most recent call last):
File "C:\Users\Seeroy\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2/tools/upload.py", line 66, in
esptool.main(cmdline)
File "C:/Users/Seeroy/AppData/Local/Arduino15/packages/esp8266/hardware/esp8266/3.0.2/tools/esptool\esptool.py", line 3552, in main
esp.connect(args.before, args.connect_attempts)
File "C:/Users/Seeroy/AppData/Local/Arduino15/packages/esp8266/hardware/esp8266/3.0.2/tools/esptool\esptool.py", line 519, in connect
last_error = self._connect_attempt(mode=mode, esp32r0_delay=False)
File "C:/Users/Seeroy/AppData/Local/Arduino15/packages/esp8266/hardware/esp8266/3.0.2/tools/esptool\esptool.py", line 499, in _connect_attempt
self.sync()
File "C:/Users/Seeroy/AppData/Local/Arduino15/packages/esp8266/hardware/esp8266/3.0.2/tools/esptool\esptool.py", line 438, in sync
timeout=SYNC_TIMEOUT)
File "C:/Users/Seeroy/AppData/Local/Arduino15/packages/esp8266/hardware/esp8266/3.0.2/tools/esptool\esptool.py", line 376, in command
self.write(pkt)
File "C:/Users/Seeroy/AppData/Local/Arduino15/packages/esp8266/hardware/esp8266/3.0.2/tools/esptool\esptool.py", line 339, in write
self._port.write(buf)
File "C:/Users/Seeroy/AppData/Local/Arduino15/packages/esp8266/hardware/esp8266/3.0.2/tools/pyserial\serial\serialwin32.py", line 325, in write
raise SerialTimeoutException('Write timeout')
serial.serialutil.SerialTimeoutException: Write timeout
.