乐鑫技术交流
直播中

李玉兰

7年用户 1484经验值
私信 关注
[问答]

为什么无法刷入NodeMCU v3 Lua?

你好。我有一个新的 NodeMCU v3。我正在尝试使用 ESPLorer/PyFlasher/ESP8266Flasher/Arduino IDE 对其进行刷写。但什么也没发生。在 ESPLorer 中,当我尝试打开 COM 端口时崩溃。PyFlasher 和 ESP8266 卡在连接上。在 Arduino IDE 中我有这个错误
代码:全选esptool.py v3.0
Serial port COM11
Connecting....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
.



更多回帖

发帖
×
20
完善资料,
赚取积分