Thanks in Advance I am using keil HID example to make a usb hid device for sending data using interrupt transfer. My device is able to send data to pc .i am able to check data that i sent to PC using device monitor studio but when i try to read data on my own made usb host application it shows timeout error . My host application is also able to send data to my device that can also be check on same software device monitor studio .but when i check in my software there is no interrupt on endpoint 1. can anybody help me in that case
As Per points out, you can send multiple packets to make up 64KBytes but the max single packet transaction is 64 bytes. On the HID side you must specify the report size PLUS 1 byte for the Report ID. If you do not use the report ID you just send the packets.
Search on this forum in the upper right corner for Report ID. Tsuneo Chinzei has answered this question a number of times on this forum such as http://www.keil.com/forum/docs/thread12207.asp
Bradford