【有手就行系列】嵌入式單片機(jī)教程-桌面小屏幕實(shí)戰(zhàn)教學(xué) 從設(shè)計(jì)、硬件、焊接到代碼編

up up為什么燒錄不進(jìn)去
Executing action: flash
Running ninja in directory E:\ruanjian\Espressif\frameworks\hello_world\build
Executing "ninja flash"...
[1/5] cmd.exe /C "cd /D E:\ruanjian\Espressif\frameworks\hello_world\build\esp-idf\esptool_py && E:\ruanjian\Espressif\python_env\idf5.0_py3.11_env\Scripts\python.exe E:/ruanjian/Espressif/frameworks/esp-idf-v5.0.2/components/partition_table/check_sizes.py --offset 0x8000 partition --type app E:/ruanjian/Espressif/frameworks/hello_world/build/partition_table/partition-table.bin E:/ruanjian/Espressif/frameworks/hello_world/build/hello_world.bin"
hello_world.bin binary size 0x2bda0 bytes. Smallest app partition is 0x100000 bytes. 0xd4260 bytes (83%) free.
[2/5] Performing build step for 'bootloader'
[1/1] cmd.exe /C "cd /D E:\ruanjian\Espressif\frameworks\hello_world\build\bootloader\esp-idf\esptool_py && E:\ruanjian\Espressif\python_env\idf5.0_py3.11_env\Scripts\python.exe E:/ruanjian/Espressif/frameworks/esp-idf-v5.0.2/components/partition_table/check_sizes.py --offset 0x8000 bootloader 0x1000 E:/ruanjian/Espressif/frameworks/hello_world/build/bootloader/bootloader.bin"
Bootloader binary size 0x6710 bytes. 0x8f0 bytes (8%) free.
[2/3] cmd.exe /C "cd /D E:\ruanjian\Espressif\frameworks\esp-idf-v5.0.2\components\esptool_py && E:\ruanjian\Espressif\tools\cmake\3.24.0\bin\cmake.exe -D IDF_PATH=E:/ruanjian/Espressif/frameworks/esp-idf-v5.0.2 -D SERIAL_TOOL=E:/ruanjian/Espressif/python_env/idf5.0_py3.11_env/Scripts/python.exe;;E:/ruanjian/Espressif/frameworks/esp-idf-v5.0.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=E:/ruanjian/Espressif/frameworks/hello_world/build -P E:/ruanjian/Espressif/frameworks/esp-idf-v5.0.2/components/esptool_py/run_serial_tool.cmake"
esptool esp32 -p COM5 -b 460800 --before=default_reset --after=hard_reset write_flash --flash_mode dio --flash_freq 40m --flash_size 2MB 0x1000 bootloader/bootloader.bin 0x10000 hello_world.bin 0x8000 partition_table/partition-table.bin
esptool.py v4.5.1
Serial port COM5
Connecting......................................
A fatal error occurred: Failed to connect to ESP32: Wrong boot mode detected (0xb)! The chip needs to be in download mode.
For troubleshooting steps visit: https://docs.espressif.com/projects/esptool/en/latest/troubleshooting.html
CMake Error at run_serial_tool.cmake:55 (message):
?E:/ruanjian/Espressif/python_env/idf5.0_py3.11_env/Scripts/python.exe;;E:/ruanjian/Espressif/frameworks/esp-idf-v5.0.2/components/esptool_py/esptool/esptool.py;--chip;esp32
?failed
FAILED: CMakeFiles/flash E:/ruanjian/Espressif/frameworks/hello_world/build/CMakeFiles/flash
cmd.exe /C "cd /D E:\ruanjian\Espressif\frameworks\esp-idf-v5.0.2\components\esptool_py && E:\ruanjian\Espressif\tools\cmake\3.24.0\bin\cmake.exe -D IDF_PATH=E:/ruanjian/Espressif/frameworks/esp-idf-v5.0.2 -D SERIAL_TOOL=E:/ruanjian/Espressif/python_env/idf5.0_py3.11_env/Scripts/python.exe;;E:/ruanjian/Espressif/frameworks/esp-idf-v5.0.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=E:/ruanjian/Espressif/frameworks/hello_world/build -P E:/ruanjian/Espressif/frameworks/esp-idf-v5.0.2/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 E:\ruanjian\Espressif\frameworks\hello_world\build\log\idf_py_stderr_output_10052 and E:\ruanjian\Espressif\frameworks\hello_world\build\log\idf_py_stdout_output_10052
PS E:\ruanjian\Espressif\frameworks\hello_world>