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

ESP_Sprite
Posts: 9619
Joined: Thu Nov 26, 2015 4:08 am

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

Postby ESP_Sprite » Sun Feb 13, 2022 7:36 am

wangshuoran wrote:
Sun Feb 13, 2022 2:55 am
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.

wangshuoran
Posts: 37
Joined: Fri Dec 24, 2021 12:40 pm

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

Postby wangshuoran » Tue Feb 15, 2022 8:26 am

ESP_Sprite wrote:
Sun Feb 13, 2022 7:36 am
wangshuoran wrote:
Sun Feb 13, 2022 2:55 am
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!

Who is online

Users browsing this forum: No registered users and 119 guests