From: Chris E <sp...@gm...> - 2016-08-14 00:41:01
|
Hi Saeed. Libusb is a library for the USB protocol. If you have control over the USB hardware (ie can send control, iso, bulk, interrupt packets), then you will want libusb. You mentioned USB to UART, though. Maybe your chip doesn't give full USB control and instead connects as a COM port? If it connects as a COM port, do not use libusb. Instead, just use serial commands. If you have MATLAB, try the serial() command. For other languages you'll need a library. In short: - If your chip gives you a USB protocol, use libusb. - If your chip gives you a serial (COM port) protocol, use serial commands. On 14 August 2016 at 03:55, saeed nowrozi <sae...@gm...> wrote: > Hi all > I under design a printer that a fpga spartan6 is main board and for > connection to PC ,I use a usb to uart controller(CY7C64225).now I can use > libusb for driver connection between fpga and PC? > I read befor for driver fpga to PC need to kernel driver so my question is > libusb need a extra code for my board or no? > for connect between Qt(windows7) and board any one have a example code? > I use a board that have driver but a lot of files but when I download > libusb have not is files.of course some files is special for any Ic ,now I > need special files .inf , .sys for my app? > sorry for poor English and a lot of question. > > ------------------------------------------------------------ > ------------------ > What NetFlow Analyzer can do for you? Monitors network bandwidth and > traffic > patterns at an interface-level. Reveals which users, apps, and protocols > are > consuming the most bandwidth. Provides multi-vendor support for NetFlow, > J-Flow, sFlow and other flows. Make informed decisions using capacity > planning reports. http://sdm.link/zohodev2dev > _______________________________________________ > Libusb-win32-devel mailing list > Lib...@li... > https://lists.sourceforge.net/lists/listinfo/libusb-win32-devel > > |