EPS32-C3 USB serial not writing
Posted: Tue Mar 28, 2023 9:01 pm
Hello,
I'm currently writing a simple serial passthrough program for the ESP32-C3 that reads from the integrated USB Serial/JTAG controller and writes to UART1, and vice versa. The code will gladly read data using but does not print any output to the console (checked using the IDF monitor and with PuTTY). Echoing the data back to UART1 confirms that it's read is working correctly, and the return from is nonzero (in this case 1). Does anyone have an idea as to why no data is sent to the PC via the USB-CDC?
Thanks!
I'm currently writing a simple serial passthrough program for the ESP32-C3 that reads from the integrated USB Serial/JTAG controller and writes to UART1, and vice versa. The code will gladly read data using
Code: Select all
usb_serial_jtag_read_bytes
Code: Select all
usb_serial_jtag_write_bytes
Code: Select all
usb_serial_jtag_write_bytes
Thanks!