Elliotte Harold wrote:
Dan Streetman wrote:
However there are a large number of other USB exceptions, PID, CRC,
Babble, BitStuff, Stall, etc. Basically whenever you send/receieve
data over the USB bus, any of the errors defined in the USB spec can
happen. Additionally, the OS may encounter a non-specific error and
throw a UsbPlatformException.
I've now encountered several of these myself. However, in every single
case I've seen so far, each one has been an indication of a bug in my
program, not an unexpected problem with a device. Thus I would have
expected these to be runtime exceptions. Is there any way a condition on
the bus outside the control of my program might cause one of these
exceptions?
I have tried using one of the Igor USB devices (implemented on the Atmel
AVR architecture), and I always get BitStuff exceptions from the C code.
Have not been able to trace if it is the device yet.
//Roger
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
javax-usb-devel mailing list
javax-usb-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/javax-usb-devel