Hi everyone,
I'm working on a custom system monitoring device and have a requirement for a USB HID input report longer than 64 bytes. From what I've read, it's possible to send it as multiple transactions but I can't figure out how to make Keil's USBHID sample code do it.
Any ideas?
Thanks, Jason
Sorry for my late response,
"I also need to be able to send the controller long reports (140 bytes) via a control transfer."
You can support OUT report over control transfer, but primarily OUT report is handled by an OUT endpoint. - For the firmware, handling of control transfer is heavy than interrupt endpoint - For Windows XP and Vista host app, WriteFile primarily goes to OUT endpoint.
In this topic, we discussed about the way to add OUT endpoint to HID. You can extend this method for the greater report size than 64, as you did it to the IN endpoint.
"LPC2148 usb controller" http://www.keil.com/forum/docs/thread11137.asp
Instead of OUT report, Feature report is primarily handled by control transfer. If you want to exercise the control write transfer implementation, I'll guide you.
Tsuneo