Routing of USB-UART or USB-JTAG

espmich
Posts: 4
Joined: Tue Jan 16, 2024 8:32 pm

Routing of USB-UART or USB-JTAG

Postby espmich » Mon Jan 22, 2024 7:08 pm

Goal

I want to access a ESP32-C6 with a USB connection, to program (from the bootloader) and access a serial console (during the runtime.) I'm trying to decide whether to route the UART pins to a CP2101N UART bridge or use the chip's internal USB transceiver, called USB-JTAG I guess.

Serial Console

Because either (USB-UART or USB-JTAG) can be used to program the chip, the question is if either choice is equal in terms of accessing a serial console.

ESP-IDF API

The ESP-IDF implements a Console System API, which implies that either USB-UART or USB-JTAG methods can be used.

Question

I already know that the USB-JTAG requires no extra UART bridge part to expose the ESP32-C6 serial output to USB.

Are there any advantages to using one of the two methods for a serial console?

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

Re: Routing of USB-UART or USB-JTAG

Postby ESP_Sprite » Tue Jan 23, 2024 3:04 am

You probably want to read this. If these limitations aren't an issue in your project, I'd go for the internal solution.

Who is online

Users browsing this forum: Google [Bot] and 39 guests