Questions tagged [ftdi]

Future Technology Devices International, commonly known by its acronym FTDI, is a semiconductor device company, specializing in Universal Serial Bus (USB) technology and converters from USB to other (UART, I²C, SPI etc.) communication buses.

Useful Links:

Official Web Site

470 questions
2
votes
2 answers

Wrapper library for avrdude

The problem: Through an Android app, be able to programmatically verify arduino flash contents to ensure it has not been changed (maliciously) I am able to do that with avrdude using the command as below in the android adb shell avrdude…
kev
  • 1,148
  • 2
  • 14
  • 29
2
votes
2 answers

Python for .NET: How to provide a variable of special type (FTDI.FT_DEVICE_INFO_NODE[]) as method parameter

I want to use a DLL with the help of Python for .NET (pythonnet). The methods in this DLL require (pointer to?) variables as parameters. I could figure out how to call a method and to provide an integer variable as parameter. I could not figure out…
mdk
  • 398
  • 2
  • 8
2
votes
0 answers

Using FTDI D2xx and Thorlabs APT communication protocol results in delays on Linux

I am trying to communicate with the Thorlabs TDC001 controllers (apt - dc servo controller) by using the FTDI D2xx driver on Linux. However, when I send writing commands, large delays occur (1-2 seconds) until the command is actually executed on…
pixelpress
  • 109
  • 1
  • 14
2
votes
1 answer

How do I connect to an FT230 with pylibftdi?

I have exactly one FTDI FT230X connected to my machine. I can see the device using lsusb: $ lsusb Bus 002 Device 005: ID 051d:0002 American Power Conversion Uninterruptible Power Supply Bus 002 Device 004: ID 046d:c408 Logitech, Inc. Marble Mouse…
DanielSank
  • 3,303
  • 3
  • 24
  • 42
2
votes
0 answers

FTDI specific - libftd2xx.so is not loaded when using python wrapper to libMPSSE.so

I have installed the FTDI libftd2xx.so following the FTDI installation guide. I also has the libMPSSE.so downloaded. I am writing a python wrapper to use the I2C functions in the libMPSSE.so However, I got the following error when trying to run my…
Allen W
  • 139
  • 10
2
votes
0 answers

Issues finding Thorlab device using pyserial on a mac running high-sierra.

I am trying to modify a package called thorpy in order to communicate with a a FTDI device sold by Thorlab. The device is an APT TDC001 T-Cube which use a USB and an RS-232 interface. I would like to know the best way to send and receive…
2
votes
0 answers

How to grant USB permissions programmatically on Android Lollipop 5.1

I am trying to connect my Android tablet with Lollipop 5.1 installed to a FTDI 232RL USB chip in order to manage a serial communication. I have a problem with the USB permission when I connect the device via USB. There is a way to grant the…
Mark
  • 346
  • 2
  • 5
  • 18
2
votes
2 answers

RS485: Inappropriate ioctl for device

I am using the following code to access the RS485 slave but I get the error: Error reading ioctl port (25): Inappropriate ioctl for device My code is as follows: #include #include int fd = open ("/dev/ttyUSB0",…
Jim Andrews
  • 43
  • 1
  • 7
2
votes
1 answer

FTDI kernel driver after using libftdi

I am using a custom board with an FTDI chip (FT4232) to get four serials communication over USB on a Linux system (Fedora 24). When the board is plugged, it is working great, the communication ports appear, and I am able to communicate. However, I…
Puck
  • 2,080
  • 4
  • 19
  • 30
2
votes
2 answers

FTDI Device not detected

After connecting an FTDI device to the USB port, FT_OpenEx() returns an error code 2 which is FT_DEVICE_NOT_FOUND. However on running "lsusb" in the terminal, the FTDI device does show up. What is causing FT_Open_Ex() to return FT_DEVICE_NOT_FOUND…
humblewolf
  • 21
  • 1
  • 6
2
votes
1 answer

Where can I find the device specific JTAG instructions for Cortex-M3?

I'm trying to communicate with a Cortex-M3 based microcontroller (LPC1769) through JTAG. I already have the hardware required, and have managed to get an example program to work, but to progress further, I need to know the device-specific JTAG…
Muller
  • 49
  • 4
2
votes
1 answer

pylibftdi not working python3, works fine on python2.7

Hello there @codedstructure, I'm able to import the pylibftdi module and list my FTDI devices using python (2.7) and have installed pylibftdi using pip3, but running the list_devices example outputs nothing: pi@raspberrypi:~ $ python -m…
2
votes
1 answer

FT_W32_CreateFile Failed

I am using FTDI D2XX Programmer's Guide to interact with FTDI serial-to-usb converter. The following code is used to open the USB port. bool CUsbPort::OpenIOHandle() { m_hComm = FT_W32_CreateFile(m_SerialNumberBuf, …
user3097695
  • 1,152
  • 2
  • 16
  • 42
2
votes
2 answers

Best Practices? Wait until receive or raise an event on receive

First of all, I wanted to thank the community. You've been of great support lately ! Usually i don't even need to ask the questions because they're already there. Now i have an issue that's not directly related to code but programming itself. I'm…
Jazz.
  • 458
  • 4
  • 12
2
votes
0 answers

Problems setting baud rate in Matlab

I am trying to increase the baud rate for serial communication to a microcontroller using Matlab and it seems Matlab does not want to cooperate. My very basic setup in Matlab is: s =…
thkemp
  • 121
  • 3