Why error -71 when doing control transfer?
Posted: Fri Mar 19, 2010 2:56 am
Hi - I'm stress testing VUSB by having the host loop while doing control reads and writes.
For the firmware I'm using the hid-data example code.
The loop will run successfully for days and then I'll get an error -71 on the host when reading or writing.
I keep getting the -71 and I can only get it working again by unplugging/replugging the USB connection.
When the host is getting the -71 error, there is nothing in the host log to indicate a USB problem, and I can still perform an lsusb and it shows that the host still sees the device.
The VUSB circuit is built to the VUSB spec. I'm using an atmega168.
Any thoughts on what is happening/how to troubleshoot?
For the firmware I'm using the hid-data example code.
The loop will run successfully for days and then I'll get an error -71 on the host when reading or writing.
I keep getting the -71 and I can only get it working again by unplugging/replugging the USB connection.
When the host is getting the -71 error, there is nothing in the host log to indicate a USB problem, and I can still perform an lsusb and it shows that the host still sees the device.
The VUSB circuit is built to the VUSB spec. I'm using an atmega168.
Any thoughts on what is happening/how to troubleshoot?