ESP32 mini D1 re-program problems

neohal
Posts: 2
Joined: Mon Jul 24, 2023 8:28 pm

ESP32 mini D1 re-program problems

Postby neohal » Mon Jul 24, 2023 8:37 pm

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.

ESP_Sprite
Posts: 9725
Joined: Thu Nov 26, 2015 4:08 am

Re: ESP32 mini D1 re-program problems

Postby ESP_Sprite » Tue Jul 25, 2023 1:01 am

If your board has buttons, try holding the 'boot' button while programming, see if that helps.

neohal
Posts: 2
Joined: Mon Jul 24, 2023 8:28 pm

Re: ESP32 mini D1 re-program problems

Postby neohal » Wed Jul 26, 2023 8:36 pm

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

Who is online

Users browsing this forum: Bing [Bot] and 50 guests