idf.py erase_flash doesn't work - ESP32 Forum
www.esp32.com › viewtopicJan 18, 2021 · Code: Select all. $ idf.py -p /dev/tty.usbserial-AB0JNMBP erase_flash WARNING: Support for Python 2 is deprecated and will be removed in future versions. Executing action: erase_flash Running esptool.py in directory /Users/Prasad/build Executing "/Users/Prasad/.espressif/python_env/idf4.3_py2.7_env/bin/python /Users/Prasad/esp/esp-idf/components/esptool_py/esptool/esptool.py -p /dev/tty.usbserial-AB0JNMBP -b 460800 --before default_reset --after hard_reset --chip esp32 erase_flash" ... esptool.