请问在vscode+pio环境开发esp-wrrom-32遇到这种下载问题怎么解决?

Allinvain_OwO
Posts: 1
Joined: Mon Sep 12, 2022 1:32 am

请问在vscode+pio环境开发esp-wrrom-32遇到这种下载问题怎么解决?

Postby Allinvain_OwO » Mon Sep 12, 2022 1:40 am

请问在vscode+pio环境开发esp-wrrom-32遇到这种下载问题怎么解决?

Traceback (most recent call last):
File "C:\Users\lenovo\.platformio\packages\tool-esptoolpy\esptool.py", line 5387, in <module>
_main()
File "C:\Users\lenovo\.platformio\packages\tool-esptoolpy\esptool.py", line 5380, in _main
main()
File "C:\Users\lenovo\.platformio\packages\tool-esptoolpy\esptool.py", line 4687, in main
esp = esp or get_default_connected_device(ser_list, port=args.port, connect_attempts=args.connect_attempts,
File "C:\Users\lenovo\.platformio\packages\tool-esptoolpy\esptool.py", line 115, in get_default_connected_device
_esp.connect(before, connect_attempts)
File "C:\Users\lenovo\.platformio\packages\tool-esptoolpy\esptool.py", line 664, in connect
last_error = self._connect_attempt(mode=mode, usb_jtag_serial=usb_jtag_serial, extra_delay=extra_delay)
File "C:\Users\lenovo\.platformio\packages\tool-esptoolpy\esptool.py", line 629, in _connect_attempt
self.sync()
File "C:\Users\lenovo\.platformio\packages\tool-esptoolpy\esptool.py", line 519, in sync
val, _ = self.command(self.ESP_SYNC, b'\x07\x07\x12\x20' + 32 * b'\x55',
File "C:\Users\lenovo\.platformio\packages\tool-esptoolpy\esptool.py", line 458, in command
self.write(pkt)
File "C:\Users\lenovo\.platformio\packages\tool-esptoolpy\esptool.py", line 421, in write
self._port.write(buf)
File "C:\Users\lenovo\.platformio\penv\lib\site-packages\serial\serialwin32.py", line 325, in write
raise SerialTimeoutException('Write timeout')
serial.serialutil.SerialTimeoutException: Write timeout
*** [upload] Error 1

Who is online

Users browsing this forum: No registered users and 5 guests