Cypress Perform

Home > Design Support > Cypress Developer CommunityTM > Cypress Forums > USB Controllers > Problems with DMA transfer on FX3 and CyUSB driver

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



Problems with DMA transfer on FX3 and CyUSB driver
Moderator:
RSKV

Post Reply
Follow this topic



Problems with DMA transfer on FX3 and CyUSB driver

Sil posted on 16 Nov 2011 1:00 AM PST
Top Contributor
93 Forum Posts

I still encounter instable USB 3.0 connection when using the slave fifo interface http://www.cypress.com/?app=forum&id=167&rID=55620 with auto DMA transfer on the FX3.

Now I found that if I am using the BulkAutoLoop (C++) Example from Cypress together with 2 kByte Packet size per transfer, no data is received the CyUSB driver crashes. At some point no data is received and then the driver crashes. When I send more than 2 kByte per transfer there is no problem. The DMA buffer on the FX3 is set up to 1x1 kByte.

I suspect that there is a problem with the auto DMA transfer on the FX3 since the behavior changes if I use larger DMA buffer size than 1x1kByte. Also I do not see this problems when using manual DMA transfer mode. With larger DMA buffer size, 2 kByte data packets also fail and I need to send 4 or more kByte. At the same time there has to be an issue in the CyUSB driver since it always crashes when no data is received in the BulkAutoLoop example. Sometimes I even need to restart my computer, sometimes it is good enough to reload the FW on the FX3 Eval Board.

I am using the following HW setup:

FX3 Eval Board Revision “May 2011”, Beta3 SDK

OS: Windows 7, 64 bit

USB Host Controller: ASMedia USB 3.0 controller (Asus P8Z68-V Motherboard)

 

Thanks for help.

 

Regards

Silvio

 

 

 




Re: Problems with DMA transfer on FX3 and CyUSB driver

aasi posted on 16 Nov 2011 09:32 PM PST
Cypress Employee
1073 Forum Posts

We do test the configurations before we release the utilities. I've not seen this kind of an error scenario due to combination of driver and firmware. Please create a tech support case (MyAccount --> MyCases) so that we can have a deeper look at the issue.

Regards,

Anand






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.