I were testing the HID-Data example.
Now my project is almost over.
But I have a problem with the init of the AVR.
If the comunication of the device looks like this:
The comunication, reading/writing eeprom, polling the device is working without any problems.
When I connect the device on the same PC on another USB port it look like this:
It is still working, but sometimes the polling fails, reading of eeprom fails... impossible to handle the device.
The picture looks like a faster comunication between host and device, may USB 2.0?
Who this can be happen? I have the pull up resistor on D- for Low speed 1.1 device.
Missconfiguration of the "usbconfig.h"?
EDIT:
It looks like not higher Speed, but much more comunication between host & device..
Why?
This is my descriptor now:
PROGMEM char usbHidReportDescriptor[60] = {
0x06, 0x00, 0xff, // USAGE_PAGE (Generic Desktop)
0x09, 0x01, // USAGE (Vendor Usage 1)
0xa1, 0x01, // COLLECTION (Application)
0x15, 0x00, // LOGICAL_MINIMUM (0)
0x26, 0xff, 0x00, // LOGICAL_MAXIMUM (255)
0x75, 0x08, // REPORT_SIZE (8)
0x85, 0x01, // REPORT_ID (1)
0x95, 0x06, // REPORT_COUNT (6)
0x09, 0x00, // USAGE (Undefined)
0xb2, 0x02, 0x01, // FEATURE (Data,Var,Abs,Buf)
0x85, 0x02, // REPORT_ID (2)
0x95, 0x01, // REPORT_COUNT (1)
0x09, 0x00, // USAGE (Undefined)
0xb2, 0x02, 0x01, // FEATURE (Data,Var,Abs,Buf)
0x85, 0x03, // REPORT_ID (3)
0x95, 0x06, // REPORT_COUNT (6)
0x09, 0x00, // USAGE (Undefined)
0xb2, 0x02, 0x01, // FEATURE (Data,Var,Abs,Buf)
0x85, 0x04, // REPORT_ID (4)
0x95, 0x01, // REPORT_COUNT (1)
0x09, 0x00, // USAGE (Undefined)
0xb2, 0x02, 0x01, // FEATURE (Data,Var,Abs,Buf)
0x85, 0x05, // REPORT_ID (5)
0x95, 0x06, // REPORT_COUNT (6)
0x09, 0x00, // USAGE (Undefined)
0xb2, 0x02, 0x01, // FEATURE (Data,Var,Abs,Buf)
0xc0 // END_COLLECTION
};
I'am polling report ID 1