ftdi

Failed to Connect FT232RL Device with Pylibftdi (Thorlabs APT DC Motor Controller)

我是研究僧i 提交于 2020-01-03 01:58:27
问题 I have a Thorlabs DC motor controller, which can be detected with the following dmesg log: usb 5-2: new full-speed USB device number 6 using uhci_hcd usb 5-2: New USB device found, idVendor=0403, idProduct=faf0 usb 5-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3 usb 5-2: Product: APT DC Motor Controller usb 5-2: Manufacturer: Thorlabs usb 5-2: SerialNumber: 83858610 ftdi_sio 5-2:1.0: FTDI USB Serial Device converter detected usb 5-2: Detected FT232RL usb 5-2: Number of endpoints

My board design with a FTDI chip is a lot slower than a generic off the shelf RS232 to USB cable. Why is that the case?

别来无恙 提交于 2019-12-25 18:22:10
问题 Hello People of the internet, The company I work at implement hardware that is using RS232 however the board uses a network cable instead of a standard DB9 RS232 connector. So to remove the custom cable they need to mufacture for customers I designed a simple RS232 to USB converter that has a USB on the one side and a network cable on the other. It uses the FT230X chip from FTDI and a standard serial to rs232 converter from ST. However after doing some tests it seems that when I run my

ftd2xx static library link error

谁说我不能喝 提交于 2019-12-25 11:58:07
问题 I'm working on a DLL project in Visual Studio 2017. This library adds some functionality around the ftd2xx library from FTDI. I set up the project as described in this instruction. I'm linking against the static version of the ft2dxx library. The only difference between the instruction and my project is the selection of the Runtime Library. The instruction states (figure 2.16) that the Multi-threaded Debug Runtime library must be used. In my case, I selected the Multi-threaded Debug DLL (/MDd

ftd2xx static library link error

女生的网名这么多〃 提交于 2019-12-25 11:57:12
问题 I'm working on a DLL project in Visual Studio 2017. This library adds some functionality around the ftd2xx library from FTDI. I set up the project as described in this instruction. I'm linking against the static version of the ft2dxx library. The only difference between the instruction and my project is the selection of the Runtime Library. The instruction states (figure 2.16) that the Multi-threaded Debug Runtime library must be used. In my case, I selected the Multi-threaded Debug DLL (/MDd

Cross compile FTDI VCP Driver for embedded linux arm

大憨熊 提交于 2019-12-23 19:24:27
问题 I'm trying to cross compile the FTDI VCP Driver for my embedded arch linux arm machine. I downloaded the source files from http://www.ftdichip.com/Drivers/VCP.htm onto my host machine which is running kernel: 2.6.32-54-generic-pae When running the Makefile, I get errors related to kernel headers, ie: asm/thread_info.h file not found. I realize that this means that my asm symlink is broken, so I tried linking it to linux-headers-2.6.32-54/include/asm-generic but the contents of that directory

Official FTDI android drivers read() is not working

前提是你 提交于 2019-12-22 10:56:52
问题 I'm using official drivers from http://www.ftdichip.com/Android.htm 03-20 13:37:52.359: WARN/FTDI(4453): read starting 03-20 13:37:52.359: WARN/FTDI(4453): 6 bytes available 03-20 13:37:57.960:WARN/FTDI(4453): 0 bytes read 03-20 13:37:57.960: WARN/FTDI(4453): read finished The source code for this is trivial: public int read(byte[] buffer, int timeout) throws IOException { Log.w(TAG, "read starting"); try { Log.w(TAG, device.getQueueStatus() + " bytes available"); int read = device.read

FTDI D2xx android java not reading

霸气de小男生 提交于 2019-12-22 08:47:54
问题 I am currently porting some code I have form C# to Java to run in on an Android system. In my code, I have to read some data from a board that has a FTDI chip. I am trying to use the java drivers from the FTDI website. I can connect to the device and send commands to it correctly (LEDs blink as they should). The board appears to be sending me data correctly. bytesAvailable = ftDevice.getQueueStatus(); returns the expected number int bytesRead = ftDevice.read(rxData, bytesAvailable); returns

macOS X Mojave 10.14 Beta FTDI USB Serial Driver

纵饮孤独 提交于 2019-12-21 20:23:08
问题 I just installed macOS Mojave 10.14 Beta and when i connect an Arduino to the USB port, nothing appears in my Arduino IDE ports list. if i try ls /dev/tty.* i just see /dev/tty.Bluetooth-Incoming-Port connected. On macOS 10.13 everything was working ok. I tried reinstalling the driver ( http://www.ftdichip.com/Drivers/VCP/MacOSX/FTDIUSBSerialDriver_v2_4_2.dmg ) many times, I also tried following https://learn.sparkfun.com/tutorials/how-to-install-ftdi-drivers/mac but the port never appear.

Retrieval of the error counters via TIOCGICOUNT returns always error (-1)

青春壹個敷衍的年華 提交于 2019-12-12 12:19:16
问题 I have come across a show stopping problem when developing an interface application for a USB to RS422 converter module. I need to retrieve the UART error counters for framing, overrun, parity and break errors. But the call to ioctl always returns -1 and the counter values from the retrieved struct are jumping to very big numbers. The code i am using to retrieve the counters is the following: struct serial_icounter_struct counters; int ret = ioctl(portDescriptor, TIOCGICOUNT, &counters); To

How to use the FTDI D2XX library on OSX?

流过昼夜 提交于 2019-12-12 07:07:30
问题 I'm trying to talk to a an usb device connected to an EasySync USB2-H-5004-M USB to RS485 converter at baud rate 3750000 but on OSX. I've some c++ code working on Windows and have just managed to get it to compile on OSX (using the D2XX dylib instead of the dll) but I have an issue with communication somewhere and I'm not sure where to start and how to resolve this. I'm using openFrameworks/c++ and the method to list devices looks like this: int FTDI::enumerateDevices(){ DWORD numDevs; FT