Does anybody know the data format in Buffer of BeginDataXfer(Buffer, nunitsize, &outOvLap)? Or where can I find the data format introduction?
Why I ask this question, because I am busy in a development based on cyabi.lib. When I tried BurstWrite and BurstRead, I found the data(arbitrary number) in Buffer I write in, which can't be read successfully. So I think there may be some format requirement of the data I want to write in and read out.
There is no format requirement for the buffer you pass in. Whatever you put in that buffer wil be sent as-is over the endpoint. You can take a simple trace (with http://www.usblyzer.com/) and confirm this.
If you can't read data back, then it could be something in the firmware preventing this. Make sure that your firmware has data to send back and that its ready.