logo elektroda
logo elektroda
X
logo elektroda

Using the built-in USB Serial/JTAG Controller on the ESP32-C3 chip like a UART

TvWidget 2814 30
ADVERTISEMENT
Treść została przetłumaczona polish » english Zobacz oryginalną wersję tematu
  • #31 19494888
    TvWidget
    Level 38  
    I think I managed to take the next step but full success is probably not there yet.
    I used the UsbDriverTool program. In the list of drivers this USB JTAG had some sort of checkmark. I think it was an exclamation mark. I called up the install Libusb-WinUSB. Now the driver is called "USB JTAG/serial debug unit(Libusb- WinUSB).
    Eclipse now shows a lot of messages:
    Code: Python
    Log in, to see the code
    .
    Code: Python
    Log in, to see the code
    .
    The program stopped at the main function but so far I have not been able to achieve anything else
  • ADVERTISEMENT

Topic summary

The ESP32-C3 chip features a built-in USB Serial/JTAG Controller that can be utilized similarly to a UART for console output. To enable this functionality, users must select CONFIG_ESP_CONSOLE_USB_SERIAL_JTAG in the sdkconfig, which is available in ESP-IDF version 4.4 and later. Programming via USB requires the chip to be in "Download Boot" mode, which can be triggered by manipulating GPIO states during reset. Users have reported challenges with USB driver configurations and JTAG debugging setups in Eclipse, particularly regarding driver recognition and communication issues. The discussion also touches on the use of Arduino Core for ESP32 and the importance of ensuring proper installation of dependencies for successful operation.
Summary generated by the language model.
ADVERTISEMENT