Search found 7 matches
- Mon Oct 27, 2014 7:49 am
- Forum: V-USB
- Topic: usbHidReportDescriptor type of confilct
- Replies: 13
- Views: 14702
Re: usbHidReportDescriptor type of confilct
thanks we have work out the 8 bytes report and HID device is working as expected in Windows. Because of the device is constantly sending data to USB host upon power up, the own application has intent to receive those raw bytes at purpose. With PC host, there is no any side effect so far (Win7 / Win8...
- Thu Oct 23, 2014 5:09 am
- Forum: V-USB
- Topic: usbHidReportDescriptor type of confilct
- Replies: 13
- Views: 14702
Re: usbHidReportDescriptor type of confilct
another thing, as we want to increase the report size from 5 bytes to 8 byte, what else to do with tweaking ? assign more bytes to the report buffer, seems not feasibl This seems a bit unclear. You don't set the size the report does? If you want to send more then the report needs, yes you need to a...
- Wed Oct 22, 2014 1:37 pm
- Forum: V-USB
- Topic: usbHidReportDescriptor type of confilct
- Replies: 13
- Views: 14702
Re: usbHidReportDescriptor type of confilct
Looks like you were probably just missing 'const'. Often const-correctness is only later done correctly in a library, requiring addition of const in some user code as in this case. So ulao's suggestion seems to be what you need to follow to get it compiling. As for a larger report, you need to upda...
- Wed Oct 22, 2014 5:30 am
- Forum: V-USB
- Topic: usbHidReportDescriptor type of confilct
- Replies: 13
- Views: 14702
Re: usbHidReportDescriptor type of confilct
usbHidReportDescriptor needs to be PROGMEM const char usbHidReportDescriptor or const ROGMEM char usbHidReportDescriptor I forget the order that is required and I'm sure that wont be the only error you encounter. I believe i had 50 some lines to fix. Its actually the IDE that is giving you the grie...
- Tue Oct 21, 2014 4:42 pm
- Forum: V-USB
- Topic: usbHidReportDescriptor type of confilct
- Replies: 13
- Views: 14702
Re: usbHidReportDescriptor type of confilct
Compare the two indicated lines and look for a discrepancy in the types, e.g. uchar in one, char in the other, const in one, no const in the other, PROGMEM in one, no PROGMEM in the other. can you please help what to do, because the usbdrv are so different. USBDRV_VERSION 20120109, compile OK exter...
- Mon Oct 20, 2014 5:10 pm
- Forum: V-USB
- Topic: usbHidReportDescriptor type of confilct
- Replies: 13
- Views: 14702
usbHidReportDescriptor type of confilct
The HID device has 5 bytes of report defined to host, ie. 0xA, 0xB, 0xC, 0xD, 0x1 the last byte always 0x1 static void buildReport(void) { reportBuffer[0] = adcvalue1>>8; reportBuffer[1] = adcvalue1; reportBuffer[2] = adcvalue2>>8; reportBuffer[3] = adcvalue2; reportBuffer[4] = 0x01; } but actually ...
- Tue Apr 03, 2012 4:56 am
- Forum: V-USB
- Topic: ATtiny45 and USB
- Replies: 6
- Views: 8330
Re: ATtiny45 and USB
Have used the code available in post #1 (ie t45 rar) to built the circuit similar to that suggested in post #3 Host code: Works only on xp sp3 here! crashing on W7. led circuit not being recognized on xp or w7. Still playing around with it, has anyone had any success with this code? XP or Windows7 ...