This is the version in Bullseye (and Bookworm and Sid):

$ esptool version
esptool.py v2.8
2.8

It does not correctly identify e.g. the ESP32-PICO-V3-02, as found on
the Adafruit ESP32 Feather V2, and it can not write the flash:
$ esptool --port /dev/ttyACM2 chip_id
esptool.py v2.8
Serial port /dev/ttyACM2
Connecting....
Detecting chip type... ESP32
Chip is unknown ESP32 (revision 3)
Features: WiFi, BT, Dual Core, 240MHz, VRef calibration in efuse, Coding Scheme 
None
Crystal is 40MHz
MAC: e8:9f:6d:20:37:44
Enabling default SPI flash mode...
Warning: ESP32 has no Chip ID. Reading MAC instead.
MAC: e8:9f:6d:20:37:44
Hard resetting via RTS pin...

The latest version (installed with pip) is 4.4:

$ ~/.local/bin/esptool.py version
esptool.py v4.4
4.4

It works fine with this newer module, and it can write the flash:

$ ~/.local/bin/esptool.py --port /dev/ttyACM2 chip_id
esptool.py v4.4
Serial port /dev/ttyACM2
Connecting....
Detecting chip type... Unsupported detection protocol, switching and trying 
again...
Connecting....
Detecting chip type... ESP32
Chip is ESP32-PICO-V3-02 (revision v3.0)
Features: WiFi, BT, Dual Core, 240MHz, Embedded Flash, Embedded PSRAM, VRef 
calibration in efuse, Coding Scheme None
Crystal is 40MHz
MAC: e8:9f:6d:20:37:44
Uploading stub...
Running stub...
Stub running...
Warning: ESP32 has no Chip ID. Reading MAC instead.
MAC: e8:9f:6d:20:37:44
Hard resetting via RTS pin...


An updated package would be appreciated.  Thanks!


--
Sebastian Kuzminsky

Reply via email to