ESP32-S3-LCD-Ev_Board_MB开发板无法下载。
Posted: Thu Jun 15, 2023 10:21 am
$ idf.py -p /dev/ttyACM0 -b 460800 flash
Executing action: flash
Running ninja in directory /home/melody/esp/86box_smart_panel/build
Executing "ninja flash"...
[1/8] Running move model...
/home/melody/esp/86box_smart_panel/sdkconfig
/home/melody/esp/86box_smart_panel/managed_components/espressif__esp-sr/model
['wn9_hilexin']
['mn5q8_cn']
Recommended model partition size: 3356KB
[2/8] cd /home/melody/esp/86box_smart_panel/build/esp-idf/esptool_py && /home/melody/.espressif/python_env/idf5.0_py3.10_env/bin/python /home/melody/esp/esp-idf/components/partition_table/check_sizes.py --offset 0x8000 partition --type app /home/melody/esp/86box_smart_panel/build/partition_table/partition-table.bin /home/melody/esp/86box_smart_panel/build/86box_emoji.bin
86box_emoji.bin binary size 0x31a430 bytes. Smallest app partition is 0x400000 bytes. 0xe5bd0 bytes (22%) free.
[3/8] Performing build step for 'bootloader'
[1/1] cd /home/melody/esp/86box_smart_panel/build/bootloader/esp-idf/esptool_py && /home/melody/.espressif/python_env/idf5.0_py3.10_env/bin/python /home/melody/esp/esp-idf/components/partition_table/check_sizes.py --offset 0x8000 bootloader 0x0 /home/melody/esp/86box_smart_panel/build/bootloader/bootloader.bin
Bootloader binary size 0x55c0 bytes. 0x2a40 bytes (33%) free.
[4/6] cd /home/melody/esp/86box_smart_panel/build/esp-idf/espressif__esp-sr && /home/melody/.espressif/python_env/idf5.0_py3.10_env/bin/python /home/melody/esp/esp-idf/components/spiffs/spiffsgen.py 0x384000 /home/melody/esp/86box_smart_panel/target /home/melody/esp/86box_smart_panel/build/model.bin --page-size=256 --obj-name-len=32 --meta-len=4 --use-magic --use-magic-len
[5/6] cd /home/melody/esp/86box_smart_panel/build/esp-idf/main && /home/melody/.espressif/python_env/idf5.0_py3.10_env/bin/python /home/melody/esp/esp-idf/components/spiffs/spiffsgen.py 0x500000 /home/melody/esp/86box_smart_panel/spiffs /home/melody/esp/86box_smart_panel/build/storage.bin --page-size=256 --obj-name-len=32 --meta-len=4 --use-magic --use-magic-len
[5/6] cd /home/melody/esp/esp-idf/components/esptool_py && /home/melody/.espressif/tools/cmake/3.24.0/bin/cmake -D IDF_PATH=/home/melody/esp/esp-idf -D "SERIAL_TOOL=/home/melody/.espressif/python_env/idf5.0_py3.10_env/bin/python;;/home/melody/esp/esp-idf/components/esptool_py/esptool/esptool.py;--chip;esp32s3" -D "SERIAL_TOOL_ARGS=--before=default_reset;--after=hard_reset;write_flash;@flash_args" -D WORKING_DIRECTORY=/home/melody/esp/86box_smart_panel/build -P /home/melody/esp/esp-idf/components/esptool_py/run_serial_tool.cmake
esptool esp32s3 -p /dev/ttyACM0 -b 460800 --before=default_reset --after=hard_reset write_flash --flash_mode dout --flash_freq 80m --flash_size 16MB 0x0 bootloader/bootloader.bin 0x10000 86box_emoji.bin 0x8000 partition_table/partition-table.bin 0x910000 model.bin 0x410000 storage.bin
esptool.py v4.5.1
Serial port /dev/ttyACM0
Connecting...
Chip is ESP32-S3 (revision v0.1)
Features: WiFi, BLE
Crystal is 40MHz
MAC: 7c:df:a1:e8:0f:04
Uploading stub...
Running stub...
Stub running...
Changing baud rate to 460800
Changed.
Configuring flash size...
Flash will be erased from 0x00000000 to 0x00005fff...
Flash will be erased from 0x00010000 to 0x0032afff...
Flash will be erased from 0x00008000 to 0x00008fff...
Flash will be erased from 0x00910000 to 0x00c93fff...
Flash will be erased from 0x00410000 to 0x0090ffff...
Compressed 21952 bytes to 13885...
Writing at 0x00000000... (100 %)
Wrote 21952 bytes (13885 compressed) at 0x00000000 in 0.5 seconds (effective 358.0 kbit/s)...
A fatal error occurred: Packet content transfer stopped (received 11 bytes)
CMake Error at run_serial_tool.cmake:55 (message):
/home/melody/.espressif/python_env/idf5.0_py3.10_env/bin/python;;/home/melody/esp/esp-idf/components/esptool_py/esptool/esptool.py;--chip;esp32s3
failed
FAILED: CMakeFiles/flash /home/melody/esp/86box_smart_panel/build/CMakeFiles/flash
cd /home/melody/esp/esp-idf/components/esptool_py && /home/melody/.espressif/tools/cmake/3.24.0/bin/cmake -D IDF_PATH=/home/melody/esp/esp-idf -D "SERIAL_TOOL=/home/melody/.espressif/python_env/idf5.0_py3.10_env/bin/python;;/home/melody/esp/esp-idf/components/esptool_py/esptool/esptool.py;--chip;esp32s3" -D "SERIAL_TOOL_ARGS=--before=default_reset;--after=hard_reset;write_flash;@flash_args" -D WORKING_DIRECTORY=/home/melody/esp/86box_smart_panel/build -P /home/melody/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 /home/melody/esp/86box_smart_panel/build/log/idf_py_stderr_output_30195 and /home/melody/esp/86box_smart_panel/build/log/idf_py_stdout_output_30195
使用的是ESP32-S3-LCD-Ev_Board_MB_V1.0的开发板。已经试过按住BOOT上电。
Executing action: flash
Running ninja in directory /home/melody/esp/86box_smart_panel/build
Executing "ninja flash"...
[1/8] Running move model...
/home/melody/esp/86box_smart_panel/sdkconfig
/home/melody/esp/86box_smart_panel/managed_components/espressif__esp-sr/model
['wn9_hilexin']
['mn5q8_cn']
Recommended model partition size: 3356KB
[2/8] cd /home/melody/esp/86box_smart_panel/build/esp-idf/esptool_py && /home/melody/.espressif/python_env/idf5.0_py3.10_env/bin/python /home/melody/esp/esp-idf/components/partition_table/check_sizes.py --offset 0x8000 partition --type app /home/melody/esp/86box_smart_panel/build/partition_table/partition-table.bin /home/melody/esp/86box_smart_panel/build/86box_emoji.bin
86box_emoji.bin binary size 0x31a430 bytes. Smallest app partition is 0x400000 bytes. 0xe5bd0 bytes (22%) free.
[3/8] Performing build step for 'bootloader'
[1/1] cd /home/melody/esp/86box_smart_panel/build/bootloader/esp-idf/esptool_py && /home/melody/.espressif/python_env/idf5.0_py3.10_env/bin/python /home/melody/esp/esp-idf/components/partition_table/check_sizes.py --offset 0x8000 bootloader 0x0 /home/melody/esp/86box_smart_panel/build/bootloader/bootloader.bin
Bootloader binary size 0x55c0 bytes. 0x2a40 bytes (33%) free.
[4/6] cd /home/melody/esp/86box_smart_panel/build/esp-idf/espressif__esp-sr && /home/melody/.espressif/python_env/idf5.0_py3.10_env/bin/python /home/melody/esp/esp-idf/components/spiffs/spiffsgen.py 0x384000 /home/melody/esp/86box_smart_panel/target /home/melody/esp/86box_smart_panel/build/model.bin --page-size=256 --obj-name-len=32 --meta-len=4 --use-magic --use-magic-len
[5/6] cd /home/melody/esp/86box_smart_panel/build/esp-idf/main && /home/melody/.espressif/python_env/idf5.0_py3.10_env/bin/python /home/melody/esp/esp-idf/components/spiffs/spiffsgen.py 0x500000 /home/melody/esp/86box_smart_panel/spiffs /home/melody/esp/86box_smart_panel/build/storage.bin --page-size=256 --obj-name-len=32 --meta-len=4 --use-magic --use-magic-len
[5/6] cd /home/melody/esp/esp-idf/components/esptool_py && /home/melody/.espressif/tools/cmake/3.24.0/bin/cmake -D IDF_PATH=/home/melody/esp/esp-idf -D "SERIAL_TOOL=/home/melody/.espressif/python_env/idf5.0_py3.10_env/bin/python;;/home/melody/esp/esp-idf/components/esptool_py/esptool/esptool.py;--chip;esp32s3" -D "SERIAL_TOOL_ARGS=--before=default_reset;--after=hard_reset;write_flash;@flash_args" -D WORKING_DIRECTORY=/home/melody/esp/86box_smart_panel/build -P /home/melody/esp/esp-idf/components/esptool_py/run_serial_tool.cmake
esptool esp32s3 -p /dev/ttyACM0 -b 460800 --before=default_reset --after=hard_reset write_flash --flash_mode dout --flash_freq 80m --flash_size 16MB 0x0 bootloader/bootloader.bin 0x10000 86box_emoji.bin 0x8000 partition_table/partition-table.bin 0x910000 model.bin 0x410000 storage.bin
esptool.py v4.5.1
Serial port /dev/ttyACM0
Connecting...
Chip is ESP32-S3 (revision v0.1)
Features: WiFi, BLE
Crystal is 40MHz
MAC: 7c:df:a1:e8:0f:04
Uploading stub...
Running stub...
Stub running...
Changing baud rate to 460800
Changed.
Configuring flash size...
Flash will be erased from 0x00000000 to 0x00005fff...
Flash will be erased from 0x00010000 to 0x0032afff...
Flash will be erased from 0x00008000 to 0x00008fff...
Flash will be erased from 0x00910000 to 0x00c93fff...
Flash will be erased from 0x00410000 to 0x0090ffff...
Compressed 21952 bytes to 13885...
Writing at 0x00000000... (100 %)
Wrote 21952 bytes (13885 compressed) at 0x00000000 in 0.5 seconds (effective 358.0 kbit/s)...
A fatal error occurred: Packet content transfer stopped (received 11 bytes)
CMake Error at run_serial_tool.cmake:55 (message):
/home/melody/.espressif/python_env/idf5.0_py3.10_env/bin/python;;/home/melody/esp/esp-idf/components/esptool_py/esptool/esptool.py;--chip;esp32s3
failed
FAILED: CMakeFiles/flash /home/melody/esp/86box_smart_panel/build/CMakeFiles/flash
cd /home/melody/esp/esp-idf/components/esptool_py && /home/melody/.espressif/tools/cmake/3.24.0/bin/cmake -D IDF_PATH=/home/melody/esp/esp-idf -D "SERIAL_TOOL=/home/melody/.espressif/python_env/idf5.0_py3.10_env/bin/python;;/home/melody/esp/esp-idf/components/esptool_py/esptool/esptool.py;--chip;esp32s3" -D "SERIAL_TOOL_ARGS=--before=default_reset;--after=hard_reset;write_flash;@flash_args" -D WORKING_DIRECTORY=/home/melody/esp/86box_smart_panel/build -P /home/melody/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 /home/melody/esp/86box_smart_panel/build/log/idf_py_stderr_output_30195 and /home/melody/esp/86box_smart_panel/build/log/idf_py_stdout_output_30195
使用的是ESP32-S3-LCD-Ev_Board_MB_V1.0的开发板。已经试过按住BOOT上电。