USB Device not recognised
Posted: Thu Aug 06, 2015 7:11 am
Hi,
I have a small ATTiny-device that uses a hid-data-based software implementation and works smoothly.
Now I created a second software variant based on this first one, but when connecting this device, it is not recognised (Linux gives me a bunch of error messages "could not enumerate it", Windows disables it with error code 43). The hardware and the software is the same except the following:
- vendor name in usbconfig.h has 15 characters instead of 7
- device name in usbconfig.h has 17 characters instead of 9
- REPORT_COUNT of usbHidReportDescriptor is 5 instead of 48
- timer interrupt ISR(TIMER0_COMPA_vect) is used
And of course contents of usbFunctionRead()/usbFunctionWrite()-USB functions are different due to different functionality, but they are not used when device is connected.
So: any idea if one of these changes could cause the problems? Any of the changed values out of range or something like that?
Thanks!
I have a small ATTiny-device that uses a hid-data-based software implementation and works smoothly.
Now I created a second software variant based on this first one, but when connecting this device, it is not recognised (Linux gives me a bunch of error messages "could not enumerate it", Windows disables it with error code 43). The hardware and the software is the same except the following:
- vendor name in usbconfig.h has 15 characters instead of 7
- device name in usbconfig.h has 17 characters instead of 9
- REPORT_COUNT of usbHidReportDescriptor is 5 instead of 48
- timer interrupt ISR(TIMER0_COMPA_vect) is used
And of course contents of usbFunctionRead()/usbFunctionWrite()-USB functions are different due to different functionality, but they are not used when device is connected.
So: any idea if one of these changes could cause the problems? Any of the changed values out of range or something like that?
Thanks!