You are here

xferdata failed on USB3.0 | Cypress Semiconductor

August 17, 2017: We apologize for any difficulties or delays in posting new discussions to the Community on We are in the process of merging our support forums onto a single platform in an effort to create a much-improved community experience for you.

xferdata failed on USB3.0

Summary: 1 Reply, Latest post by Nishant on 09 Nov 2016 03:48 AM PST
Verified Answers: 0
Last post
Log in to post new comments.
mikezhang's picture
2 posts

I am developing an application for data process based on the GPIF SlaveFifo sample. We divide a big data buf into small packets which the packet size equals the size of the DMA buffer size. we call xferdata() in our middleware to realize the requirement. But the same code gets different results. It runs normally on USB2.0 but fails on USB3.0. The Lasterror is 0XC0000120, UsbdStatusString is "state=STALLED, status=UNKNOWN". Furthermore when I send only one short packet, the result is correct.I had tried some ways to fix this problem, but I hadn't found any clue,Can anybody give me some advices to solve this problem?

nisa's picture
Cypress Employee
428 posts

You can refer the CYUSB.NET pdf in the FX3 sdk which demonstrate how to queue the transfers. We have very little info here, we need to see what the host is asking and how the device is responding (if you have a hardware protocol trace). Else you can refer Cypress Control center application and the Cypress steamer to develop your application. We have tested these 2 C# application thoroughly for both USB 2.0 and USB 3.0

Log in to post new comments.