ESP32: Erase Flash Memory (Factory Reset).

With Python 3 mounted, open a Terminal home window as well as mount the most current secure esptool.py launch with pip:

ESP32 Erase Flash Memory Factory Reset esptool.py firmware

Installing esptool.py

Note: with some Python installments that regulate might not work and you’ll receive a mistake. In your Terminal home window, run the complying with command:

If it was set up effectively, it should display a similar message (regardless of your operating system):

Follow the following steps to remove the ESP32 flash:

pip install esptool

1) Connect the ESP32 to your computer system;

  • pip3 install esptool
  • python -m pip install esptool
  • pip2 install esptool

2) Open a Terminal home window on your computer;

pip install setuptools

3) Hold the ESP32 BOOT button;

python -m esptool

4) Copy the following command to your incurable home window as well as press Enter (continue holding the BOOT button).

esptool utility

Erasing the ESP32 Flash

If you’re utilizing an ESP8266 board, you can adhere to the directions in the following tutorial:

If you would such as to learn more concerning the ESP32 board as well as IoT, make sure you take an appearance at our sources:

Thanks for analysis.

You can install as well as download Python at the adhering to web link (make sure you download and install the ideal plan for your system):

With Python 3 mounted, open up a Terminal window as well as install the newest steady esptool.py release with pip:

ESP32 BOOT button

Note: with some Python setups that command may not function and you’ll get an error. In your Terminal home window, run the complying with command:

python -m esptool --chip esp32 erase_flash

If it was mounted properly, it needs to present a comparable message (regardless of your operating system):

ESP32 erase flash esptool

Follow the following steps to get rid of the ESP32 flash:

Troubleshooting

1) Connect the ESP32 to your computer system;

run commands as an administrator command prompt

Wrapping Up

2) Open a Terminal home window on your computer system;

3) Hold the ESP32 BOOT button;

4) Copy the complying with command to your terminal window as well as press Enter (proceed holding the BOOT button).

If you’re using an ESP8266 board, you can adhere to the guidelines in the following tutorial: