Page 1 of 1

烧录报错

Posted: Fri Apr 07, 2023 2:02 pm
by ywencheng
FAILED: CMakeFiles/flash
cmd.exe /C "cd /D D:\software\DevelopmentSoftware\Espressif\frameworks\esp-idf-v4.3.2\components\esptool_py && D:\software\DevelopmentSoftware\Espressif\tools\cmake\3.16.4\bin\cmake.exe -D IDF_PATH="D:/software/DevelopmentSoftware/Espressif/frameworks/esp-idf-v4.3.2" -D SERIAL_TOOL="D:/software/DevelopmentSoftware/Espressif/python_env/idf4.3_py3.8_env/Scripts/python.exe D:/software/DevelopmentSoftware/Espressif/frameworks/esp-idf-v4.3.2/components/esptool_py/esptool/esptool.py --chip esp32" -D SERIAL_TOOL_ARGS="--before=default_reset --after=hard_reset write_flash @flash_args" -D WORKING_DIRECTORY="D:/mystudy/code/esp32/hello_world/build" -P D:/software/DevelopmentSoftware/Espressif/frameworks/esp-idf-v4.3.2/components/esptool_py/run_serial_tool.cmake"
ninja: build stopped: subcommand failed.
ninja failed with exit code 1

Re: 烧录报错

Posted: Mon Apr 10, 2023 2:40 am
by ESP_ZB2
  1. 你可以按着boot按键,然后按一下reset,让MCU手动进入download模式,再次尝试烧录。如果还是不行,麻烦你把错误信息复制全一点,这个信息比较少

Re: 烧录报错

Posted: Mon Apr 10, 2023 2:49 am
by ESP_ZB2
  1. 芯片选择对嘛,你这个程序显示是ESP32,你那边用的是ESP32还是ESP32-C3