Page 1 of 1

ESP32-C3 mini not programming II A fatal error occurred: Could not open COM5, the port doesn't exist

Posted: Wed Apr 09, 2025 9:42 am
by Barczi
I designed custom esp32 c3 mini board. When I try to program it through Arduino IDE. I can select it and it shows on COM5 (on every usb port it shows COM5, when I plug devboard it shows diffrent COMport), when I click to upload it shows:
Could not open COM5, the port doesn't exist

I can program my esp32 devboard no problem.

There is a schematic of my board in the attachments.
I also tried to program it through soldering usb wires to testpads for usb to ensure it isn't the usb-c connectection.

Re: ESP32-C3 mini not programming II A fatal error occurred: Could not open COM5, the port doesn't exist

Posted: Thu Apr 10, 2025 12:09 am
by Sprite
(Some unrelated issues with your board: You're missing 5.1K resistors on the CC lines of the USB-C port; the board may work with an USB-C to USB-A cable, but it will not work with an USB-C to USB-C cable. Also, I'd advise to add a flyback diode over the motor otherwise you run the risk of blowing up T5. You might also want to bring out TXD0, RXD0 and GPIO9 to some test pads.)

Furthermore, an unprogrammed ESP32-C3 will bootloop (trying to load a program from flash over and over again, in case something went wrong with the flash power-up) so you either need to try programming it until you happen to get the timing just right, or pull down GPIO9 and reset it to put it into download mode manually.