ESP32 is a microcontroller chip that has built-in Wi-Fi and Bluetooth performance. In case your ESP32 chip already has a program and also you need to add a brand new one, you want to erase its reminiscence. This text reveals how to  erase Flash Memory on ESP32 Card on PC utilizing Terminal or CMD.

How to erase Flash Memory on ESP32 Card on PC

To erase the Flash Memory on an ESP32 utilizing a CMD or Terminal window, your system ought to have the most recent model of Python. If Python just isn’t put in on your system, set up it and proceed with the next directions. You possibly can obtain Python from its official web site or set up it immediately from Microsoft Retailer.

After putting in Python, word down its model quantity. Now, comply with the directions supplied under:

  1. Set up the ESP device
  2. Erase the ESP32 Flash Memory

Let’s begin.

1] Set up the ESP device

To erase the ESP32 Flash Memory, you first want to set up the ESP device on your pc. Open the Home windows Terminal or Command Immediate and sort the next command. After that, hit Enter.

py -3.13 -m pip set up esptool

Within the above command, 3.13 signifies the model variety of Python. Change the Python model quantity accordingly.

Now, join the ESP32 chip to your system, and press and maintain the Boot button on the ESP32 chip. After that, copy the next command, paste it into the Command Immediate window, and press Enter.

py -3.13 -m esptool --chip ESP32 -- erase_flash

Within the above command, kind the right port quantity. You possibly can view the port quantity within the Arduino app. Open the Arduino app and go to Instruments > Port. Let’s say, the port is COM3, the command can be:

py -3.13 -m esptool --chip ESP32 --port COM3 erase_flash

The above command will take a while to erase the Flash Memory of the ESP32 chip. Don’t launch the Boot button on the ESP32 chip till the command executes efficiently.

That’s it. I hope this helps.

How to erase a program from ESP32?

You possibly can erase a program from ESP32 by means of the Command Immediate. First, set up Python on your system and join the ESP32 chip to your pc. Now, execute the required instructions to erase this system from the ESP32 reminiscence.

How many instances can ESP32 be flashed?

There isn’t any mounted knowledge in regards to the whole variety of erase cycles of the ESP32 chip. Nonetheless, the everyday quantity for this may be between 10000 to 100000 cycles. The write/erase cycles of the ESP32 chip additionally rely on a number of elements, corresponding to temperature, utilization situations, and so forth.

Learn subsequent: How to set up PL2303 (Prolific) driver on Home windows.



Source link

Share.
Leave A Reply

Exit mobile version