I can successfully send packets of up to 64 bytes to my device using USBHCDPipeWrite, however if I go over that amount USBHCDPipeWrite loops at the // Wait for a status change section at line 1625 of usbhostenum.c .
Its status is stuck on ePipeWriting.
USBHCDPipeWrite does have code to handle writing greater than 64 bytes to the Bulk Out, so I have not developed this code my self.
Everything works fine when sending less than 64 bytes. My device is a CDC ACM, I developed the driver my self based on the FTDI example (http://processors.wiki.ti.com/index.php/Stellaris_-_USB_Host_FTDI). I can send packets greater than 64 bytes in size to this device with a Windows program I have developed.
My code is almost identical to that which is included in the USBHFTDIWrite function of the FTDI example.
I am not sure how my code could be involved in this issue, as USBHCDPipeWrite works fine when sending packets of under 64 bytes and the handling of packets greater than 64 bytes is managed by USBHCDPipeWrite.
Any assistance in resolving this issue is greatly appreciated.