Ticket #9 (closed defect: wontfix)
|Reported by:||abidbodal||Owned by:|
I am trying to use libusbJava to connect to my USB device. I am using the USB Test Application (http://libusbjava.sourceforge.net/wp/?page_id=5) to test the HiSpeed? USB on my ARM LPC3131 device. I am able to open the device, reset the device and send data to my device. When I click receive, at times I get the following error:
ch.ntb.usb.USBTimeoutException: LibusbJava?.usb_bulk_read: usb_reap: timeout error
Sometimes the receive works and sometimes it doesn't. Once it starts working, it works until I click Reset. Below is my in endpoint details:
wMaxPacketSize: 0x200 (512)
I'm not sure if it's just a timing issue or not. I tried changing the readBulk function to attempt multiple times to receive data with different timeout values, but was unable to resolve the problem. Please advice.