|
From: Xiaofan C. <xia...@gm...> - 2014-09-30 02:56:41
|
On Mon, Sep 29, 2014 at 10:29 PM, Aymen JEBALI <jeb...@gm...> wrote: > Hi All, > > I am developping an USB to I2C bridge using the SAM3U4E microcontroller. > The USB communication works fine untill I used the USB isolator cable : > https://iftools.com/isolator/isousbcable/index.en.php > > With this configuration I still have control transfers to work correctly but > not the bulk transfers. > But I noticed that the bulk transfers are working fine when I connect the > USB cable to an USB3.0 port. but it fails with USB2.0. > > I am using the libusb-win32 APIs. > > The failure is always at usb_claim_interface: > [12224] libusb0-dll:err [claim_interface] could not claim interface 0, > invalid configuration 0 > Could anyone please suggest a solution ? > > I upgraded to lubsubK drivers 3.0.7.0 but no success. Is your device recognized by Windows and is configured properly under Windows? Configuration 0 means that the device is not configured. You should try to call usb_set_configuration(1) before calling usb_claim_interface(0) to see if that helps. If not, most likely it is a problem with the USB isolator or your device. You shou -- Xiaofan |