esp32 and atp board

Debian Linux. How can I use MicroPython with this card? If I follow their instructions for installing MicroPython the first step fails:

$ esptool --chip esp32 --port /dev/ttyUSB0 erase_flash
esptool.py v2.5.1
Serial port /dev/ttyUSB0
Connecting........_____....._____....._____..
Chip is ESP32D0WDQ6 (revision 1)
Features: WiFi, BT, Dual Core, 240MHz, VRef calibration in efuse
MAC: 24:6f:28:8f:5b:f8
Enabling default SPI flash mode...
Erasing flash (this may take a while)...

A fatal error occurred: ESP32 ROM does not support function erase_flash.

Let me put a hold on this question. I looked on the MicroPython forums and it looks like the problem is esptool; I need to try the latest one instead of the older version that I installed (from the Debian repo).

The newest version of esptool.py fixed it. Version 3.0. :slight_smile:

Flashed the board with MicroPython and a test program works.

I don’t know if this is typical, but I also need to pulse DTR before using esptool.py when the board has been just powered on. I do that with picocom and use its C-a C-p.