esptool.py v4.5.1 Serial port COM1 Connecting...................................... A fatal error occurred: Failed to connect to ESP32: No serial data received. For troubleshooting steps visit: https://docs.espressif.com/projects/esptool/en/latest/troubleshooting.html * 终端进程“C:\Espressif\python_env\idf5.0_py3.11_env\Scripts\python.exe 'C:\Espressif\frameworks\esp-idf-v5.0.1\components\esptool_py\esptool\esptool.py', '-p', 'COM1', '-b', '460800', '--before', 'default_reset', '--after', 'hard_reset', '--chip', 'esp32', 'write_flash', '--flash_mode', 'dio', '--flash_freq', '40m', '--flash_size', '2MB', '0x1000', 'bootloader/bootloader.bin', '0x10000', 'blink.bin', '0x8000', 'partition_table/partition-table.bin'”已终止,退出代码: 2。 * 正在执行任务: C:/Espressif/python_env/idf5.0_py3.11_env/Scripts/python.exe C:\Espressif\frameworks\esp-idf-v5.0.1\components\esptool_py\esptool\esptool.py -p COM4 -b 460800 --before default_reset --after hard_reset --chip esp32 write_flash --flash_mode dio --flash_freq 40m --flash_size 2MB 0x1000 bootloader/bootloader.bin 0x10000 blink.bin 0x8000 partition_table/partition-table.bin esptool.py v4.5.1 Serial port COM4 Connecting.... Chip is ESP32-D0WD-V3 (revision v3.1) Features: WiFi, BT, Dual Core, 240MHz, VRef calibration in efuse, Coding Scheme None Crystal is 40MHz MAC: 08:3a:8d:0d:8f:0c Uploading stub... Running stub... Stub running... Changing baud rate to 460800 Changed. Configuring flash size... Flash will be erased from 0x00001000 to 0x00007fff... Flash will be erased from 0x00010000 to 0x0003dfff... Flash will be erased from 0x00008000 to 0x00008fff... Compressed 26384 bytes to 16453... Wrote 26384 bytes (16453 compressed) at 0x00001000 in 0.7 seconds (effective 306.1 kbit/s)... Hash of data verified. Compressed 185408 bytes to 97027... Wrote 185408 bytes (97027 compressed) at 0x00010000 in 2.7 seconds (effective 541.8 kbit/s)... Hash of data verified. Compressed 3072 bytes to 103... Wrote 3072 bytes (103 compressed) at 0x00008000 in 0.0 seconds (effective 524.5 kbit/s)... Hash of data verified. Leaving... Hard resetting via RTS pin...
时间: 2024-01-30 10:02:36 浏览: 382
Espressif ESP32 WiFi/微控制器SoC 的开发平台
这段信息显示了你在使用 esptool.py 工具将代码烧录到 ESP32 开发板上时,遇到了一些问题。起初你尝试连接到 COM1 端口,但是连接失败了,接着你又尝试连接到 COM4 端口,成功连接上了。然后,你的开发板被识别为 ESP32-D0WD-V3,支持 WiFi、蓝牙、双核处理器,晶振频率为 40MHz。接着,你开始将代码烧录到开发板中,在这个过程中,你的开发板的闪存将被擦除并写入新的代码。最后,你通过 RTS 引脚对开发板进行了硬重置。
阅读全文