Closed scottfeldman closed 5 months ago
USB Serial on ESP32-C3 is not available because USB Serial/JTAG Controller
is not implemented now.
https://wiki.seeedstudio.com/XIAO_ESP32C3_Getting_Started/#resources
USB Serial on ESP32-C3 is not available because
USB Serial/JTAG Controller
is not implemented now.https://wiki.seeedstudio.com/XIAO_ESP32C3_Getting_Started/#resources
What would it take to add this support?
I don't know much about it because there is not much documentation.
https://files.seeedstudio.com/wiki/XIAO_WiFi/Resources/esp32-c3_datasheet.pdf
Perhaps there is a hint in the source code around
https://github.com/espressif/arduino-esp32
It will probably finally be implemented in machine/machine_atsamd51.go, for example.
But first, we need to make sure that code like xxx.WriteByte('a')
works.
@sago35 you are quite correct.
Further dev info can be found here:
https://github.com/espressif/esp-idf/blob/master/components/soc/esp32c3/include/soc/usb_serial_jtag_reg.h https://github.com/espressif/esp-idf/blob/master/components/hal/esp32c3/include/hal/usb_serial_jtag_ll.h
I think I looked into this once, and IIRC it was very similar to the UART but shows up as a USB-CDC endpoint.
This was already implemented in release v0.31 so now closing. Thank you!
I'm not seeing any serial output for xiao-esp32c3.
I expected to see "hello world!" printed to monitor every second.
No output.
Tried same on xiao board (not xiao-esp32c3) and I see output.