ESP32 Can't upload a code

georgi_dragomirov
Posts: 1
Joined: Wed Oct 18, 2023 6:23 pm

ESP32 Can't upload a code

Postby georgi_dragomirov » Wed Oct 18, 2023 6:28 pm

Hi There,
This is my first post and I'm new in building custom PCB, so obviously not a very good in the design.
I have design a PCB with ESP32 WROOM. It just came afte r2 weeks of waiting, but i can't upload any code into it.
I'm using arduino IDE and can't upload even basic scetch. The error is: A fatal error occurred: Failed to connect to ESP32: Wrong boot mode detected (0x12)! The chip needs to be in download mode.
For troubleshooting steps visit: https://docs.espressif.com/projects/esp ... oting.html
Failed uploading: uploading error: exit status 2
Attachments
Schematic_Comprehensive_2023-10-18.png
Schematic_Comprehensive_2023-10-18.png (163.75 KiB) Viewed 4335 times

ESP_Sprite
Posts: 9766
Joined: Thu Nov 26, 2015 4:08 am

Re: ESP32 Can't upload a code

Postby ESP_Sprite » Thu Oct 19, 2023 3:18 am

That error message gives a nice link to a bunch of troubleshooting steps. Did you try to follow those already?

DrMickeyLauer
Posts: 168
Joined: Sun May 22, 2022 2:42 pm

Re: ESP32 Can't upload a code

Postby DrMickeyLauer » Thu Oct 19, 2023 8:00 am

Indeed, the troubleshooting guide is well written. I had the same problem with my ESP32S3 design yesterday – turns out my EE did use GPIO46, which is a strapping pin.

liebman
Posts: 18
Joined: Wed Dec 09, 2020 7:03 pm

Re: ESP32 Can't upload a code

Postby liebman » Thu Oct 19, 2023 12:25 pm

It looks like IO0 is not connected on the ESP32 module.

Who is online

Users browsing this forum: No registered users and 93 guests