V-USB as a Serial Port - Is That OK?
Posted: Thu Aug 27, 2009 6:18 am
Hi - I just got V-USB working and I am impressed. I was able to get the hid-data example working.
As I move forward, can you guys point me in the right direction?
I am really, really used to talking to my controllers using rs-232 or USB to rs-232 converters. I can easily write perl programs to open and communicate over the serial port.
Now that I have V-USB working I was hoping to have the V-USB device show up as a serial port.
I read a comment in the source code that said that it is not desirable to make V-USB appear as a serial port and the comment referred to using AVR-CDC.
Can I ask why it is undesirable to make the V-USB device appear as serial port?
Wouldn't a serial port be the "best" implementation of V-USB as it is such a universally recognized implementation?
If I don't go the serial port route, I'm kinda in the dark right now. If I make the device appear as an HID device (not sure if there are other options) do I lose the ability to make a simple perl program to talk to the device (do I have to write a C program).
If you can point me in the right direction it would likely save me a lot of grief/time.
Thanks
As I move forward, can you guys point me in the right direction?
I am really, really used to talking to my controllers using rs-232 or USB to rs-232 converters. I can easily write perl programs to open and communicate over the serial port.
Now that I have V-USB working I was hoping to have the V-USB device show up as a serial port.
I read a comment in the source code that said that it is not desirable to make V-USB appear as a serial port and the comment referred to using AVR-CDC.
Can I ask why it is undesirable to make the V-USB device appear as serial port?
Wouldn't a serial port be the "best" implementation of V-USB as it is such a universally recognized implementation?
If I don't go the serial port route, I'm kinda in the dark right now. If I make the device appear as an HID device (not sure if there are other options) do I lose the ability to make a simple perl program to talk to the device (do I have to write a C program).
If you can point me in the right direction it would likely save me a lot of grief/time.
Thanks