ESP32 S3 IDF Windows 程序烧录失败
Posted: Sun Feb 25, 2024 3:51 am
ESP32 S3 IDF Windows 11 程序烧录失败!
我是按照乐鑫官方教程操作的:
https://docs.espressif.com/projects/esp ... setup.html
我的硬件之前用Arduino烧录是可以自动下载的没问题的。
我编译没问题,提示烧录失败:
esptool.py v4.7.0
Serial port COM9
Connecting......................................
A fatal error occurred: Failed to connect to ESP32-S3: No serial data received.
For troubleshooting steps visit: https://docs.espressif.com/projects/esp ... oting.html
CMake Error at run_serial_tool.cmake:66 (message):
D:/Frank/ESP32_IDF/Windows/Espressif/python_env/idf5.1_py3.11_env/Scripts/python.exe;;D:/Frank/ESP32_IDF/Windows/Espressif/frameworks/esp-idf-v5.1.2/components/esptool_py/esptool/esptool.py;--chip;esp32s3
failed.
FAILED: CMakeFiles/flash D:/Frank/ESP32_IDF/Windows/Frank_Project/hello_world/build/CMakeFiles/flash
cmd.exe /C "cd /D D:\Frank\ESP32_IDF\Windows\Espressif\frameworks\esp-idf-v5.1.2\components\esptool_py && D:\Frank\ESP32_IDF\Windows\Espressif\tools\cmake\3.24.0\bin\cmake.exe -D IDF_PATH=D:/Frank/ESP32_IDF/Windows/Espressif/frameworks/esp-idf-v5.1.2 -D SERIAL_TOOL=D:/Frank/ESP32_IDF/Windows/Espressif/python_env/idf5.1_py3.11_env/Scripts/python.exe;;D:/Frank/ESP32_IDF/Windows/Espressif/frameworks/esp-idf-v5.1.2/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=D:/Frank/ESP32_IDF/Windows/Frank_Project/hello_world/build -P D:/Frank/ESP32_IDF/Windows/Espressif/frameworks/esp-idf-v5.1.2/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 D:\Frank\ESP32_IDF\Windows\Frank_Project\hello_world\build\log\idf_py_stderr_output_8600 and D:\Frank\ESP32_IDF\Windows\Frank_Project\hello_world\build\log\idf_py_stdout_output_8600
我是按照乐鑫官方教程操作的:
https://docs.espressif.com/projects/esp ... setup.html
我的硬件之前用Arduino烧录是可以自动下载的没问题的。
我编译没问题,提示烧录失败:
esptool.py v4.7.0
Serial port COM9
Connecting......................................
A fatal error occurred: Failed to connect to ESP32-S3: No serial data received.
For troubleshooting steps visit: https://docs.espressif.com/projects/esp ... oting.html
CMake Error at run_serial_tool.cmake:66 (message):
D:/Frank/ESP32_IDF/Windows/Espressif/python_env/idf5.1_py3.11_env/Scripts/python.exe;;D:/Frank/ESP32_IDF/Windows/Espressif/frameworks/esp-idf-v5.1.2/components/esptool_py/esptool/esptool.py;--chip;esp32s3
failed.
FAILED: CMakeFiles/flash D:/Frank/ESP32_IDF/Windows/Frank_Project/hello_world/build/CMakeFiles/flash
cmd.exe /C "cd /D D:\Frank\ESP32_IDF\Windows\Espressif\frameworks\esp-idf-v5.1.2\components\esptool_py && D:\Frank\ESP32_IDF\Windows\Espressif\tools\cmake\3.24.0\bin\cmake.exe -D IDF_PATH=D:/Frank/ESP32_IDF/Windows/Espressif/frameworks/esp-idf-v5.1.2 -D SERIAL_TOOL=D:/Frank/ESP32_IDF/Windows/Espressif/python_env/idf5.1_py3.11_env/Scripts/python.exe;;D:/Frank/ESP32_IDF/Windows/Espressif/frameworks/esp-idf-v5.1.2/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=D:/Frank/ESP32_IDF/Windows/Frank_Project/hello_world/build -P D:/Frank/ESP32_IDF/Windows/Espressif/frameworks/esp-idf-v5.1.2/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 D:\Frank\ESP32_IDF\Windows\Frank_Project\hello_world\build\log\idf_py_stderr_output_8600 and D:\Frank\ESP32_IDF\Windows\Frank_Project\hello_world\build\log\idf_py_stdout_output_8600