i am trying to access the jtag functionality in "ESP32-C3-DevKitC-02" but a jtag port does not appear in the device manager.
i looked in the menuconfig and tried both usb_serial_jtag_port and usb serial/jtag controller
but does not see how to connect to the supposed onboard jtag controller
i tried replacing the silabs driver but that did not help too
i tried going with the getting started guides but the openocd doesn't find the jtag device.
if anyone knows how to use that and help, thanks.
ESP32-C3-DevKitC-02 is external jtag adapter required
-
- Posts: 9711
- Joined: Thu Nov 26, 2015 4:08 am
Re: ESP32-C3-DevKitC-02 is external jtag adapter required
That devkit by default connects to an USB-serial chip (the Silabs one) rather than directly to the ESP32. If you want to connect directly, either you can make your own cable connecting to GPIO18/19 (ref) or move 2 SMD resistors so the micro-USB port connects to it.
Re: ESP32-C3-DevKitC-02 is external jtag adapter required
Regarding changing the resistors, you can refer to the pictures. "us_uart_bridge.jpg" refers to the default setting when you buy a development board. If you want to use the integrated USB serial/JTAG on the micro-USB port of the board, you need to change the resistors to the orientation shown in "usb_serial_jtag.jpg". The resistors are quite small, so creating your own cable and connecting it as ESP_Sprite suggested, might be easier.
- Attachments
-
- usb_uart_bridge.jpg (922.06 KiB) Viewed 2870 times
-
- usb_serial_jtag.jpg (795.83 KiB) Viewed 2870 times
Re: ESP32-C3-DevKitC-02 is external jtag adapter required
yes, this was my problem.
i finally connected a custom patch cable to gpio18/19 and it works now
thank you.
i finally connected a custom patch cable to gpio18/19 and it works now
thank you.
Re: ESP32-C3-DevKitC-02 is external jtag adapter required
it is now recognized and working.
my only problem is that is runs with openocd only when i boot into bootloader mode and in normal flash boot mode openocd does not work.
but then I cannot debug the actual program because it runs the boot program.
anyone encountered this?
my only problem is that is runs with openocd only when i boot into bootloader mode and in normal flash boot mode openocd does not work.
but then I cannot debug the actual program because it runs the boot program.
anyone encountered this?
-
- Posts: 9711
- Joined: Thu Nov 26, 2015 4:08 am
Re: ESP32-C3-DevKitC-02 is external jtag adapter required
Possibly your program is reconfiguring the GPIO18/19 pins?
Who is online
Users browsing this forum: No registered users and 44 guests