D2XX for Linux
--------------
As Linux distributions vary these instructions are a guide to installation
and use. FTDI has tested the driver and samples with Ubuntu 12.04 (kernel
version 3.2) for i386 and x86_64, and Debian 6 'squeeze' (kernel version
2.6.32) for arm926.
FTDI developed libftd2xx primarily to aid porting Windows applications
written with D2XX to Linux. We intend the APIs to behave the same on
Windows and Linux so if you notice any differences, please contact us
(see http://www.ftdichip.com/FTSupport.htm).
FTDI do not release the source code for libftd2xx. If you prefer to work
with source code and are starting a project from scratch, consider using
the open-source libFTDI.
libftd2xx uses an unmodified version of libusb
(http://sourceforge.net/projects/libusb/). Source code for libusb is
included in the driver distribution.
Installing the D2XX shared library and static library.
------------------------------------------------------
1. tar xfvz libftd2xx1.1.12.tar.gz
This unpacks the archive, creating the following directory structure:
build
arm926
i386
x86_64
examples
libusb
ftd2xx.h
WinTypes.h
2. cd build/arm926
3. sudo -s
or, if sudo is not available on your system:
su
Promotes you to super-user, with installation privileges. If you're
already root, then step 3 (and step 7) is not necessary.
4. cp lib* /usr/local/lib
Copies the libraries to a central location.
5. chmod 0755 /usr/local/lib/libftd2xx.so.1.1.12
Allows non-root access to the shared object.
6. ln -sf /usr/local/lib/libftd2xx.so.1.1.12 /usr/local/lib/libftd2xx.so
Creates a symbolic link to the 1.1.12 version of the shared object.
7. exit
Ends your super-user session.
Building the shared-object examples.
------------------------------------
1. cd examples
2. make -B
This builds all the shared-object examples in subdirectories.
With an FTDI device connected to a USB port, try one of the
examples, e.g. reading EEPROM.
3. cd EEPROM/read
4. sudo ./read
If the message "FT_Open failed" appears:
Perhaps the kernel automatically loaded another driver for the
FTDI USB device.
sudo lsmod
If "ftdi_sio" is listed:
Unload it (and its helper module, usbserial), as follows.
sudo rmmod ftdi_sio
sudo rmmod usbserial
Otherwise, it's possible that libftd2xx does not recognise your
device's Vendor and Product Identifiers. Call FT_SetVIDPID before
calling FT_Open/FT_OpenEx/FT_ListDevices.
Building the static-library example.
------------------------------------
1. cd examples/static
2. rm lib*
Cleans out any existing libraries built for another target.
3. cp /usr/local/lib/libftd2xx.a .
4. make -B
5. sudo ./static_link
This example demonstrates writing to, and reading from, a device with
a loop-back connector attached.
The examples show how to call a small subset of the D2XX API. The full
API is available here:
http://www.ftdichip.com/Support/Documents/ProgramGuides/D2XX_Programmer%27s_Guide(FT_000071).pdf
没有合适的资源?快使用搜索试试~ 我知道了~
资源详情
资源评论
资源推荐
收起资源包目录
FT232RL usb窗口驱动 (164个子文件)
libftd2xx.so.1.1.12 224KB
libftd2xx.so.1.1.12 218KB
libftd2xx.so.1.1.12 191KB
libftd2xx.a 260KB
libftd2xx.a 236KB
libftd2xx.a 217KB
ua_data.bin 44B
io.c 87KB
linux_usbfs.c 59KB
core.c 54KB
darwin_usb.c 51KB
descriptor.c 19KB
sync.c 11KB
main.c 6KB
main.c 5KB
main.c 5KB
main.c 5KB
main.c 4KB
main.c 4KB
main.c 4KB
main.c 3KB
main.c 3KB
main.c 2KB
main.c 2KB
main.c 2KB
main.c 2KB
main.c 1KB
main.c 1KB
main.c 1KB
main.c 1KB
main.c 986B
main.c 882B
ftdibus.cat 13KB
ftdiport.cat 13KB
ftd2xx64.dll 309KB
ftlang.dll 268KB
ftd2xx.dll 268KB
ftlang.dll 249KB
ftbusui.dll 164KB
ftbusui.dll 152KB
ftcserco.dll 77KB
ftcserco.dll 73KB
ftserui2.dll 64KB
ftserui2.dll 62KB
dpinst-amd64.exe 1022KB
dpinst-x86.exe 900KB
dp-chooser.exe 82KB
libftd2xx1.1.12.tar.gz 928KB
libusb.h 41KB
ftd2xx.h 40KB
ftd2xx.h 38KB
libusbi.h 28KB
ftd2xx.h 27KB
darwin_usb.h 4KB
linux_usbfs.h 4KB
WinTypes.h 4KB
config.h 3KB
WinTypes.h 2KB
ftdibus.inf 17KB
ftdiport.inf 14KB
ftd2xx.lib 754KB
ftd2xx.lib 196KB
ftd2xx.lib 22KB
ftd2xx.lib 20KB
Rules.make 69B
Makefile 377B
Makefile 197B
Makefile 197B
Makefile 196B
Makefile 192B
Makefile 188B
Makefile 188B
Makefile 187B
Makefile 186B
Makefile 185B
Makefile 185B
Makefile 185B
Makefile 184B
Makefile 184B
Makefile 184B
Makefile 184B
Makefile 183B
Makefile 182B
Makefile 182B
Makefile 181B
ftd2xx.o 64KB
ftd2xx.o 60KB
ftd2xx.o 53KB
linux_usbfs.o 29KB
linux_usbfs.o 26KB
linux_usbfs.o 23KB
core.o 15KB
io.o 15KB
io.o 12KB
io.o 12KB
core.o 12KB
core.o 12KB
ftee232h.o 10KB
ftee232h.o 10KB
usb_control.o 10KB
共 164 条
- 1
- 2
yuchuanxin
- 粉丝: 0
- 资源: 3
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- html动态爱心代码一(附源码)
- c40539bc-071a-486c-9d52-9d0c18d62dac 4.html
- 基于物理的非视域成像(NLOS)算法,利用了nerf+python源码+文档说明
- yuluer知更鸟.7z(1).001
- 基于Qt实现医院信息管理系统c++源码+文档说明+数据库(期末大作业)
- 基于python实现的医院信息管理系统完整源码+sql数据库+详细注释(高分课程设计)
- 基于python的眼底图像视杯视盘分割项目源码+文档说明+截图演示+详细注释(高分课程设计)
- ImageBasedModellingEdu-贰壹贰叁零
- DFFmeasurement-数据预处理
- ImageBasedModellingEdu-回文素数c语言
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
评论0