I am trying to use the USB with Generic HID to move some data from my development board to my PC.
I successfully have the Freescale demo board running and delivering 1 byte of data based on the 2 switches on the eval board.
My problem is that I cannot figure out how to increase the 1 byte to multiple bytes. I tried changing a few of the values, such as the 1 in the following code:
out_report=hid_add_report(rpt_out, 0, 1);
in_report=hid_add_report(rpt_in, 0, 1);
As well as the constant EP0_PACKET_SIZE (which is 8 by default.)
Any changes I have tried have caused the board to run off into the weeds when I try to USB send.
I would appreciate if someone can help me out.
Which values should I modify?
Do I need to modify my descriptor?
Ultimately, I would like to send a payload of 64 bytes.
Thanks in advanced.