Hello and thanks in advance for the help. I recently entered my ESP32- C3 mini development kit. I’m sure it’s configured to use the CP2102 USB interface, so R1 and R4 are installed. I want to use the internal USB JTAG ...Read more
Hello and thanks in advance for the help.
I recently entered my ESP32- C3 mini development kit. I’m sure it’s configured to use the CP2102 USB interface, so R1 and R4 are installed. I want to use the internal USB JTAG interface which I understand requires the removal of R1 and R4 and the installation of R2 and R3( though I’m not sure this is the case). This would also free up RXD and TXD, which I need to use.
I haven’t been suitable to find documentation on how to use the Devkits with the USB JTAG, nor have I been suitable to determine the position of R1, R2, R3, and R4. I’ve tried” beeping out” the circuit but would prefer not to ruin my board.
Is there any guidance as to where those components are and/ or how to use a USB JTAG?
Read less
The PCB layout of that dev board can be found then. As far as I can see, you need to rotate those resistors 90 degrees to move them from the red to the green position in this image: You probably also want to disconnect the RxD/TxD pins from the CP2104 to the ESP32C3 if you want to use those pins. YoRead more
The PCB layout of that dev board can be found then. As far as I can see, you need to rotate those resistors 90 degrees to move them from the red to the green position in this image:
You probably also want to disconnect the RxD/TxD pins from the CP2104 to the ESP32C3 if you want to use those pins. You can do that by removing R21/R22, I marked those in blue.
The built-in USB thing should more or less work as an extra UART inside the ESP32C3 and as a general CDC- ACM serial port(=no drivers needed) on the PC side. You do need to use the latest master of ESP-IDF to get full support for it, and if you specifically want to select the device as your press output UART in menuconfig, else, your debug messages will go to UART0.
On the JTAG side, just useesp_usb_jtag. cfg as your JTAG adapter, config file in OpenOCD and you should be good.
See lessStill, feel free to post it here, If you need any further help. Support for the built-in USB-to-JTAG thing on the C3 is enough new, so I’d be interested in seeing how you fare with it.