Re: A simple USB question
- From: "Boudewijn Dijkstra" <boudewijn@xxxxxxxxx>
- Date: Fri, 08 Jun 2007 10:55:10 +0200
Op Fri, 08 Jun 2007 10:31:06 +0200 schreef Mouarf <toto@xxxxxxx>:
Le Wed, 06 Jun 2007 16:43:29 +0200, Boudewijn Dijkstra <boudewijn@xxxxxxxxx> a écrit:
Op Wed, 06 Jun 2007 16:12:23 +0200 schreef Mouarf <toto@xxxxxxx>:Le Wed, 06 Jun 2007 16:00:37 +0200, Boudewijn Dijkstra <boudewijn@xxxxxxxxx> a écrit:
Op Wed, 06 Jun 2007 13:56:00 +0200 schreef vasu <vasu.sharma@xxxxxxxxx>:what about a composite device with 2 COM ports? Is it possible?Hi! I have an AT91SAM7S-EK kit with an AT91SAM7S256 microcontroller.
This microcontroller supports 4 Endpoints - EP0, EP1, EP2 and EP3. I
am using the USB to communicate with a legacy application running on
the PC. This application can only communicate on a COM port. So, I use
the USB to provide a virtual COM port on the PC with which this
application can communicate. My question is - Can I create more than 1
virtual COM port on the PC with 1 USB connection?
If your legacy driver can only recognize a single COM port per USB device, you could create a 'compound device', which acts to the outside as a USB-hub.
compound == composite
I've read in "USB Complete" that compound=1 device + hub and composite=1 device with multiple functions I may have badly understood
My copy of the USB 2.0 standard says:
"However, a physical package may implement multiple functions and an embedded hub with a single USB cable. This is known as a compound device."
and
"From the host's perspective, a compound device is the same as a separate hub with multiple functions attached."
So my "==" signifies an equality in behaviour as observed by the host. Which is the only thing that matters here, IMHO.
--
Gemaakt met Opera's revolutionaire e-mailprogramma: http://www.opera.com/mail/
.
- Follow-Ups:
- Re: A simple USB question
- From: Boudewijn Dijkstra
- Re: A simple USB question
- References:
- A simple USB question
- From: vasu
- Re: A simple USB question
- From: Boudewijn Dijkstra
- Re: A simple USB question
- From: Mouarf
- Re: A simple USB question
- From: Boudewijn Dijkstra
- Re: A simple USB question
- From: Mouarf
- A simple USB question
- Prev by Date: Re: How to opena handle to "Cypress EZ-USB FX2 (68613) - EEPROM missing" and download a program to RAM
- Next by Date: Re: AVR ATMEGA88 - is there a way to enable "further programming disabled" fuse
- Previous by thread: Re: A simple USB question
- Next by thread: Re: A simple USB question
- Index(es):
Relevant Pages
|