Code: Select all
Executing action: flash
Serial port COM8
Connecting...
Detecting chip type... ESP32-S3
Running ninja in directory d:\espressif\frameworks\esp-idf-v4.4.1\esp-box\examples\image_display\build
Executing "ninja flash"...
[1/6] cmd.exe /C "cd /D D:\Espressif\frameworks\esp-idf-v4.4.1\esp-box\example...meworks/esp-idf-v4.4.1/esp-box/examples/image_display/build/image_display.bin"
image_display.bin binary size 0x82aa0 bytes. Smallest app partition is 0x200000 bytes. 0x17d560 bytes (74%) free.
[3/6] Performing build step for 'bootloader'
[1/1] cmd.exe /C "cd /D D:\Espressif\frameworks\esp-idf-v4.4.1\esp-box\examples\image_display\build\bootloader\esp-idf\esptool_py && D:\Espressif\python_env\idf4.4_py3.8_env\Scripts\python.exe D:/Espressif/frameworks/esp-idf-v4.4.1/components/partition_table/check_sizes.py --offset 0x8000 bootloader 0x0 D:/Espressif/frameworks/esp-idf-v4.4.1/esp-box/examples/image_display/build/bootloader/bootloader.bin"
Bootloader binary size 0x56a0 bytes. 0x2960 bytes (32%) free.
[3/4] cmd.exe /C "cd /D D:\Espressif\frameworks\esp-idf-v4.4.1\components\espt...pressif/frameworks/esp-idf-v4.4.1/components/esptool_py/run_serial_tool.cmake"
esptool.py esp32s3 -p COM8 -b 460800 --before=default_reset --after=hard_reset --no-stub write_flash --flash_mode dio --flash_freq 80m --flash_size 16MB 0x0 bootloader/bootloader.bin 0x10000 image_display.bin 0x8000 partition_table/partition-table.bin 0x210000 storage.bin
esptool.py v3.3-dev
Serial port COM8
Connecting...
Chip is ESP32-S3
Features: WiFi, BLE
Crystal is 40MHz
MAC: 7c:df:a1:e1:be:88
Changing baud rate to 460800
Changed.
Enabling default SPI flash mode...
Configuring flash size...
Flash will be erased from 0x00000000 to 0x00005fff...
Flash will be erased from 0x00010000 to 0x00092fff...
Flash will be erased from 0x00008000 to 0x00008fff...
Flash will be erased from 0x00210000 to 0x0030ffff...
Erasing flash...
Took 0.24s to erase flash block
Writing at 0x00000000... (4 %)
Writing at 0x00000400... (9 %)
Writing at 0x00000800... (13 %)
Writing at 0x00000c00... (18 %)
Writing at 0x00001000... (22 %)
Writing at 0x00001400... (27 %)
Writing at 0x00001800... (31 %)
Writing at 0x00001c00... (36 %)
Writing at 0x00002000... (40 %)
Writing at 0x00002400... (45 %)
Writing at 0x00002800... (50 %)
Writing at 0x00002c00... (54 %)
Writing at 0x00003000... (59 %)
Writing at 0x00003400... (63 %)
Writing at 0x00003800... (68 %)
Writing at 0x00003c00... (72 %)
Writing at 0x00004000... (77 %)
Writing at 0x00004400... (81 %)
Writing at 0x00004800... (86 %)
Writing at 0x00004c00... (90 %)
Writing at 0x00005000... (95 %)
Writing at 0x00005400... (100 %)
Wrote 22528 bytes at 0x00000000 in 1.9 seconds (95.1 kbit/s)...
Hash of data verified.
Erasing flash...
Took 0.54s to erase flash block
Writing at 0x00010000... (0 %)
Writing at 0x00010400... (0 %)
Writing at 0x00010800... (0 %)
Writing at 0x00010c00... (0 %)
Writing at 0x00011000... (0 %)
Writing at 0x00011400... (1 %)
Writing at 0x00011800... (1 %)
Writing at 0x00011c00... (1 %)
Writing at 0x00012000... (1 %)
Writing at 0x00012400... (1 %)
Writing at 0x00012800... (2 %)
Writing at 0x00012c00... (2 %)
Traceback (most recent call last):
File "D:/Espressif/frameworks/esp-idf-v4.4.1/components/esptool_py/esptool/esptool.py", line 5347, in <module>
_main()
File "D:/Espressif/frameworks/esp-idf-v4.4.1/components/esptool_py/esptool/esptool.py", line 5340, in _main
main()
File "D:/Espressif/frameworks/esp-idf-v4.4.1/components/esptool_py/esptool/esptool.py", line 4772, in main
operation_func(esp, args)
File "D:/Espressif/frameworks/esp-idf-v4.4.1/components/esptool_py/esptool/esptool.py", line 3978, in write_flash
esp.flash_block(block, seq)
File "D:/Espressif/frameworks/esp-idf-v4.4.1/components/esptool_py/esptool/esptool.py", line 801, in flash_block
self.check_command("write to target Flash after seq %d" % seq,
File "D:/Espressif/frameworks/esp-idf-v4.4.1/components/esptool_py/esptool/esptool.py", line 495, in check_command
val, data = self.command(op, data, chk, timeout=timeout)
File "D:/Espressif/frameworks/esp-idf-v4.4.1/components/esptool_py/esptool/esptool.py", line 451, in command
self._port.timeout = new_timeout
File "D:\Espressif\python_env\idf4.4_py3.8_env\lib\site-packages\serial\serialutil.py", line 372, in timeout
self._reconfigure_port()
File "D:\Espressif\python_env\idf4.4_py3.8_env\lib\site-packages\serial\serialwin32.py", line 222, in _reconfigure_port
raise SerialException(
serial.serialutil.SerialException: Cannot configure port, something went wrong. Original message: PermissionError(13, '连到系统上的设备没有发挥作用。', None, 31)
CMake Error at run_serial_tool.cmake:56 (message):
D:/Espressif/python_env/idf4.4_py3.8_env/Scripts/python.exe
D:/Espressif/frameworks/esp-idf-v4.4.1/components/esptool_py/esptool/esptool.py
--chip esp32s3 failed
FAILED: CMakeFiles/flash
cmd.exe /C "cd /D D:\Espressif\frameworks\esp-idf-v4.4.1\components\esptool_py && D:\Espressif\tools\cmake\3.20.3\bin\cmake.exe -D IDF_PATH="D:/Espressif/frameworks/esp-idf-v4.4.1" -D SERIAL_TOOL="D:/Espressif/python_env/idf4.4_py3.8_env/Scripts/python.exe D:/Espressif/frameworks/esp-idf-v4.4.1/components/esptool_py/esptool/esptool.py --chip esp32s3" -D SERIAL_TOOL_ARGS="--before=default_reset --after=hard_reset --no-stub write_flash @flash_args" -D WORKING_DIRECTORY="D:/Espressif/frameworks/esp-idf-v4.4.1/esp-box/examples/image_display/build" -P D:/Espressif/frameworks/esp-idf-v4.4.1/components/esptool_py/run_serial_tool.cmake"
ninja: build stopped: subcommand failed.
ninja failed with exit code 1