# I'm getting an error on ESP32

**URL:** <https://forum.arduino.cc/t/im-getting-an-error-on-esp32/1451595>\
**Category:** 3rd Party Boards\
**Created:** [July 10, 2026, 8:51pm UTC](https://forum.arduino.cc/t/im-getting-an-error-on-esp32/1451595 "2026-07-10T20:51:04Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![fluvrts](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/fluvrts/32/1277288_2.png) [@fluvrts](https://forum.arduino.cc/u/fluvrts)\
**Post date:** [July 10, 2026, 8:51pm UTC](https://forum.arduino.cc/t/im-getting-an-error-on-esp32/1451595/1 "2026-07-10T20:51:04Z")

</div>

I'm getting this error.

 ![image](https://europe1.discourse-cdn.com/arduino/original/4X/6/8/4/684023dc3eba28dd2385d19635696e4b07d7b7ae.png)  
I'm trying to flash the bin file but it's not working. I'm trying to do it through the Arduino IDE but it's not working. I've tried holding down the boot button, then pressing the reset button, and then trying again, but it's still not working. Is there a possibility of bricking the device? Bruce, I'm trying to flash the firmware but unfortunately it's not working.

---

<div class="post-metadata">

**Author:** ![InquisitiveMind](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/inquisitivemind/32/1272398_2.png) [@InquisitiveMind](https://forum.arduino.cc/u/InquisitiveMind)\
**Post date:** [July 10, 2026, 9:20pm UTC](https://forum.arduino.cc/t/im-getting-an-error-on-esp32/1451595/2 "2026-07-10T21:20:12Z")

</div>

> [@fluvrts](#):
>
> I'm getting this error.

You can try a few simple things first, as they often solve this kind of problem:

- Use a different USB cable (preferably one known to support data transfer).
- Disconnect anything connected to the ESP32 GPIO pins.
- Select the correct ESP32 board in the IDE.
- Try a lower upload speed (e.g. 115200).
- If your board package allows it, try changing the flash mode (QIO ↔ DIO).

The important part of your log is:

> `WARNING: Failed to communicate with the flash chip`

The ESP32 itself is detected and the bootloader starts correctly, so this doesn't look like a typical "BOOT button" issue. The upload only fails once communication with the external flash begins.

---

<div class="post-metadata">

**Author:** ![Wawa](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/wawa/32/1211303_2.png) [@Wawa](https://forum.arduino.cc/u/Wawa)\
**Post date:** [July 10, 2026, 9:20pm UTC](https://forum.arduino.cc/t/im-getting-an-error-on-esp32/1451595/3 "2026-07-10T21:20:38Z")

</div>

Hi, and welcome to the forum.

Exactly which ESP32 board are you using (picture or web link).  
There are many ESP32 variants.  
Which board did you select in the IDE.  
Which partition scheme did you select.  
"Maximum is 31445728" points to larger than the default 4Mb flash (with OTA).  
Posting the sketch (inside code tags!!!) could help.

---

<div class="post-metadata">

**Author:** ![jim-p](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/jim-p/32/922840_2.png) [@jim-p](https://forum.arduino.cc/u/jim-p)\
**Post date:** [July 11, 2026, 8:45am UTC](https://forum.arduino.cc/t/im-getting-an-error-on-esp32/1451595/4 "2026-07-11T08:45:50Z")

</div>

Please, no screen shots of code or messages.

Click on the Copy Error Messages button then come back here and click on \<CODE/ \> icon and do a paste where it tells you to.

 ![image](https://europe1.discourse-cdn.com/arduino/original/4X/3/d/a/3da76c0cab5cb0f8d8ffd9d500f84657951fef80.png)

```arduino
type or paste code here

```

---

<div class="post-metadata">

**Author:** ![PaulRB](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/paulrb/32/216330_2.png) [@PaulRB](https://forum.arduino.cc/u/PaulRB)\
**Post date:** [July 11, 2026, 7:17pm UTC](https://forum.arduino.cc/t/im-getting-an-error-on-esp32/1451595/5 "2026-07-11T19:17:40Z")

</div>

> [@fluvrts](#):
>
> Bruce, I'm trying to

Bruce who?

I don't think Springsteen, Willis or Wayne are forum members! 😉

---

<div class="post-metadata">

**Author:** ![loveforcircuits](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/loveforcircuits/32/1127286_2.png) [@loveforcircuits](https://forum.arduino.cc/u/loveforcircuits)\
**Post date:** [July 13, 2026, 5:59pm UTC](https://forum.arduino.cc/t/im-getting-an-error-on-esp32/1451595/6 "2026-07-13T17:59:03Z")

</div>

Didn't pressing the RST button work?

---

<div class="post-metadata">

**Author:** ![fluvrts](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/fluvrts/32/1277288_2.png) [@fluvrts](https://forum.arduino.cc/u/fluvrts)\
**Post date:** [July 13, 2026, 7:39pm UTC](https://forum.arduino.cc/t/im-getting-an-error-on-esp32/1451595/7 "2026-07-13T19:39:26Z")

</div>

No dont work

---

<div class="post-metadata">

**Author:** ![fluvrts](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/fluvrts/32/1277288_2.png) [@fluvrts](https://forum.arduino.cc/u/fluvrts)\
**Post date:** [July 13, 2026, 7:42pm UTC](https://forum.arduino.cc/t/im-getting-an-error-on-esp32/1451595/8 "2026-07-13T19:42:05Z")

</div>

I'm using an ESP32 WROOM U model. I selected the ESP32 Dev Module in the Arduino IDE. However, even after trying various ESP32 flasher applications, I'm getting the same error.

---

<div class="post-metadata">

**Author:** ![fluvrts](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/fluvrts/32/1277288_2.png) [@fluvrts](https://forum.arduino.cc/u/fluvrts)\
**Post date:** [July 13, 2026, 7:47pm UTC](https://forum.arduino.cc/t/im-getting-an-error-on-esp32/1451595/9 "2026-07-13T19:47:30Z")

</div>

![image](https://europe1.discourse-cdn.com/arduino/original/4X/4/8/a/48afecf65bf68dbb8ad94dde1ab113d192e101e4.jpeg)

---

<div class="post-metadata">

**Author:** ![Wawa](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/wawa/32/1211303_2.png) [@Wawa](https://forum.arduino.cc/u/Wawa)\
**Post date:** [July 14, 2026, 12:44am UTC](https://forum.arduino.cc/t/im-getting-an-error-on-esp32/1451595/10 "2026-07-14T00:44:56Z")

</div>

I never used or had to use anything else than the Arduino IDE.

Holding boot and pressing reset for a second or plugging in USB while holding the reset button. always worked for me.

Did you already try a different USB cable.  
Charge-only of course won't work, but cheap, long and flimsy might not work too.

You can try uploading with "erase all flash" **once** (set it back to normal after that).

---

<div class="post-metadata">

**Author:** ![loveforcircuits](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/loveforcircuits/32/1127286_2.png) [@loveforcircuits](https://forum.arduino.cc/u/loveforcircuits)\
**Post date:** [July 14, 2026, 5:14pm UTC](https://forum.arduino.cc/t/im-getting-an-error-on-esp32/1451595/11 "2026-07-14T17:14:30Z")

</div>

It can be a faulty USB cable or maybe the board itself is damaged because usually pressing the RST button solves this kinda problems.
