Transfers to EP0 | Cypress Semiconductor
Transfers to EP0
We have an issue with a larger (4096 byte) transfer to EP0. On Windows 8 with SuperSpeed, this transfer is stalling the control transfer. Smaller (64 byte) transfers work. And the 4096-byte transfer seems to be working in High Speed mode on USB 2.0 ports.
What is the proper way to capture a transfer of this size within the vendor request processing?
Will the following work?
CyU3PUsbGetEP0Data(4096, count, &readCount);
Since EP0 size is set to 64 bytes, but the entire transfer is much larger, when does the USB setup event get called? Is it likely that onyl part of the data is received by each call to GetEP0Data, thus requiring multiple calls?