我刚买了esp32-c6的开发板,不能烧录

zebra88
Posts: 3
Joined: Fri Feb 24, 2023 3:16 am

我刚买了esp32-c6的开发板,不能烧录

Postby zebra88 » Fri Feb 24, 2023 3:27 am

报以下错误,我是个新手,哪位大神帮看看,谢谢啊
myproject zebra$ idf.py -p /dev/cu.usbserial-1420 flash
Executing action: flash
Running ninja in directory /Users/zebra/workspace/esp/myproject/build
Executing "ninja flash"...
[1/5] cd /Users/zebra/workspace/esp/myproject/build/esp-idf/esptool_py && /Users/zebra/.espressif/python_env/idf5.1_py3.10_env/bin/python /Users/zebra/workspace/esp/esp-idf/components/partition_table/check_sizes.py --offset 0x8000 partition --type app /Users/zebra/workspace/esp/myproject/build/partition_table/partition-table.bin /Users/zebra/workspace/esp/myproject/build/myproject.bin
myproject.bin binary size 0x2a110 bytes. Smallest app partition is 0x100000 bytes. 0xd5ef0 bytes (84%) free.
[2/5] Performing build step for 'bootloader'
[1/1] cd /Users/zebra/workspace/esp/myproject/build/bootloader/esp-idf/esptool_py && /Users/zebra/.espressif/python_env/idf5.1_py3.10_env/bin/python /Users/zebra/workspace/esp/esp-idf/components/partition_table/check_sizes.py --offset 0x8000 bootloader 0x1000 /Users/zebra/workspace/esp/myproject/build/bootloader/bootloader.bin
Bootloader binary size 0x6730 bytes. 0x8d0 bytes (8%) free.
[2/3] cd /Users/zebra/workspace/esp/esp-idf/components/esptool_py && /usr/local/Cellar/cmake/3.24.2/bin/cmake -D IDF_PATH=/Users/zebra/workspace/esp/esp-idf -D "SERIAL_TOOL=/Users/zebra/.espressif/python_env/idf5.1_py3.10_env/bin/python;;/Users/zebra/workspace/esp/esp-idf/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=/Users/zebra/workspace/esp/myproject/build -P /Users/zebra/workspace/esp/esp-idf/components/esptool_py/run_serial_tool.cmake
esptool esp32 -p /dev/cu.usbserial-1420 -b 460800 --before=default_reset --after=hard_reset write_flash --flash_mode dio --flash_freq 40m --flash_size 2MB 0x1000 bootloader/bootloader.bin 0x10000 myproject.bin 0x8000 partition_table/partition-table.bin
esptool.py v4.5
Serial port /dev/cu.usbserial-1420

A fatal error occurred: Could not open /dev/cu.usbserial-1420, the port doesn't exist
CMake Error at run_serial_tool.cmake:63 (message):

/Users/zebra/.espressif/python_env/idf5.1_py3.10_env/bin/python;;/Users/zebra/workspace/esp/esp-idf/components/esptool_py/esptool/esptool.py;--chip;esp32
failed.



FAILED: CMakeFiles/flash /Users/zebra/workspace/esp/myproject/build/CMakeFiles/flash
cd /Users/zebra/workspace/esp/esp-idf/components/esptool_py && /usr/local/Cellar/cmake/3.24.2/bin/cmake -D IDF_PATH=/Users/zebra/workspace/esp/esp-idf -D "SERIAL_TOOL=/Users/zebra/.espressif/python_env/idf5.1_py3.10_env/bin/python;;/Users/zebra/workspace/esp/esp-idf/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=/Users/zebra/workspace/esp/myproject/build -P /Users/zebra/workspace/esp/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 /Users/zebra/workspace/esp/myproject/build/log/idf_py_stderr_output_43039 and /Users/zebra/workspace/esp/myproject/build/log/idf_py_stdout_output_43039

Who is online

Users browsing this forum: No registered users and 89 guests