烧录报错

Moderator: ESP_ZT

ywencheng
Posts: 1
Joined: Fri Apr 07, 2023 2:00 pm

烧录报错

Postby ywencheng » Fri Apr 07, 2023 2:02 pm

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

ESP_ZB2
Posts: 21
Joined: Wed Dec 28, 2022 12:33 pm

Re: 烧录报错

Postby ESP_ZB2 » Mon Apr 10, 2023 2:40 am

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

ESP_ZB2
Posts: 21
Joined: Wed Dec 28, 2022 12:33 pm

Re: 烧录报错

Postby ESP_ZB2 » Mon Apr 10, 2023 2:49 am

  1. 芯片选择对嘛,你这个程序显示是ESP32,你那边用的是ESP32还是ESP32-C3

Who is online

Users browsing this forum: No registered users and 23 guests