Basic hardware required for programming

jpatel
Posts: 5
Joined: Mon May 10, 2021 11:39 am

Basic hardware required for programming

Postby jpatel » Tue Nov 16, 2021 1:30 pm

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

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

Re: Basic hardware required for programming

Postby ESP_Sprite » Wed Nov 17, 2021 4:46 am

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.

jpatel
Posts: 5
Joined: Mon May 10, 2021 11:39 am

Re: Basic hardware required for programming

Postby jpatel » Mon Nov 22, 2021 5:04 am

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

Who is online

Users browsing this forum: No registered users and 125 guests