A fatal error occurred: Failed to connect to ESP32-C3: Invalid head of packet (0x6C)
CMake Error at run_serial_tool.cmake:50 (message):
E:/esp/.espressif/python_env/idf4.3_py3.8_env/Scripts/python.exe
E:/esp/esp-idf/components/esptool_py/esptool/esptool.py --chip esp32c3
failed
FAILED: CMakeFiles/flash
cmd.exe /C "cd /D E:\esp\esp-idf\components\esptool_py && E:\esp\.espressif\tools\cmake\3.16.4\bin\cmake.exe -D IDF_PATH="E:/esp/esp-idf" -D SERIAL_TOOL="E:/esp/.espressif/python_env/idf4.3_py3.8_env/Scripts/python.exe E:/esp/esp-idf/components/esptool_py/esptool/esptool.py --chip esp32c3" -D SERIAL_TOOL_ARGS="--before=default_reset --after=hard_reset write_flash @flash_args" -D WORKING_DIRECTORY="E:/esp/esp-idf/esp-aws-iot/examples/motor_smart_config_aws/build" -P E:/esp/esp-idf/components/esptool_py/run_serial_tool.cmake"
ninja: build stopped: subcommand failed.
ninja failed with exit code 1
运行idf.py -p COM4 flash monitor 出错?这是什么原因导致的????
-
- Posts: 171
- Joined: Thu Sep 23, 2021 10:03 am
Re: 运行idf.py -p COM4 flash monitor 出错?这是什么原因导致的????
这边使用的是哪个版本的idf?另外检查下供电是否正常
-
- Posts: 171
- Joined: Thu Sep 23, 2021 10:03 am
Re: 运行idf.py -p COM4 flash monitor 出错?这是什么原因导致的????
idf版本是release V4.3的,还是说没配置完环境变量?
Re: 运行idf.py -p COM4 flash monitor 出错?这是什么原因导致的????
你这边使用的是什么硬件?开发板还是自己设计的硬件,确保开发板和电脑间的连接正常,同时参照c3的datasheet检查下flash 管脚和strpping管脚的状态
Who is online
Users browsing this forum: Baidu [Spider], Google [Bot] and 72 guests