Page 1 of 1

Basic hardware required for programming

Posted: Tue Nov 16, 2021 1:30 pm
by jpatel
Hi,

We have the ESP32C3-MINI-1 module. We have developed our customized hardware and soldered it on our PCB.

We have connected RX, TX, RTS, DTR to the program using the FTDI chip, but having problems with the flash program in esp32c3.
Also, connected pin no 8(EN) to high to chip enable.
I want to know what basic hardware is required to program the ESP32C3 chip first time in custom hardware.

I also have doubts about Bootloader, Is a bootloader available in ESP32C3 which can flash programs using UART?

Thank you,
Jignesh Patel

Re: Basic hardware required for programming

Posted: Wed Nov 17, 2021 4:46 am
by ESP_Sprite
That should work, although generally a 2-transistor circuit is used instead of a direct connection to DTR/RTS. If you want an alternative, you can simply connect GPIO18/19 directly to USB to use the USB-serial-JTAG converter built into the C3. The bootloader (in mask rom, so it's always there) can program flash using both the UART as well as the USB-serial-JTAG peripheral.

Re: Basic hardware required for programming

Posted: Mon Nov 22, 2021 5:04 am
by jpatel
Thank you ESP_Sprit,

I am able to successfully program to EPS32C3 using USB(D+, D-) and Uart along with transistor circuits.

Best Regards,
Jignesh Patel