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?
Routing of USB-UART or USB-JTAG
-
- Posts: 9739
- Joined: Thu Nov 26, 2015 4:08 am
Re: Routing of USB-UART or USB-JTAG
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 34 guests