Can't upload firmware on ESP32-WROOM-32UE with CP2102N

AyubowanPro
Posts: 5
Joined: Fri Nov 26, 2021 4:25 pm

Can't upload firmware on ESP32-WROOM-32UE with CP2102N

Postby AyubowanPro » Mon Jun 20, 2022 7:19 pm

Hello,

I designed a custom ESP32 board with a CP2102N bridge (schematic attached). I'm using an ESP32-WROOM-32UE. My schematic is based on the ESP32-Devkitc-V4 board from Espressif (schematic attached). When I plug the board to my computer (with VCC connected to a 7.2V power supply), the CP2102N is correctly showing on the device manager. However, I didn't manage to upload any code to my ESP32. I tried with autostart (without pressing any button) and by using enable and boot button, but it is not working. The arduino IDE is displaying a serial data error. I heard that I should desolder the capacitor in parallel with the boot button (C6 100nF). Is this cap causing the issue or there is a schematic mistake ?

OS: Windows 10
Board: custom (based on esp32-devkitc-v4)
USB/UART bridge: CP2102N-A02-GQFN24R
IDE: Arduino

Thank you for helping me
Attachments
esp32_devkitc_v4-sch.pdf
(72.17 KiB) Downloaded 242 times
Schematic custom ESP32 board.pdf
(110.68 KiB) Downloaded 252 times

mikemoy
Posts: 627
Joined: Fri Jan 12, 2018 9:10 pm

Re: Can't upload firmware on ESP32-WROOM-32UE with CP2102N

Postby mikemoy » Tue Jun 21, 2022 4:24 am

Dont know what you have connected to IO2. But its one of the boot strapping pins.

GPIO2 must also be either left unconnected/floating or driven Low to enter the serial bootloader.
In normal boot mode (GPIO0 high), GPIO2 is ignored.
Extra attention is to be taken while using the GPIO2; if it’s pulled up in your project, then you will be unable to program your ESP32 board.

The other thing I would try is put a 10k pullup on IO0.

Who is online

Users browsing this forum: axellin, Baidu [Spider] and 103 guests