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
3
votes
1 answer

Waiting for serial transmission to complete in Win32

I seem to be having a bit of trouble in waiting for the completion of serial data transmissions. My interpretation of the relevant MSDN article is the EV_TXEMPTY event is the correct signal and which indicates that: EV_TXEMPTY - The last character…
doynax
  • 4,285
  • 3
  • 23
  • 19
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
0 answers

ESP8266 "AT" shows no response

I tried to communicate with my ESP8266 over a serial connection but i don't receive any response from the device. What is working: Flashing works and i can get the Chip ID and MAC address (using esptool). Wiring is done like shown here Power comes…
br0ken.pipe
  • 850
  • 3
  • 17
  • 32
3
votes
1 answer

PySerial - Max baud rate for platform (windows)

I'm trying to get pySerial to communicate with a microcontroller over an FTDI lead at a baud rate of 500,000. I know my microcontroller and FTDI lead can both handle it as can my laptop itself, as I can send to a putty terminal at that baud no…
3
votes
2 answers

FTDI eeprom programming using linux command line

We have a FTDI device, FT2232H and an EEPROM M93C46-WMN6TP. Is there a utility or a way to program the eeprom in Linux using command line? We do not have provision for GUI in Linux or for connecting it to a windows system.
Abin
  • 87
  • 1
  • 9
3
votes
2 answers

RS232 FTDI FT_OPEN returns FT_ERROR CODE = 3

I am working on a project, RS232 for serial communication with a device, open comport is called to initiate communication, It opens eveytime successfully using FT_OPEN ** Receive Data ** FT_CLOSE, but sporadically FT_OPEN returns FT_ERROR code of…
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
3
votes
2 answers

Why does FT_Read() fail in the child process but work in the parent process?

I have the following program, which uses the ftd2xx library to write a byte to an USB device and then reads the reply. #include #include #include #include #include "../ftd2xx.h" void fatal (const char…
ttt13579
  • 31
  • 3
3
votes
1 answer

How to (almost) prevent FT232R (uart) receive data loss?

I need to transfer data from a bare metal microcontroller system to a linux PC with 2 MBaud. The linux PC is currently running a 32 bit Kubuntu 14.04. To archive this, I'd tried to use a FT232R based USB-UART adapter, but I sometimes observed lost…
Joe
  • 3,090
  • 6
  • 37
  • 55
3
votes
1 answer

opening a usb-serial port using the device VID/PID

In Linux usb-serial converters usually show up as a node in the /dev directory: /dev/ttyUSBx. To use the serial converter the first step it to open the port, then configure it and so on. port = open("/dev/ttyUSB0", O_RDWR); If you want to use a…
Pandrei
  • 4,843
  • 3
  • 27
  • 44
3
votes
0 answers

Phantom usb to serial port

My program talks to various electronic devices via an ftdi usb to serial port. On the hardware side it can happen, that the ftdi chip is disturbed by a short power outage. If this happens, the software should reset the connection and continue to…
Paul R.
  • 678
  • 5
  • 19
3
votes
0 answers

Importing functions from C static library in D?

I have already converted static lib to OMF format, but still have message like: .dub\build\application-debug-windows-x86-dmd_2066-1C1E0ED068478598700706764846CD8E\ftdi.obj(ftdi) Error 42: Symbol Undefined _FT_Open In program I have import…
Peter
  • 123
  • 1
  • 6
3
votes
1 answer

Connect to an FTDI device from Mac/OSX - install-driver technique

There are several options for connecting to an FTDI device from a Mac, depending on OS version and driver choice. Some of the techniques have been covered in other stackoverflow questions. One technique has not yet been covered (as far as I can…
Troy
  • 21,172
  • 20
  • 74
  • 103
3
votes
1 answer

Properly call external dll in Delphi?

I know few basics of Delphi (In fact I've been using it for few years)... I'm hitting a wall with DLL's (never really play with this). Consider this example: unit Unit1; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics,…
ELCouz
  • 572
  • 2
  • 6
  • 17
3
votes
2 answers

node.js ftdi module throws error: libftd2xx.so: cannot open shared object file

I installed the Linux-ARM-FTDI Drivers 1.1.12 like in the readme-file described: http://www.ftdichip.com/Drivers/D2XX/Linux/ReadMe-linux.txt and also successfully tested the EEPROM/read-example to check the installation and it gives me a correct…
B Piltz
  • 125
  • 9