I am using an AtMega16, 16Mhz at 5 Volt, connected with zehner and 1k5 pullup, with the current usbdrv sources, fuse bits set to external clock.
When I connect the device to the PC (Debian 4), i only get the 'device descriptor read/64, error -71' messages a few times in syslog.
With DEBUG_LEVEL=2 i get the following output:
Code: Select all
ff:
ff:
ff:
ff:
ff:
ff:
ff:
ff:
ff:
ff:
ff:
ff:
ff:
ff:
ff:
ff:
ff:
ff:
ff:
ff:
ff:
ff:
12: 80 06 00 01 00 00 40 00
20: 4b 12 01 10 01 00 00 00 08 11 77
12: 80 06 00 01 00 00 40 00
20: 4b 12 01 10 01 00 00 00 08 11 77
12: 80 06 00 01 00 00 40 00
20: 4b 12 01 10 01 00 00 00 08 11 77
<repeated several times>
ff:
ff:
ff:
ff:
ff:
12: 00 05 17 00 00 00 00 00
20: 4b 00 00
12: 00 05 17 00 00 00 00 00
20: 4b 00 00
The two lines 12: and 20: are repeated very often, interrupted by some resets (0xff) when the host tries a new device id.
I think this is a Device Descriptor request, but i could not figure out what the response code (06 00 01 ..) means, where it comes from and especially if it is correct.
I am reading voltage levels of 2.97V on D-, on D+ i get some (weak) activity on a LED (doesn't work with LED disconnected either), but only 0.2V on the multimeter at most (but maybe it's just to slow to measure the peak voltages).
Can there be a problem with the electrical connection or is this a firmware/configuration problem (or both )? (I'm using a static HID-descriptor, so nothing fancy here).
Any help would be appreciated.
Thanks