Page 1 of 1

ESP32 mini D1 re-program problems

Posted: Mon Jul 24, 2023 8:37 pm
by neohal
Hi everyone,

Please your comments or help. I´m new in ESP32 architecture and programming.
I´ve been trying to program a board "WeMos ESP32 mini D1" using Arduino IDE, at the begining everything went well but now I need to modify some parts of the program and I can´t re-program the board.

I got the folloeing message:

Sketch uses 797829 bytes (60%) of program storage space. Maximum is 1310720 bytes.
Global variables use 46468 bytes (14%) of dynamic memory, leaving 281212 bytes for local variables. Maximum is 327680 bytes.
esptool.py v4.5.1
Serial port /dev/cu.usbserial-02NRIHVZ
Connectina..
A fatal error occurred: Failed to connect to ESP32: No serial data received.
For troubleshooting steps visit: https://docs.espressif.com/projects/esp ... oting.html
Failed uploading: uploading error: exit status 2

Checking with the Serial Monitor I could see that the system is working and using the serial port and is not in program mode.
Is there any way to re-program it or re-flash ?

Appreciate any comment.

Re: ESP32 mini D1 re-program problems

Posted: Tue Jul 25, 2023 1:01 am
by ESP_Sprite
If your board has buttons, try holding the 'boot' button while programming, see if that helps.

Re: ESP32 mini D1 re-program problems

Posted: Wed Jul 26, 2023 8:36 pm
by neohal
Thx Friend, but I pressed the only one button and the same result. I put GPIO0 pin to "0" but the same.
Any suggestion ? is there any way to re-flash or erase the board if the system is running a program ? any way to select program mode or some similar ?

Appreciate any help