|
Hi Anand,
Thanks for your suggestion.
We are using the bulk endpoint to transfer the real-time image data and control data. The configuration details are:
EP2CFG=0xa0; // out, buffer size = 512 bytes
EP6CFG=0xE0; // in, buffer size = 512 bytes
EP2FIFOCFG = 0x11; //AUTOOUT = 1, WORDWIDE = 1, 16 bits
EP6FIFOCFG = 0x09; //AUTOIN = 1, WORDWIDE = 1, 16 bits
We didn't see data corruption. We only found the frame out of sync problem. And the probability of this out of sync problem is very low.
We are using the CyUSB.sys, which is dated on 2005.03.03. The OS is Windows XP 32 bit x86. For the maximum bandwith efficiency, we are using the asyn transfer mode to read in the image data.
In addition, at some situation 68013A chip will hang after long time data transfering (maybe one time per 24 hours). In this case, we can't transfer any data from PC to FPGA or from FPGA to PC. The 68013A chip can't response any data in/out request.
And when we download code to FPGA through the FPGA-JTAG cable while the image transfer is on going, the 68013A chip will hang.
Another question is : in the new CyAPI for .NET, how do we call the vendor request through C# or other .NET programming language? We can't find the related functions in the documentation.
Thanks,
Mczhao
|