Cypress Perform

Home > Design Support > Cypress Developer CommunityTM > Cypress Forums > USB Controllers > problem of finishdatatransfer in streamer

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



problem of finishdatatransfer in streamer
Moderator:
RSKV

Post Reply
Follow this topic



problem of finishdatatransfer in streamer

dekui posted on 23 May 2012 10:51 PM PST
Member
10 Forum Posts

 Hi,all!

I use streamer to read data from USB board(3014).As the source data is increase packet by packet I find that I miss some packet by detecting the header of the packets.but I examine all the packets transmited in USB Analyzer, It shows all the packets has reached the PC host correctly. The length of packet is 16KB and I choose 2 packets per xfer.

After debuging the streamer project I find that the reason of missing packets is that the finishdatatransfer() fail. how can I get the error code so as to analize the reason. And to my surprise sometimes I can read data correctly and sometimes miss some data.And if I choose larger num of packets per xfer I will miss data more frequently.

I am confused by this probelm for a long time. could you help me to fix it or give me some suggestions?

Thanks and Best Regards

dekui

 

 




Re: problem of finishdatatransfer in streamer

dekui posted on 23 May 2012 11:20 PM PST
Member
10 Forum Posts

 sorry, the function is finishdataxfer().



Re: problem of finishdatatransfer in streamer

AssemblyRequired posted on 23 May 2012 05:08 AM PST
Top Contributor
37 Forum Posts

I wonder if this could be the issue:

http://www.cypress.com/?app=forum&id=167&rID=62980 






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.