Help with debugging "Unable to verify flash chip connection"

valesp
Posts: 1
Joined: Sun Feb 23, 2025 11:54 am

Help with debugging "Unable to verify flash chip connection"

Postby valesp » Sun Feb 23, 2025 12:30 pm

Hi folks,
I'm trying to upload a sketch on my ESP32 compiled in the Arduino IDE 2.3.4 under macOS Sequoia 15.3.
With an older ESP-WROOM-32 with a micro-USB connector it's working fine.
With a newer ESP32-WROOM-32D with USB type c connector it's not working.
That's the error message I'm getting:

Code: Select all

Sketch uses 320573 bytes (24%) of program storage space. Maximum is 1310720 bytes.
Global variables use 51992 bytes (15%) of dynamic memory, leaving 275688 bytes for local variables. Maximum is 327680 bytes.
esptool.py v4.5.1
Serial port /dev/cu.usbserial-110
Connecting.....
Chip is ESP32-D0WD-V3 (revision v3.0)
Features: WiFi, BT, Dual Core, 240MHz, VRef calibration in efuse, Coding Scheme None
Crystal is 40MHz
MAC: cc:db:a7:98:6a:60
Uploading stub...
Running stub...
Stub running...
Changing baud rate to 921600
Changed.

A fatal error occurred: Unable to verify flash chip connection (Serial data stream stopped: Possible serial noise or corruption.).
Failed uploading: uploading error: exit status 2
Any advice is greatly appreciated. If I can supply any other needed info please let me know.
Thanks in advance,
val

lbernstone
Posts: 1132
Joined: Mon Jul 22, 2019 3:20 pm

Re: Help with debugging "Unable to verify flash chip connection"

Postby lbernstone » Mon Feb 24, 2025 7:48 pm

Search on your computer for esptool.py. Open a terminal in that location, and run

Code: Select all

./esptool.py --baud 115200 flash_id
If this gives you that same error, then you either have
A) a very bad usb cable
B) something connected to one of the pins used by the flash (typ. gpio 6-11)
C) a hardware failure in the flash chip
Note that ESP32-WROOM-D is NRND. New boards really should have WROOM-E by this point, so it is very possible your board has a recycled module.

Who is online

Users browsing this forum: ChatGPT-User, PerplexityBot and 3 guests