报以下错误,我是个新手,哪位大神帮看看,谢谢啊
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
我刚买了esp32-c6的开发板,不能烧录
Jump to
- English Forum
- Explore
- News
- General Discussion
- FAQ
- Documentation
- Documentation
- Sample Code
- Discussion Forum
- Hardware
- ESP-IDF
- ESP-BOX
- ESP-ADF
- ESP-MDF
- ESP-WHO
- ESP-SkaiNet
- ESP32 Arduino
- IDEs for ESP-IDF
- ESP-AT
- ESP IoT Solution
- ESP RainMaker
- Rust
- ESP8266
- Report Bugs
- Showcase
- Chinese Forum 中文社区
- 活动区
- 乐鑫活动专区
- 讨论区
- 全国大学生物联网设计竞赛乐鑫答疑专区
- ESP-IDF 中文讨论版
- 《ESP32-C3 物联网工程开发实战》书籍讨论版
- 中文文档讨论版
- ESP-AT 中文讨论版
- ESP-BOX 中文讨论版
- ESP IoT Solution 中文讨论版
- ESP-ADF 中文讨论版
- ESP Mesh 中文讨论版
- ESP Cloud 中文讨论版
- ESP-WHO 中文讨论版
- ESP-SkaiNet 中文讨论版
- ESP 生产支持讨论版
- 硬件问题讨论
- 项目展示
Who is online
Users browsing this forum: No registered users and 86 guests
- All times are UTC
- Top
- Delete cookies
About Us
Espressif Systems is a fabless semiconductor company providing cutting-edge low power WiFi SoCs and wireless solutions for wireless communications and Internet of Things applications. ESP8266EX and ESP32 are some of our products.