Page 1 of 1

ESP32 Can't upload a code

Posted: Wed Oct 18, 2023 6:28 pm
by georgi_dragomirov
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

Re: ESP32 Can't upload a code

Posted: Thu Oct 19, 2023 3:18 am
by ESP_Sprite
That error message gives a nice link to a bunch of troubleshooting steps. Did you try to follow those already?

Re: ESP32 Can't upload a code

Posted: Thu Oct 19, 2023 8:00 am
by DrMickeyLauer
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.

Re: ESP32 Can't upload a code

Posted: Thu Oct 19, 2023 12:25 pm
by liebman
It looks like IO0 is not connected on the ESP32 module.