Comments on: ESP32: Erase Flash Memory (Factory Reset) https://randomnerdtutorials.com/esp32-erase-flash-memory/ Learn ESP8266, ESP32, Arduino, and Raspberry Pi Wed, 02 Oct 2024 01:16:27 +0000 hourly 1 https://wordpress.org/?v=6.8.1 By: macca https://randomnerdtutorials.com/esp32-erase-flash-memory/#comment-963528 Wed, 02 Oct 2024 01:16:27 +0000 https://randomnerdtutorials.com/?p=126840#comment-963528 In reply to Carsten Meinicke.

If windows doesn’t see the ESP32 then it won’t be seen by the IDE either. I’ve had this happen and this is how I fixed it. When you look in the device manager what you see is “Port Alias’s” which are created from the driver you install. These can be corrupted. Unplug all the ESP’s you have connected and any USB device that’s not needed then open device manager. Now up top under “View” select “Show Hidden” Now under ports you should see greyed out the CP2100 alias that is corrupt or not working take a note of the COM number and see if there is another alias with the same number and if there is delete them both but on the next window don’t select delete driver. Once thats all done plug in the ESP32 and it should auto create a new COM alias on the next available number. That’s it it should be good to go.

]]>
By: Carsten Meinicke https://randomnerdtutorials.com/esp32-erase-flash-memory/#comment-962679 Sun, 29 Sep 2024 08:51:57 +0000 https://randomnerdtutorials.com/?p=126840#comment-962679 Hallo, I own a “NodeMCU-32S” that was trapped in an endless reboot, so I used your instructions to erease it by using “python -m esptool –chip esp32 erase_flash”. All went fine and it is ereased now. But now either Windows or Arduino IDE will recocnize the “NodeMCU-32S” Chip anymore. Windows 11 Devicemanger tells me it is a “Microsoft Serial Mouse”. Arduino IDE tells me an “unknown Device” on COM3. What can I do to solve these Problem? Installing Drivers new does not help. The installation of the CP210x Driver does not work. Nothing I tried so far was succesful.

]]>
By: Pierpaolo https://randomnerdtutorials.com/esp32-erase-flash-memory/#comment-940718 Mon, 22 Jul 2024 17:23:08 +0000 https://randomnerdtutorials.com/?p=126840#comment-940718 Ciao, complimenti per i vostri articoli, sempre chiari. Ho cancellato la memoria di un ESP32 WROOM 32D come da articolo ma alla fine non mi funziona più il bluetoothmentre il resto funziona regolarmente. Cosa posso fare?
Hi, congratulations for your articles, always clear. I deleted the memory of an ESP32 WROOM 32D as per the article but in the end the bluetooth no longer works while the rest works normally. What can I do?

]]>
By: Fernando https://randomnerdtutorials.com/esp32-erase-flash-memory/#comment-928965 Fri, 21 Jun 2024 20:34:55 +0000 https://randomnerdtutorials.com/?p=126840#comment-928965 In reply to Daniel.

Hola Daniel, gracias por la info me sirve de mucho! tengo una pregunta adicional yo no cuento con la tarjeta que aparece en el video de Xtronical en ese caso como hago?? podrias ayudarme

]]>
By: Amar https://randomnerdtutorials.com/esp32-erase-flash-memory/#comment-918970 Tue, 28 May 2024 17:19:13 +0000 https://randomnerdtutorials.com/?p=126840#comment-918970 Hello, I am using the ESP32 wroom (30 pins – Dev Module). I erased the Flash Memory by writing the codes on my windows terminal (codes: python -m esptool –chip esp32 erase_flash).
now whenver I connect my esp32 to my laptop with the USB cable it floods my serial monitor screen with “e (7238) task_wdt: esp_task_wdt_reset(763): task not found” repeatedly almost for 20 seconds then after it runs my original codes

is there any solution to fix it?

]]>
By: Daniel https://randomnerdtutorials.com/esp32-erase-flash-memory/#comment-872125 Wed, 15 Nov 2023 07:42:12 +0000 https://randomnerdtutorials.com/?p=126840#comment-872125 In reply to marcel.

Hola Marcel, lo que me funciono a mí es conectando un condensador entre la toma de tierra y el reset, el condensador debe ser de 10 microfaradios, dependiendo de microcontrolador debes conectarlo a otras tomas, busca en Youtube “Fixing a hardware ESP32 Upload problem” el vídeo del usuario Xtronical ahí lo explican muy bien.

]]>
By: Sara Santos https://randomnerdtutorials.com/esp32-erase-flash-memory/#comment-872092 Wed, 15 Nov 2023 04:18:47 +0000 https://randomnerdtutorials.com/?p=126840#comment-872092 In reply to marcel.

Hi.
Try to press the BOOT/FLASH button several times during the erasin process.
Regards,
Sara

]]>
By: marcel https://randomnerdtutorials.com/esp32-erase-flash-memory/#comment-871959 Tue, 14 Nov 2023 10:12:52 +0000 https://randomnerdtutorials.com/?p=126840#comment-871959 In reply to Sara Santos.

hola, no consigo borrar el ESP32, es nuevo y se haquedado bloqueado por una mala programación. Lo he probado instalando arduido IDE, python, con la herramienta online, con el grabador flash…y nada, se queda colgado mientras salen puntos.
no consigo que nada funcione, simplemente no responde, detecta el puerto COM utilizado pero no se deja borrar.
¿puede haberse estropeado definitivamente o se puede resetear seguro?
necesito ayuda, gracias.

]]>
By: jinto https://randomnerdtutorials.com/esp32-erase-flash-memory/#comment-863324 Sun, 01 Oct 2023 06:54:12 +0000 https://randomnerdtutorials.com/?p=126840#comment-863324 In reply to Sara Santos.

i have same problem.
C:\Users\claw>python -m esptool –chip esp32 erase_flash
esptool.py v4.6.2
Found 4 serial ports
Serial port COM9
COM9 failed to connect: Could not open COM9, the port doesn’t exist
Serial port COM16
Connecting………………………………..
COM16 failed to connect: Failed to connect to ESP32: No serial data received.
For troubleshooting steps visit: https://docs.espressif.com/projects/esptool/en/latest/troubleshooting.html
Serial port COM15
Connecting…
COM15 failed to connect: Write timeout
Serial port COM1
Connecting………………………………..
COM1 failed to connect: Failed to connect to ESP32: No serial data received.
For troubleshooting steps visit: https://docs.espressif.com/projects/esptool/en/latest/troubleshooting.html

A fatal error occurred: Could not connect to an Espressif device on any of the 4 available serial ports.

]]>
By: Lamine BOUDA https://randomnerdtutorials.com/esp32-erase-flash-memory/#comment-854511 Thu, 10 Aug 2023 17:21:41 +0000 https://randomnerdtutorials.com/?p=126840#comment-854511 In reply to James Cotter.

Hello! sara thanks for your post.

i am coming to add

james firstly open your cmd
–> write “python” and enter (you need internet) (start to download python 3XXX)
–> after in your write “pip install esptool” and enter ( installing esptool)
–> after write “pip install setuptools” and enter ( installing setuptools)
–> write “python -m esptool” and enter
–>follow this Erasing the ESP32 Flash of Sara
–>in your cmd write this commande , change COMXX by your COM and enter
“python -m esptool –port COMXX write_flash_status –non-volatile 0”

Regards,
Lamine.

]]>