Questions tagged [d2xx]

D2XX is Future Technology Devices International (FTDI) proprietary interface for easy communication with its FTxxxx devices like FT232R (USB<->UART converter) or FT4222H (High/Full Speed USB2.0-to-Quad SPI/I2C device controller). The D2XX interface provides special functions that are not available in standard operating system COM port APIs, such as setting the device into a different mode or writing data into the device EEPROM.

Future Technology Devices International () provides two alternative software interfaces for its range of USB UART and USB FIFO ICs. One interface provides a Virtual COM Port (VCP) (kind of ) which appears to the system as a COM port. The second interface, D2XX, is provided via a proprietary driver (like FTD2XX.DLL for Windows or d2xx.jar for Android/Java). The D2XX API is common across several operating systems supported by FTDI, namely Windows, Windows CE, Linux, Mac OS X and Android.

D2XX drivers allow direct access to the USB device. Application software can access the USB device through a series of API function calls. The functions available are listed in the D2XX Programmer's Guide.

Useful links:

Official web page

Installation Guides

D2XX Android Java Library

Java D2xx for Android API User Manual

Android D2XX Example Source code

38 questions
7
votes
0 answers

FTDI D2XX Library open multi interface devices using openByUSBDevice() call

On one of my design, I'm using a FT4232 Quad RS232 IC. Since the design has multiple FTDI devices, I uses the Android USB Manager API to filter down by Vendor ID and product ID. After such a filter, what I get is essentially a UsbDevice. But in this…
C--
  • 16,393
  • 6
  • 53
  • 60
6
votes
1 answer

FTDI differences between VCP and D2XX

I have a FTDI FT232R device and am currently trying to figure out whether to use VCP or D2XX. I've read a little about the pros and cons of both, but am still unable to determine which one to use for this project. Since I am going to use Linux for…
Sparkas
  • 143
  • 1
  • 9
4
votes
1 answer

Why does my D2XX application not work when forked?

I'm writing a simple application in C, running on a Raspberry Pi, that makes use of the D2XX drivers to communicate with a serial port device. I've followed a number of online tutorials and reference guides to get it working, and have taken steps…
soapergem
  • 9,263
  • 18
  • 96
  • 152
4
votes
1 answer

How can I get Linux device with FTDI D2XX driver API

I am using FTDI D2XX driver API to communicate with a FTDI device. It gives me some information about the device like locid, serialnumber, description but it is not enough. How can I get the device number (/dev/ttyUSBXX) or bus or port with this…
GLampros
  • 121
  • 1
  • 8
3
votes
1 answer

Why can't I access my FTDI device using D2XX on a Raspberry Pi?

I'm trying to make use of FTDI's D2XX drivers to access a USB-Serial device on a Raspberry Pi 3. Here's what I've done so far: I downloaded the 1.3.6 ARMv6 hard-float version of the driver (which states that it is suitable for a Raspberry Pi), and…
soapergem
  • 9,263
  • 18
  • 96
  • 152
3
votes
1 answer

FTDI D2XX C# .NET Wrapper running on Linux / Mono - SetEventNotification being triggered seems to crash program

I'm working on porting an existing, functional C# application we have that uses the FTDI D2XX C# .NET wrapper on Windows, over to Linux and Mono. I have followed directions given on installing the Linux D2XX driver. When it's detected that we're…
Peter
  • 41
  • 2
  • 5
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 can I use EventWaitHandle to create an event?

I'm writing a program that listens on a Serial Port. I already have code that utilizes the VCP drivers (Virtual COM Port) to open a serial connection and then add an event handler for any time data is received. That code roughly looks like…
soapergem
  • 9,263
  • 18
  • 96
  • 152
1
vote
0 answers

How to link ftdi d2xx dylib in xcode 11.2?

I'm trying to get the ftd2xx dylib to work in a MacOS terminal xcode project. I've installed the driver and the conflict fix for the apple driver correctly as per ReadMe instructions. https://www.ftdichip.com/Drivers/D2XX/MacOSX/ReadMe.rtf Xcode…
Scorp85
  • 11
  • 1
  • 1
1
vote
2 answers

Android + FTDI FT232H Compatibility

I am building a C library that interfaces the FTDI FT232H USB to SPI converter. It currently works on Windows/Linux with the D2XX drivers. On Android (6), the library will be accessed through JNI on devices running armeabi-v7a and arm64-v8a…
Tim Hansson
  • 309
  • 2
  • 16
1
vote
1 answer

FTDI D2XX FT_DEVICE_LIST_INFO_NODE structure is all zeros

I am trying to get a Matlab MEX to run in Linux. It uses FTDI's D2XX library v1.3.6 (Documentation). FT_CreateDeviceInfoList(&ftdi_count) gives me an ftdi_count of 1, so the FTDI chip is detected. However, when iterating through the device list from…
Laurenz
  • 1,810
  • 12
  • 25
1
vote
1 answer

QT+Android+Lib = VFP Error

im currently developing an Qt App, which uses FTDIs D2xx Library. My status is that I can compile and run the programm under Windows, Linux and an embedded Linux (Odroid, with self-compiled cross compile Qt). But I'm struggling with Android (Qt's…
Oliver h
  • 11
  • 2
1
vote
1 answer

No response from FT230X using Android D2XX driver

I have made a simple Android app that connects to an FTDI chip using the D2XX driver and writes a command and listens for responses. Using this app I can successfully write some dummy data to an FT232B chip and receive a response. With the same app…
Alix
  • 2,630
  • 30
  • 72
1
vote
1 answer

FDTI D2XX usable without admin rights?

Is it possible to run an Application that uses FTDIs D2XX-Drivers to access a FTDI-chip with normal User privileges? Background: I want to build an USB-gadget that runs on Windows 7 (Enterprise) PCs for everybody.
user3246431
  • 922
  • 1
  • 7
  • 12
1
vote
1 answer

Cannot Read Bytes from an FTDI Serial I2C to Android Eclipse Java app

I have an FTDI UMFT201XB (I2C serial USB Interface) connected to an android 4.2 tablet through a OTG cable. The FTDI is connected to a PIC MCU. I have run the example TN-147 from FTDI and the device is recognized correctly. I have modded the TN-147…
Epi
  • 15
  • 3
1
2 3