public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] USB-CDC eCos configuration
@ 2007-08-27  7:20 wavecom wavecom
  2007-08-27  7:33 ` Andrew Lunn
  0 siblings, 1 reply; 5+ messages in thread
From: wavecom wavecom @ 2007-08-27  7:20 UTC (permalink / raw)
  To: ecos-discuss

Hi All,

I'm working on USB-CDC eCos based device. I've met
some problems with initializing the device:
Windows recognizes the device as another COM port, but
when I'm trying to open the port by the hyperterminal,
I have message "Could not open COM port". What would
be the cause of such behavior, below result of lsusb
-vvv command on Linux (I can also send my c-code of
USB initialization if necessary).
Second question is, how to set Functional Descriptors
like CDC Header, CDC ACM, CDC Union, CDC Call
Management? Are these parameters necessary for proper
operating the USB-CDC device? 
I'm using AT91SAM7S-EK.
" 
Bus 002 Device 012: ID 03eb:6125 Atmel Corp. 
Device Descriptor: 
  bLength                18 
  bDescriptorType         1 
  bcdUSB               1.10 
  bDeviceClass            2 Communications 
  bDeviceSubClass         0 
  bDeviceProtocol         0 
  bMaxPacketSize0         8 
  idVendor           0x03eb Atmel Corp. 
  idProduct          0x6125 
  bcdDevice            1.10 
  iManufacturer           0 
  iProduct                0 
  iSerial                 0 
  bNumConfigurations      1 

  Configuration Descriptor: 
    bLength                 9 
    bDescriptorType         2 
    wTotalLength           48   
    bNumInterfaces          2 
    bConfigurationValue     1 
    iConfiguration          0 
    bmAttributes         0xc0 
      Self Powered 
    MaxPower              500mA 

    Interface Descriptor: 
      bLength                 9 
      bDescriptorType         4 
      bInterfaceNumber        0 
      bAlternateSetting       0 
      bNumEndpoints           1 
      bInterfaceClass         2 Communications 
      bInterfaceSubClass      2 Abstract (modem) 
      bInterfaceProtocol      0 None 
      iInterface              0 

      Endpoint Descriptor: 
        bLength                 7 
        bDescriptorType         5 
        bEndpointAddress     0x83  EP 3 IN 
        bmAttributes            3 
          Transfer Type            Interrupt 
          Synch Type               None 
          Usage Type               Data 
        wMaxPacketSize     0x0008  1x 8 bytes 
        bInterval             255 

    Interface Descriptor: 
      bLength                 9 
      bDescriptorType         4 
      bInterfaceNumber        1 
      bAlternateSetting       0 
      bNumEndpoints           2 
      bInterfaceClass        10 CDC Data 
      bInterfaceSubClass      0 Unused 
      bInterfaceProtocol      0 
      iInterface              0 

      Endpoint Descriptor: 
        bLength                 7 
        bDescriptorType         5 
        bEndpointAddress     0x01  EP 1 OUT 
        bmAttributes            2 
          Transfer Type            Bulk 
          Synch Type               None 
          Usage Type               Data 
        wMaxPacketSize     0x0040  1x 64 bytes 
        bInterval               0 

      Endpoint Descriptor: 
        bLength                 7 
        bDescriptorType         5 
        bEndpointAddress     0x82  EP 2 IN 
        bmAttributes            2 
          Transfer Type            Bulk 
          Synch Type               None 
          Usage Type               Data 
        wMaxPacketSize     0x0040  1x 64 bytes 
        bInterval               0 

Device Status:     0x0000 
  (Bus Powered) 
" 


Pete 



       
____________________________________________________________________________________
Yahoo! oneSearch: Finally, mobile search 
that gives answers, not web links. 
http://mobile.yahoo.com/mobileweb/onesearch?refer=1ONXIC

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2007-09-03  7:46 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-08-27  7:20 [ECOS] USB-CDC eCos configuration wavecom wavecom
2007-08-27  7:33 ` Andrew Lunn
2007-08-27 12:16   ` wavecom wavecom
2007-08-27 20:01     ` Andrew Lunn
2007-09-03  7:46       ` wavecom wavecom

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).