win32-libusb bulk or interrupt transfers

General discussions about V-USB, our firmware-only implementation of a low speed USB device on Atmel's AVR microcontrollers
Post Reply
ossi

win32-libusb bulk or interrupt transfers

Post by ossi » Sun Feb 01, 2009 8:20 pm

Has anyone an example using bulk or interrupt transfers
from WIN32-LIBUSB going to an AVRUSB device ?

It seems I don't get it up and running.

I get a TIMEOUT error from LIUSB and LIBUSB seems not to
start any USB communication if I invoke funktion USB_BULK_TRANSFER.

christian
Objective Development
Objective Development
Posts: 1443
Joined: Thu Nov 09, 2006 11:46 am

Post by christian » Tue Feb 03, 2009 3:26 pm

Did you set a configuration and claim the interface? Otherwise you can't use any endpoints other than 0 with libusb.

ossi

solved

Post by ossi » Tue Feb 03, 2009 5:50 pm

Fortunately the issue has been solved. My endpoint-descriptor
was not right. With the right endpoint descriptor everything
seems to be ok.

Thanks for your help.

Post Reply