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
You can't send any 64k packets - but you can configure and send one or more 64-byte packets where the final packet either isn't fully filled or where you send a zero length packet, just to inform the receiving end that it has received a complete block and do not need to wait for more 64-byte packets to combine.
But Google is your friend. This forum has probably 100 threads covering this exact problem if you just use the search function.