3 Replies Latest reply on Jul 22, 2018 11:22 PM by srdr

    CyUSB Linux Equivalent

    ayarema_2483746

      Hi All,

       

      Currently we are using an FX3 chip in our custom PCB and everything seems to work with Windows. Note we are using the CyUSB C# library to communicate with the FX3 device, and our C# application just makes calls to XferData functions for the specific endpoint. This works perfectly.

       

      I have looked at the linux SDK provided by cypress and it has no interface commonalities between it and Windows. The linux side of things uses lib usb but it only seems to have a general wrapper around it, not a fully functioning "driver" like the CyUSB is for Windows.

       

      My goal is to simply take my C# application code and use Mono on Linux to run the same code, ideally. Then i could crate a C# wrapper around any C++ CyUSB for Linux equivalent and make the interface to the driver consistent.

       

      The question is have i missed something and there actually is a fully tested complete driver for Linux that I can simply call like i do with the CyUSB or do i have to do the compatible linux driver plumbing on my own?

        • 1. Re: CyUSB Linux Equivalent
          srdr

          Andriy,

           

          Please refer this and this.

          • 2. Re: CyUSB Linux Equivalent
            ayarema_2483746

            First link seems to be broken. And i did read the second post. Im very much new to the USB3 driver hardware interaction. So my confidence in being able to properly write a USB3 driver for linux isnt high even if a wrapper is already provided. Thats the reason for this post, to see if something is already out there that can just be plugged in to nearly replace the CyUSB C# DLL . In software terms something that has similar Interface even if its in C++.

             

            -Andriy

            • 3. Re: CyUSB Linux Equivalent
              srdr

              Andriy,

               

              You can ignore the first link since both the links talks about similar context.

               

              We have provided all available resources in the FX3 SDK for Linux. We do not have any additional resources as you asked for.

              Please refer source code of example host applications provided with the SDK. This may help you.