ESP32-S3 CONSOLE using USB/JTAG port
Posted: Wed Jun 19, 2024 3:12 pm
Hello,
in my custom board based on ESP32-S3 I have a USB to UART device connected to the UART0. Then I have the inner USB/JTAG connected which allows me JTAG debugging.
At the moment I use the external USB to UART as shell console. I see the log on both UART (the UART0 and the port created by the internal USB).
Now I would use to the port created by the internal USB/JTAG (IO19 and IO20) as a UART to send/receive commands. How can I control this port? I can create a Uart config as uart_config_t uart_config = {...} but how have I to install (uart_driver_install(...))? Is there a specific port number for this port? In particular there are no specific pins for this port to use in the uart_set_pin() function.
in my custom board based on ESP32-S3 I have a USB to UART device connected to the UART0. Then I have the inner USB/JTAG connected which allows me JTAG debugging.
At the moment I use the external USB to UART as shell console. I see the log on both UART (the UART0 and the port created by the internal USB).
Now I would use to the port created by the internal USB/JTAG (IO19 and IO20) as a UART to send/receive commands. How can I control this port? I can create a Uart config as uart_config_t uart_config = {...} but how have I to install (uart_driver_install(...))? Is there a specific port number for this port? In particular there are no specific pins for this port to use in the uart_set_pin() function.