ftdi

What's going on after DTR/RTS is sent to an FTDI-based Arduino board?

为君一笑 提交于 2019-12-05 15:10:20
I'm working over a sketch to enable uploading from an Android device to an Arduino board, and it works for Duemilanove ( FTDI -based) and Arduino Uno ( ATmega -based) when testing for PC/Arduino using rxtx (pure Java). But it does not work when using the USB-Android library as the setDTR/setRTS methods are not yet implemented. FTDI Android drivers allow the sending of setDTR/setRTS signals, but it fails to send/read data after it. So the problem is in the Android USB API and I can't figure out what's wrong.. What happens for FTDI-based Arduino boards after DTR/RTS are toggled? I believe that

Pylibftdi library not working (serial mode, UM232H)

感情迁移 提交于 2019-12-05 07:54:24
问题 First of all I am quite new with both python and Linux. That said I am trying to communicate to an FTDI UM232H chip using the pylibftdi library. I am running my scripts on Linux Ubuntu 12.04. I installed the library that I got here: http://pylibftdi.readthedocs.org/en/latest/ and apparently everything worked fine. I was also able to run some of the examples successfully. I then tried to write some code to communicate with the device: I wired it in a bus powered configuration (in order to get

Pylibftdi library not working (serial mode, UM232H)

不问归期 提交于 2019-12-03 23:06:12
First of all I am quite new with both python and Linux. That said I am trying to communicate to an FTDI UM232H chip using the pylibftdi library. I am running my scripts on Linux Ubuntu 12.04. I installed the library that I got here: http://pylibftdi.readthedocs.org/en/latest/ and apparently everything worked fine. I was also able to run some of the examples successfully. I then tried to write some code to communicate with the device: I wired it in a bus powered configuration (in order to get power from the USB), then I short-circuited TX and RX pins so that what I am sending on TX will be read

How can I get Linux device with FTDI D2XX driver API

匿名 (未验证) 提交于 2019-12-03 08:30:34
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: 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 API. thanks 回答1: As the D2XX Programmer's Guide tells in the Introduction: For Linux, Mac OS X (10.4 and later) and Windows CE (4.2 and later) the D2XX driver and VCP driver are mutually exclusive options as only one driver type may be installed at a given time for a given device ID. The problem is

Serial or HID (usb) Communication in iOS (iPhone/iPad)

柔情痞子 提交于 2019-12-03 03:39:29
I want to get data from glucose meter devices by connecting into iPhone or iPad devices. I have different vendors glucose meters some uses simple HID interface for communicate and other uses serial communication. These are the two possible ways of communication: USB to 30-Pin connector. 3.5 jack to 30-Pin Connector. USB or 3.5 jack will be connected to glucose meter and 30 pin connector will be attached with iDevice. After having hours of research I did not find much help on internet for iOS specific. I do find ORSSerialPort but I think it is for OS X apps only. There is RedPark serial Cable

Unable to open a connection to an FTDI device

匿名 (未验证) 提交于 2019-12-03 02:38:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I'm working on a small OS X app that connects to an FTDI device. I've configured my project according to the answer in this question (I've added the .dylib file as a framework, and I added the ftd2xx.h, WinTypes.h, and ftd2xx.cfg files to my project). I'm currently able to detect if/when the FTDI device is connected over USB: DWORD deviceCount = 0; FT_STATUS ftdiPortStatus = FT_ListDevices(&deviceCount, NULL, FT_LIST_NUMBER_ONLY) if (ftdiPortStatus == FT_OK) { // The debugger tells me the deviceCount is now 1 ... } However, if I try to open

Using FTDI D2XX drivers with Python from Raspberry Pi on raspbian soft-float

匿名 (未验证) 提交于 2019-12-03 01:58:03
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 由 翻译 强力驱动 问题: We have a USB device controlled by FTDI's D2XX drivers. It's currently controlled from a Windows machine via a Python interface and as a fun project I tried moving the control to a Raspberry Pi (about 1/10th the cost of a PC, not including the OS cost). There were many hurdles to clear, but after a few weeks I finally found all the answers and got it working. The answers were spread across several forums so as a thank you to the Stack Overflow community I thought I'd consolidate them here. First, the project required: An operating

Unable to open a connection to an FTDI device

隐身守侯 提交于 2019-12-02 17:54:11
问题 I'm working on a small OS X app that connects to an FTDI device. I've configured my project according to the answer in this question (I've added the .dylib file as a framework, and I added the ftd2xx.h, WinTypes.h, and ftd2xx.cfg files to my project). I'm currently able to detect if/when the FTDI device is connected over USB: DWORD deviceCount = 0; FT_STATUS ftdiPortStatus = FT_ListDevices(&deviceCount, NULL, FT_LIST_NUMBER_ONLY) if (ftdiPortStatus == FT_OK) { // The debugger tells me the

Unable to open a connection to an FTDI device

自闭症网瘾萝莉.ら 提交于 2019-12-02 09:35:48
I'm working on a small OS X app that connects to an FTDI device. I've configured my project according to the answer in this question (I've added the .dylib file as a framework, and I added the ftd2xx.h, WinTypes.h, and ftd2xx.cfg files to my project). I'm currently able to detect if/when the FTDI device is connected over USB: DWORD deviceCount = 0; FT_STATUS ftdiPortStatus = FT_ListDevices(&deviceCount, NULL, FT_LIST_NUMBER_ONLY) if (ftdiPortStatus == FT_OK) { // The debugger tells me the deviceCount is now 1 ... } However, if I try to open a connection to the device using either of the

ftdi d2xx conflict with ftdi_sio on linux - How to remove ftdi_sio automatically

╄→尐↘猪︶ㄣ 提交于 2019-12-01 23:05:07
I have a rf-reader with ftdio usb to serial chip. I was able to write a program to control it using ftdi d2xx library. So far so good. The issue is that when the reader is reconnected to the PC I have to remove ftdi_sio and usbserial mods using this command: sudo rmmod ftdi_sio sudo rmmod usbserial I can't use ftdi d2xx library to connect to the reader if I don't run the code. I want to be able to add a udev rule so whenever the reader is connected kernel unload the ftdi_sio and usbserial (or not load them in first place) I've added a new udev rul to /etc/udev/rules.d with name 99-ftdi-sio