ESP32-S3-EYE烧录过程中报错
Posted: Fri Jul 15, 2022 5:13 am
我原本可以顺利的进行程序的编译和烧录,但从昨天起,烧录过程中突然开始开始报错。
报错的同时系统会发出USB设备移除的提示音,请问我应该如何解决此问题?
错误的提示内容如下:
Traceback (most recent call last):
File "D:/Espressif/frameworks/esp-idf-v4.4.1/components/esptool_py/esptool/esptool.py", line 468, in command
p = self.read()
File "D:/Espressif/frameworks/esp-idf-v4.4.1/components/esptool_py/esptool/esptool.py", line 413, in read
return next(self._slip_reader)
File "D:/Espressif/frameworks/esp-idf-v4.4.1/components/esptool_py/esptool/esptool.py", line 3540, in slip_reader
raise FatalError(msg)
__main__.FatalError: Serial data stream stopped: Possible serial noise or corruption.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "D:/Espressif/frameworks/esp-idf-v4.4.1/components/esptool_py/esptool/esptool.py", line 5347, in <module>
_main()
File "D:/Espressif/frameworks/esp-idf-v4.4.1/components/esptool_py/esptool/esptool.py", line 5340, in _main
main()
File "D:/Espressif/frameworks/esp-idf-v4.4.1/components/esptool_py/esptool/esptool.py", line 4772, in main
operation_func(esp, args)
File "D:/Espressif/frameworks/esp-idf-v4.4.1/components/esptool_py/esptool/esptool.py", line 3978, in write_flash
esp.flash_block(block, seq)
File "D:/Espressif/frameworks/esp-idf-v4.4.1/components/esptool_py/esptool/esptool.py", line 801, in flash_block
self.check_command("write to target Flash after seq %d" % seq,
File "D:/Espressif/frameworks/esp-idf-v4.4.1/components/esptool_py/esptool/esptool.py", line 495, in check_command
val, data = self.command(op, data, chk, timeout=timeout)
File "D:/Espressif/frameworks/esp-idf-v4.4.1/components/esptool_py/esptool/esptool.py", line 484, in command
self._port.timeout = saved_timeout
File "D:\Espressif\python_env\idf4.4_py3.8_env\lib\site-packages\serial\serialutil.py", line 372, in timeout
self._reconfigure_port()
File "D:\Espressif\python_env\idf4.4_py3.8_env\lib\site-packages\serial\serialwin32.py", line 222, in _reconfigure_port
raise SerialException(
serial.serialutil.SerialException: Cannot configure port, something went wrong. Original message: PermissionError(13, '设备不识别此命令。', None, 22)
CMake Error at run_serial_tool.cmake:56 (message):
D:/Espressif/python_env/idf4.4_py3.8_env/Scripts/python.exe
D:/Espressif/frameworks/esp-idf-v4.4.1/components/esptool_py/esptool/esptool.py
--chip esp32s3 failed
FAILED: CMakeFiles/flash
cmd.exe /C "cd /D D:\Espressif\frameworks\esp-idf-v4.4.1\components\esptool_py && D:\Espressif\tools\cmake\3.20.3\bin\cmake.exe -D IDF_PATH="D:/Espressif/frameworks/esp-idf-v4.4.1" -D SERIAL_TOOL="D:/Espressif/python_env/idf4.4_py3.8_env/Scripts/python.exe D:/Espressif/frameworks/esp-idf-v4.4.1/components/esptool_py/esptool/esptool.py --chip esp32s3" -D SERIAL_TOOL_ARGS="--before=default_reset --after=hard_reset --no-stub write_flash @flash_args" -D WORKING_DIRECTORY="D:/COURSE_FILES/esp32_s3/esp-who/examples/human_face_detection/lcd/build" -P D:/Espressif/frameworks/esp-idf-v4.4.1/components/esptool_py/run_serial_tool.cmake"
ninja: build stopped: subcommand failed.
ninja failed with exit code 1
PS D:\COURSE_FILES\esp32_s3\esp-who\examples\human_face_detection\lcd>
报错的同时系统会发出USB设备移除的提示音,请问我应该如何解决此问题?
错误的提示内容如下:
Traceback (most recent call last):
File "D:/Espressif/frameworks/esp-idf-v4.4.1/components/esptool_py/esptool/esptool.py", line 468, in command
p = self.read()
File "D:/Espressif/frameworks/esp-idf-v4.4.1/components/esptool_py/esptool/esptool.py", line 413, in read
return next(self._slip_reader)
File "D:/Espressif/frameworks/esp-idf-v4.4.1/components/esptool_py/esptool/esptool.py", line 3540, in slip_reader
raise FatalError(msg)
__main__.FatalError: Serial data stream stopped: Possible serial noise or corruption.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "D:/Espressif/frameworks/esp-idf-v4.4.1/components/esptool_py/esptool/esptool.py", line 5347, in <module>
_main()
File "D:/Espressif/frameworks/esp-idf-v4.4.1/components/esptool_py/esptool/esptool.py", line 5340, in _main
main()
File "D:/Espressif/frameworks/esp-idf-v4.4.1/components/esptool_py/esptool/esptool.py", line 4772, in main
operation_func(esp, args)
File "D:/Espressif/frameworks/esp-idf-v4.4.1/components/esptool_py/esptool/esptool.py", line 3978, in write_flash
esp.flash_block(block, seq)
File "D:/Espressif/frameworks/esp-idf-v4.4.1/components/esptool_py/esptool/esptool.py", line 801, in flash_block
self.check_command("write to target Flash after seq %d" % seq,
File "D:/Espressif/frameworks/esp-idf-v4.4.1/components/esptool_py/esptool/esptool.py", line 495, in check_command
val, data = self.command(op, data, chk, timeout=timeout)
File "D:/Espressif/frameworks/esp-idf-v4.4.1/components/esptool_py/esptool/esptool.py", line 484, in command
self._port.timeout = saved_timeout
File "D:\Espressif\python_env\idf4.4_py3.8_env\lib\site-packages\serial\serialutil.py", line 372, in timeout
self._reconfigure_port()
File "D:\Espressif\python_env\idf4.4_py3.8_env\lib\site-packages\serial\serialwin32.py", line 222, in _reconfigure_port
raise SerialException(
serial.serialutil.SerialException: Cannot configure port, something went wrong. Original message: PermissionError(13, '设备不识别此命令。', None, 22)
CMake Error at run_serial_tool.cmake:56 (message):
D:/Espressif/python_env/idf4.4_py3.8_env/Scripts/python.exe
D:/Espressif/frameworks/esp-idf-v4.4.1/components/esptool_py/esptool/esptool.py
--chip esp32s3 failed
FAILED: CMakeFiles/flash
cmd.exe /C "cd /D D:\Espressif\frameworks\esp-idf-v4.4.1\components\esptool_py && D:\Espressif\tools\cmake\3.20.3\bin\cmake.exe -D IDF_PATH="D:/Espressif/frameworks/esp-idf-v4.4.1" -D SERIAL_TOOL="D:/Espressif/python_env/idf4.4_py3.8_env/Scripts/python.exe D:/Espressif/frameworks/esp-idf-v4.4.1/components/esptool_py/esptool/esptool.py --chip esp32s3" -D SERIAL_TOOL_ARGS="--before=default_reset --after=hard_reset --no-stub write_flash @flash_args" -D WORKING_DIRECTORY="D:/COURSE_FILES/esp32_s3/esp-who/examples/human_face_detection/lcd/build" -P D:/Espressif/frameworks/esp-idf-v4.4.1/components/esptool_py/run_serial_tool.cmake"
ninja: build stopped: subcommand failed.
ninja failed with exit code 1
PS D:\COURSE_FILES\esp32_s3\esp-who\examples\human_face_detection\lcd>