|
From: David L. <dav...@le...> - 2019-07-26 20:08:44
|
Thanks for the clarification on packet vs transfer. > Did you write the device firmware? Do you send a short packet when a transfer is complete? I did not write the device firmware, but I have it, it's kinda old (2013). It uses a freescale driver (MQX 4) that call _usb_device_send_data(). There is a bit of documentation about it here https://www.nxp.com/docs/en/reference-manual/MQX_USB_Device_Reference_Manual.pdf Our device does not send a short packet when the transfer is complete but the driver probably does. We just provide the size of the data to send. And the biggest transfer is actually 0x407c bytes I forgot about the headers. So its not a multiple of packet size. Note : if that takes too much of your time, we can stop here |