problem of finishdatatransfer in streamer

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable

 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

0 Likes
2 Replies
Anonymous
Not applicable

 sorry, the function is finishdataxfer().

0 Likes
Anonymous
Not applicable

I wonder if this could be the issue:

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

0 Likes