Page 2 of 2

Re: ESP32-C3 - Access Built in USB CDC / Serial Port?

Posted: Sun Feb 13, 2022 7:36 am
by Sprite
Where is the /dev/usbserjtag? You mean upper computer behavior?
If I want to use esp32-c3 to monitor upper computer and I don't want to use scanf, gets, etc. How can I realization this behavior pass through VFS?
/dev/usbserjtag is the VFS node the USB serial-JTAG thing is on. I have no idea what 'monitor upper computer' means.

Re: ESP32-C3 - Access Built in USB CDC / Serial Port?

Posted: Tue Feb 15, 2022 8:26 am
by wangshuoran
Where is the /dev/usbserjtag? You mean upper computer behavior?
If I want to use esp32-c3 to monitor upper computer and I don't want to use scanf, gets, etc. How can I realization this behavior pass through VFS?
/dev/usbserjtag is the VFS node the USB serial-JTAG thing is on. I have no idea what 'monitor upper computer' means.
hello, upper computer mean the PC or commander send cmd to esp32. I don't have a few resource with control /dev/usbserjtag, I don't know whether it exist in esp-idf. Can I use https://docs.espressif.com/projects/esp ... e/vfs.html to control it. Do you have any demo to control it?

Thank you!

Re: ESP32-C3 - Access Built in USB CDC / Serial Port?

Posted: Tue May 06, 2025 2:06 pm
by RobertPalmerJr
Is it possible to access/monitor the state of the DTR and RTS lines as set by the connected host computer.

If the host computer connects to the USB CDC port and it specifies that DTR and/or RTS should be set or cleared, can the firmware (application) running on the ESP32-C3 detect this?

Thank you,
RobertPalmerJr