Linux fedora 36.
[aik@aikyoga esptool]$ python3 ./esptool.py flash_id
esptool.py v3.3
Found 1 serial ports
Serial port /dev/ttyUSB0
Connecting.....................
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 <module>
_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('<I', addr), timeout=timeout)
File "./esptool.py", line 468, in command
p = self.read()
File "./esptool.py", line 413, in read
return next(self._slip_reader)
StopIteration