Cypress Perform

Home > Design Support > Cypress Developer CommunityTM > Cypress Forums > USB Controllers > Transfers to EP0

Bookmark and Share
Cypress Developer CommunityTM
Forums | Videos | Blogs | Training | Rewards Program | Community Components



Transfers to EP0
Moderator:
RSKV

Post Reply
Follow this topic



Transfers to EP0

Jake73 posted on 06 May 2012 1:53 AM PST
Top Contributor
35 Forum Posts

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?




Re: Transfers to EP0

Jake73 posted on 06 May 2012 09:07 AM PST
Top Contributor
35 Forum Posts

A touch more information on this.

With HighSpeed ports, I can read the entire 4096 bytes.

With SuperSpeed ports, I can read 512 bytes.  Not 1024.  The call to CyU3PUsbGetEP0Data returns Cy_U3P_ERROR_TIMEOUT if the length specified is greater than 512.



Re: Transfers to EP0

Jake73 posted on 24 May 2012 11:13 PM PST
Top Contributor
35 Forum Posts

We're still having this issue.  With a USB 3.0 bus analyzer, we note that IN transfers of 1024 bytes time out for some reason.

-

Is anyone else using Windows 8?  Any issues with larger EP0 transfers?



Re: Transfers to EP0

Jake73 posted on 24 May 2012 09:47 PM PST
Top Contributor
35 Forum Posts

Microsoft has said that a known issue existed with Windows 8 (Consumer Preview) and the ASMedia controller that has problems with control transfers > 512 bytes.  This does not appear to be an issue with the Renesas controller.  According to them, the problem has a workaround and will be issued in the next Win8 release.



Re: Transfers to EP0

kotuk posted on 11 Jul 2012 04:51 AM PST
Member
3 Forum Posts

 Are there any updates on this issue?

I've win 8441 and I still can't send configuratin descriptor larger then 512 bytes .



Re: Transfers to EP0

RSKV posted on 13 Jul 2012 03:38 AM PST
Cypress Employee
655 Forum Posts

 http://social.msdn.microsoft.com/Forums/en-US/wdk/thread/74097a22-fab2-440a-8e17-65dd0c968568/

The above thread says that the workaround will be added to the next release of the Windows 8.

Have you tested with the Windows 8 Release Preview version.






ALL CONTENT AND MATERIALS ON THIS SITE ARE PROVIDED "AS IS". CYPRESS SEMICONDUCTOR AND ITS RESPECTIVE SUPPLIERS MAKE NO REPRESENTATIONS ABOUT THE SUITABILITY OF THESE MATERIALS FOR ANY PURPOSE AND DISCLAIM ALL WARRANTIES AND CONDITIONS WITH REGARD TO THESE MATERIALS, INCLUDING BUT NOT LIMITED TO, ALL IMPLIED WARRANTIES AND CONDITIONS OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT OF ANY THIRD PARTY INTELLECTUAL PROPERTY RIGHT. NO LICENSE, EITHER EXPRESS OR IMPLIED, BY ESTOPPEL OR OTHERWISE, IS GRANTED BY CYPRESS SEMICONDUCTOR. USE OF THE INFORMATION ON THIS SITE MAY REQUIRE A LICENSE FROM A THIRD PARTY, OR A LICENSE FROM CYPRESS SEMICONDUCTOR.

Content on this site may contain or be subject to specific guidelines or limitations on use. All postings and use of the content on this site are subject to the Terms and Conditions of the site; third parties using this content agree to abide by any limitations or guidelines and to comply with the Terms and Conditions of this site. Cypress Semiconductor and its suppliers reserve the right to make corrections, deletions, modifications, enhancements, improvements and other changes to the content and materials, its products, programs and services at any time or to move or discontinue any content, products, programs, or services without notice.