好吧,任何 esptool 操作都会像下面这样以超时结束。我尝试了来自 github(v4.5?最新版本)和 v2.5(旧版本甚至无法检测到 mac)的 esptool。该模块位于面包板上,带有五个 10K 上拉/下拉。这是我第一次尝试这个小模块,espp8266,板载 usb-serial(“nodemcu”?)总是有效,所以我真的不确定这个,有什么提示吗?
Linux 软呢帽 36。
代码:
全选[aik@aikyoga esptool]$ python3 ./esptool.py flash_id
esptool.py v3.3
Found 1 serial ports
Serial port /dev/ttyUSB0
Connec
ting.....................
Detecting chip type... Unsupported detection protocol, switching and trying again...
Connecting...
Detecting chip type... ESP8266
Chip is ESP8266EX
Features: WiFi
Crystal is 26MHz
MAC: b4:e6:2d:46:d5:b4
Uploading stub...
Running stub...
Stub running...
Traceback (most recent call last):
File "./esptool.py", line 5387, in
_main()
File "./esptool.py", line 5380, in _main
main()
File "./esptool.py", line 4812, in main
operation_func(esp, args)
File "./esptool.py", line 4245, in flash_id
flash_id = esp.flash_id()
File "./esptool.py", line 835, in flash_id
return self.run_spiflash_command(SPIFLASH_RDID, b"", 24)
File "./esptool.py", line 1131, in run_spiflash_command
old_spi_usr = self.read_reg(SPI_USR_REG)
File "./esptool.py", line 708, in read_reg
val, data = self.command(self.ESP_READ_REG, struct.pack('