Page 1 of 1

cant flash ESP32-C3 via OTA/ wifi

Posted: Sun Apr 27, 2025 6:55 pm
by SebastianM
Hello y'all!

I managed to get a few ESP32-C3 boards from aliexpress before the tarrifs, and everything is working great so far, except programming via OTA / wifi.

Thats the board that I bought:
https://www.aliexpress.us/item/32568073 ... pt=glo2usa

What I did so far:
- flash the OTAbasic sample from the Arduino IDE via usb-c (ssid and pw are set)
- verify that the esp32 got assigned an IP address
- I can successfully ping the esp32

Then I try to flash the same sketch, but this time I select the ESP32 @192.168.0.197 from the "port" menu.
Compiling starts, but after a while it always errors out with :

Uploading: [========= ] 15%
Uploading: [========= ] 15%
Uploading: [========= ] 15%
13:53:23 [ERROR]: Error Uploading: [Errno 32] Broken pipe
Failed uploading: uploading error: exit status 1


Not sure if it makes sense to provide the sketch that I used, as its the standard sample that comes with the arduino ide.
Wifi and power supply are both stable. Flashing via USB-C works like a charm....

Any ideas what the issue might be?

Thx in advance!
Sebastian

Re: cant flash ESP32-C3 via OTA/ wifi

Posted: Tue May 13, 2025 5:24 pm
by lbernstone
Set Core Debug level to verbose in the Tools menu and upload new firmware. You should get additional information in the log about what is failing.