1 Reply Latest reply on May 27, 2013 12:03 AM by userc_39074

    Can i ask about ezusb.sys or cyusb.sys?



      Now i can not find cyusb.sys source code but i have question. 


      When i have add value to timeout or maximumtransfersize from 64*1024 to 256*1024,


      What happen ? 

        • 1. Re: Can i ask about ezusb.sys or cyusb.sys?
                  Hi, Please download Source code package for Cypress SuperSpeed USB Suite for Windows (CyAPI, CyUSB, CyUSB3) - See ReadMe.txt for details to get the source code of CyUSB3.sys. You can use CyUSB3.sys for your application. It can do what all CyUSB.sys can do and also it can handle USB 3.0 transfers. This can be downloaded from the following webpage: http://www.cypress.com/?rID=57990 Coming to time out value, Xferdata function returns failure if it does not receive any data with in that time out value. You can change this parameter before calling Xferdata function. Let say you are using 512 as maximumtransfersize then every time host application allocates 512 bytes of memory in the driver and requests 512bytes of data from the device. If you change it to 64 *1024 (64KB) then every time it asks for 64KB of data. If device has continuous stream of data then increasing the maximumtransfersize values helps in getting better throughput numbers. Thanks, Sai Krishna.