Page 1 of 1

First Upload Ends With Error Code-2 - Custom PCB

Posted: Mon Jul 22, 2024 7:44 pm
by boonyboy
Hello, with my first attempt at making a PCB comes a couple issues. I've added a a ESP32-WROOM-32E to the board which is powered via micro-usb or batteries. I know the power works correctly because the LED i've added turns on and when checking with a multimeter power on the esp chip looks good. However when trying to upload a test script via Arduino IDE i keep getting an "exit status 2" whether i hold boot button or not. I was hoping for some ideas on if there is something else required before uploading the first script or if my schematic is just messed up. Attached is the schematic for reference.

Any direction would be helpful!

I kind of expect a worst case scenario situation given it's my first attempt but would love feedback regardless.

Re: First Upload Ends With Error Code-2 - Custom PCB

Posted: Tue Jul 23, 2024 3:09 am
by ESP_Sprite
I could be wrong, but I see no link between the IO0 and IO0_Button nets.

Re: First Upload Ends With Error Code-2 - Custom PCB

Posted: Tue Jul 23, 2024 3:23 pm
by boonyboy
Haha! I would imagine that is the issue, can't believe I missed the simple error. I'll solder a wire to it for a check and see if the "crappy" way will work.