ESP32-LyraT V4.3 烧录hello-world提示erial.serialutil.SerialException: device reports readiness to read but returned no data

harlenfeng
Posts: 3
Joined: Mon Oct 25, 2021 6:59 am

ESP32-LyraT V4.3 烧录hello-world提示erial.serialutil.SerialException: device reports readiness to read but returned no data

Postby harlenfeng » Mon Oct 25, 2021 7:01 am

Serial port /dev/cu.SLAB_USBtoUART
Connecting...
Traceback (most recent call last):
File "/Users/harlenfeng/Work/esp/esp-idf/components/esptool_py/esptool/esptool.py", line 4535, in <module>
_main()
File "/Users/harlenfeng/Work/esp/esp-idf/components/esptool_py/esptool/esptool.py", line 4528, in _main
main()
File "/Users/harlenfeng/Work/esp/esp-idf/components/esptool_py/esptool/esptool.py", line 4027, in main
esp = esp or get_default_connected_device(ser_list, port=args.port, connect_attempts=args.connect_attempts,
File "/Users/harlenfeng/Work/esp/esp-idf/components/esptool_py/esptool/esptool.py", line 121, in get_default_connected_device
_esp.connect(before, connect_attempts)
File "/Users/harlenfeng/Work/esp/esp-idf/components/esptool_py/esptool/esptool.py", line 583, in connect
last_error = self._connect_attempt(mode=mode, esp32r0_delay=False)
File "/Users/harlenfeng/Work/esp/esp-idf/components/esptool_py/esptool/esptool.py", line 552, in _connect_attempt
self.sync()
File "/Users/harlenfeng/Work/esp/esp-idf/components/esptool_py/esptool/esptool.py", line 483, in sync
val, _ = self.command(self.ESP_SYNC, b'\x07\x07\x12\x20' + 32 * b'\x55',
File "/Users/harlenfeng/Work/esp/esp-idf/components/esptool_py/esptool/esptool.py", line 432, in command
p = self.read()
File "/Users/harlenfeng/Work/esp/esp-idf/components/esptool_py/esptool/esptool.py", line 377, in read
return next(self._slip_reader)
File "/Users/harlenfeng/Work/esp/esp-idf/components/esptool_py/esptool/esptool.py", line 2970, in slip_reader
read_bytes = port.read(1 if waiting == 0 else waiting)
File "/Users/harlenfeng/.espressif/python_env/idf4.3_py3.8_env/lib/python3.8/site-packages/serial/serialposix.py", line 595, in read
raise SerialException(
serial.serialutil.SerialException: device reports readiness to read but returned no data (device disconnected or multiple access on port?)
CMake Error at run_serial_tool.cmake:50 (message):
/Users/harlenfeng/.espressif/python_env/idf4.3_py3.8_env/bin/python
/Users/harlenfeng/Work/esp/esp-idf/components/esptool_py/esptool/esptool.py
--chip esp32 failed

Who is online

Users browsing this forum: No registered users and 52 guests