| 
      
      
      From: Dan E. <Dan...@ne...> - 2006-07-04 09:14:38
      
     | 
| John Eigelaar wrote: >=20 > I then downloaded the libusb binary driver (not the filter driver) > and used that to start my USB application. I am using the free > Borland BCC 5.5.1 compiler. The code compiles and runs. =20 >=20 > Upon detecting my device I issue a usb_set_configuration() to select > configuration 1. Then I claim interface 1 which is the data interface > for my CDC implementation. =20 >=20 > The SET_CONFIGURATION command is never sent to my device. This means > that the device always stays in the address stat and never goes into > the configured state. =20 >=20 > What am I doing wrong here ? Presumably you've identified your device by checking the VID and PID returned after scanning the bus and they are as expected? Have you checked for an error return from usb_set_configuration? How do you know SET_CONFIGURATION isn't sent? Did you snoop the traffic on the PC, use an analyzer, or have some output from your device? Dan. |