USB Device not recognised

General discussions about V-USB, our firmware-only implementation of a low speed USB device on Atmel's AVR microcontrollers
Post Reply
Elmi77
Posts: 2
Joined: Sun Sep 22, 2013 11:31 am

USB Device not recognised

Post by Elmi77 » 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!

Post Reply