esp32s3烧录后无法硬件重启,
Posted: Fri Nov 01, 2024 4:07 am
使用R8外接flash和使用pico-1的错误一致,是sdkconfig没有选择外置psram的原因吗?现在这个怎么处理才能继续使用我的芯片,现在串口无法识别。不能继续进行烧录
File "/usr/lib/python3.8/runpy.py", line 194, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/usr/lib/python3.8/runpy.py", line 87, in _run_code
exec(code, run_globals)
File "/home/arist/.espressif/python_env/idf5.2_py3.8_env/lib/python3.8/site-packages/esptool/__main__.py", line 9, in <module>
esptool._main()
File "/home/arist/.espressif/python_env/idf5.2_py3.8_env/lib/python3.8/site-packages/esptool/__init__.py", line 1139, in _main
main()
File "/home/arist/.espressif/python_env/idf5.2_py3.8_env/lib/python3.8/site-packages/esptool/__init__.py", line 936, in main
esp.hard_reset()
File "/home/arist/.espressif/python_env/idf5.2_py3.8_env/lib/python3.8/site-packages/esptool/targets/esp32s3.py", line 347, in hard_reset
HardReset(self._port, uses_usb_otg)()
File "/home/arist/.espressif/python_env/idf5.2_py3.8_env/lib/python3.8/site-packages/esptool/reset.py", line 134, in __call__
self._setRTS(False)
File "/home/arist/.espressif/python_env/idf5.2_py3.8_env/lib/python3.8/site-packages/esptool/reset.py", line 40, in _setRTS
self.port.setRTS(state)
File "/home/arist/.espressif/python_env/idf5.2_py3.8_env/lib/python3.8/site-packages/serial/serialutil.py", line 600, in setRTS
self.rts = value
File "/home/arist/.espressif/python_env/idf5.2_py3.8_env/lib/python3.8/site-packages/serial/serialutil.py", line 463, in rts
self._update_rts_state()
File "/home/arist/.espressif/python_env/idf5.2_py3.8_env/lib/python3.8/site-packages/serial/serialposix.py", line 708, in _update_rts_state
fcntl.ioctl(self.fd, TIOCMBIC, TIOCM_RTS_str)
OSError: [Errno 5] Input/output error
Wrote 3072 bytes (105 compressed) at 0x00008000 in 0.0 seconds (effective 675.6 kbit/s)...
Hash of data verified.
Leaving...
Hard resetting via RTS pin...
CMake Error at run_serial_tool.cmake:66 (message):
/home/arist/.espressif/python_env/idf5.2_py3.8_env/bin/python;;/home/arist/esp32/esp-idf/components/esptool_py/esptool/esptool.py;--chip;esp32s3
failed.
FAILED: CMakeFiles/flash
cd /home/arist/esp32/esp-idf/components/esptool_py && /usr/bin/cmake -D IDF_PATH=/home/arist/esp32/esp-idf -D "SERIAL_TOOL=/home/arist/.espressif/python_env/idf5.2_py3.8_env/bin/python;;/home/arist/esp32/esp-idf/components/esptool_py/esptool/esptool.py;--chip;esp32s3" -D "SERIAL_TOOL_ARGS=--before=default_reset;--after=hard_reset;write_flash;@flash_args" -D WORKING_DIRECTORY=/home/arist/esp32/esp32_emo/build -P /home/arist/esp32/esp-idf/components/esptool_py/run_serial_tool.cmake
ninja: build stopped: subcommand failed.
ninja failed with exit code 1, output of the command is in the /home/arist/esp32/esp32_emo/build/log/idf_py_stderr_output_415235 and /home/arist/esp32/esp32_emo/build/log/idf_py_stdout_output_415235
File "/usr/lib/python3.8/runpy.py", line 194, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/usr/lib/python3.8/runpy.py", line 87, in _run_code
exec(code, run_globals)
File "/home/arist/.espressif/python_env/idf5.2_py3.8_env/lib/python3.8/site-packages/esptool/__main__.py", line 9, in <module>
esptool._main()
File "/home/arist/.espressif/python_env/idf5.2_py3.8_env/lib/python3.8/site-packages/esptool/__init__.py", line 1139, in _main
main()
File "/home/arist/.espressif/python_env/idf5.2_py3.8_env/lib/python3.8/site-packages/esptool/__init__.py", line 936, in main
esp.hard_reset()
File "/home/arist/.espressif/python_env/idf5.2_py3.8_env/lib/python3.8/site-packages/esptool/targets/esp32s3.py", line 347, in hard_reset
HardReset(self._port, uses_usb_otg)()
File "/home/arist/.espressif/python_env/idf5.2_py3.8_env/lib/python3.8/site-packages/esptool/reset.py", line 134, in __call__
self._setRTS(False)
File "/home/arist/.espressif/python_env/idf5.2_py3.8_env/lib/python3.8/site-packages/esptool/reset.py", line 40, in _setRTS
self.port.setRTS(state)
File "/home/arist/.espressif/python_env/idf5.2_py3.8_env/lib/python3.8/site-packages/serial/serialutil.py", line 600, in setRTS
self.rts = value
File "/home/arist/.espressif/python_env/idf5.2_py3.8_env/lib/python3.8/site-packages/serial/serialutil.py", line 463, in rts
self._update_rts_state()
File "/home/arist/.espressif/python_env/idf5.2_py3.8_env/lib/python3.8/site-packages/serial/serialposix.py", line 708, in _update_rts_state
fcntl.ioctl(self.fd, TIOCMBIC, TIOCM_RTS_str)
OSError: [Errno 5] Input/output error
Wrote 3072 bytes (105 compressed) at 0x00008000 in 0.0 seconds (effective 675.6 kbit/s)...
Hash of data verified.
Leaving...
Hard resetting via RTS pin...
CMake Error at run_serial_tool.cmake:66 (message):
/home/arist/.espressif/python_env/idf5.2_py3.8_env/bin/python;;/home/arist/esp32/esp-idf/components/esptool_py/esptool/esptool.py;--chip;esp32s3
failed.
FAILED: CMakeFiles/flash
cd /home/arist/esp32/esp-idf/components/esptool_py && /usr/bin/cmake -D IDF_PATH=/home/arist/esp32/esp-idf -D "SERIAL_TOOL=/home/arist/.espressif/python_env/idf5.2_py3.8_env/bin/python;;/home/arist/esp32/esp-idf/components/esptool_py/esptool/esptool.py;--chip;esp32s3" -D "SERIAL_TOOL_ARGS=--before=default_reset;--after=hard_reset;write_flash;@flash_args" -D WORKING_DIRECTORY=/home/arist/esp32/esp32_emo/build -P /home/arist/esp32/esp-idf/components/esptool_py/run_serial_tool.cmake
ninja: build stopped: subcommand failed.
ninja failed with exit code 1, output of the command is in the /home/arist/esp32/esp32_emo/build/log/idf_py_stderr_output_415235 and /home/arist/esp32/esp32_emo/build/log/idf_py_stdout_output_415235