To remove the current program on an ESP32 that is controlled by Arduino, you can do any of the following:
Use the Erase Flash routine in the Arduino IDE: This option will erase the entire flash memory of your ESP32, including the current program, settings, and data. To perform the erase flash routine, follow these steps:
Use the esptool.py command-line tool: This tool can be used to erase the flash memory of your ESP32 using the command-line interface. To use this tool, follow these steps:
pip install esptool
in your terminal or command prompt.esptool.py --port PORT_NAME erase_flash
where PORT_NAME is the name of the port your ESP32 is connected to.Use a JTAG debugger: A JTAG debugger can be used to erase the flash memory of your ESP32. This may require additional hardware and software, and is typically used by advanced users or developers. To use a JTAG debugger, follow these steps:
Note: Remember to always backup your projects before erasing flash memory as these methods will erase all previously stored data.
Asked: 2022-01-09 11:00:00 +0000
Seen: 10 times
Last updated: Aug 21 '21