自制的ESP32-C3 FH4板子使用串口烧录,代码一直烧录失败,命令行显示以下信息:
> Execu
ting task: E:.espressifpython_envidf4.4_py3.8_envScriptspython.exe E:espesp-idfcomponentsesptool_pyesptoolesptool.py -p COM1 -b 460800 --before default_reset --after hard_reset --chip esp32c3 write_flash --flash_mode dio --flash_freq 80m --flash_size detect 0x10000 static_ip.bin 0x0 bootloader/bootloader.bin 0x8000 partition_table/partition-table.bin <
esptool.py v3.3-dev
Serial port COM1
Connecting....
Chip is ESP32-C3 (revision 3)
Features: Wi-Fi
Crystal is 40MHz
MAC: a0:76:4e:32:15:84
Uploading stub...
Running stub...
Stub running...
Changing baud rate to 460800
Changed.
Configuring flash size...
Traceback (most recent call last):
File "E:espesp-idfcomponentsesptool_pyesptoolesptool.py", line 5347, in
_main()
File "E:espesp-idfcomponentsesptool_pyesptoolesptool.py", line 5340, in _main
main()
File "E:espesp-idfcomponentsesptool_pyesptoolesptool.py", line 4760, in main
detect_flash_size(esp, args)
File "E:espesp-idfcomponentsesptool_pyesptoolesptool.py", line 3778, in detect_flash_size
flash_id = esp.flash_id()
File "E:espesp-idfcomponentsesptool_pyesptoolesptool.py", line 835, in flash_id
return self.run_spiflash_command(SPIFLASH_RDID, b"", 24)
File "E:espesp-idfcomponentsesptool_pyesptoolesptool.py", line 1123, in run_spiflash_command
old_spi_usr = self.read_reg(SPI_USR_REG)
File "E:espesp-idfcomponentsesptool_pyesptoolesptool.py", line 708, in read_reg
val, data = self.command(self.ESP_READ_REG, struct.pack('
File "E:espesp-idfcomponentsesptool_pyesptoolesptool.py", line 468, in command
p = self.read()
File "E:espesp-idfcomponentsesptool_pyesptoolesptool.py", line 413, in read
return next(self._slip_reader)
StopIteration
终端进程“E:.espressifpython_envidf4.4_py3.8_envScriptspython.exe 'E:espesp-idfcomponentsesptool_pyesptoolesptool.py', '-p', 'COM1', '-b', '460800', '--before', 'default_reset', '--after', 'hard_reset', '--chip', 'esp32c3', 'write_flash', '--flash_mode', 'dio', '--flash_freq', '80m', '--flash_size', 'detect', '0x10000', 'static_ip.bin', '0x0', 'bootloader/bootloader.bin', '0x8000', 'partition_table/partition-table.bin'”已终止,退出代码: 1。