# ESP32 reprogramming help - solved

**URL:** <https://forum.arduino.cc/t/esp32-reprogramming-help-solved/1464199>\
**Category:** General Guidance\
**Created:** [October 18, 2026, 5:51pm UTC](https://forum.arduino.cc/t/esp32-reprogramming-help-solved/1464199 "2026-10-18T17:51:07Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![kpg](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/kpg/32/1098867_2.png) [@kpg](https://forum.arduino.cc/u/kpg)\
**Post date:** [October 18, 2026, 5:51pm UTC](https://forum.arduino.cc/t/esp32-reprogramming-help-solved/1464199/1 "2026-10-18T17:51:07Z")

</div>

I have a ESP32 board.

Previously the library i used was a DO IT ESP32DevkitV1. I have uploaded this in the new Arduino IDE I am now using.

I am connected to com 1.

It was a while ago but from memory the ESP needs the boot button held to start a sketch upload, so i did that.

The driver in the ESP is a CP2102 which I know is OK as it will interface to a Pi I am running to read data from the ESP.

I get the following error message.

Sketch uses 281704 bytes (21%) of program storage space. Maximum is 1310720 bytes.  
Global variables use 22580 bytes (6%) of dynamic memory, leaving 305100 bytes for local variables. Maximum is 327680 bytes.  
esptool v5.3.1  
Serial port COM1:  
Connecting......................................

A fatal error occurred: Failed to connect to ESP32: No serial data received.  
For troubleshooting steps visit: [Troubleshooting - ESP32 - — esptool latest documentation](https://docs.espressif.com/projects/esptool/en/latest/troubleshooting.html)  
Failed uploading: uploading error: exit status 2

Any debug help would be greatly appreciated.

---

<div class="post-metadata">

**Author:** ![kmin](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/kmin/32/1147370_2.png) [@kmin](https://forum.arduino.cc/u/kmin)\
**Post date:** [October 18, 2026, 6:17pm UTC](https://forum.arduino.cc/t/esp32-reprogramming-help-solved/1464199/2 "2026-10-18T18:17:59Z")

</div>

Are you sure esp is on com1?  
Do you have CP2102 driver installed on your operating system?  
Good data cable?  
Selected correct board (Esp32 dev module)?

---

<div class="post-metadata">

**Author:** ![kpg](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/kpg/32/1098867_2.png) [@kpg](https://forum.arduino.cc/u/kpg)\
**Post date:** [October 18, 2026, 6:37pm UTC](https://forum.arduino.cc/t/esp32-reprogramming-help-solved/1464199/3 "2026-10-18T18:37:21Z")

</div>

Kmin,

I just remembered I had a new PC install. The driver was wiped!!

For anyone else the driver is here. [Pololu - CP2102 USB-to-Serial Bridge Driver Installation](https://www.pololu.com/docs/0j7/all#2)

All good now thanks.

---

<div class="post-metadata">

**Author:** ![kmin](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/kmin/32/1147370_2.png) [@kmin](https://forum.arduino.cc/u/kmin)\
**Post date:** [October 18, 2026, 6:38pm UTC](https://forum.arduino.cc/t/esp32-reprogramming-help-solved/1464199/4 "2026-10-18T18:38:44Z")

</div>

You're welcome.
