D2XX for Linux
--------------
As Linux distributions vary these instructions are a guide to installation
and use. FTDI has tested the driver with Ubuntu 14.04 (kernel version 3.13)
for i386 and x86_64, and Raspbian 7 (kernel version 3.18) for arm-v6-hf.
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://libusb.info) which
is distributed under the terms of the GNU Lesser General Public License
(see libusb/COPYING or http://www.gnu.org/licenses). Source code for
libusb is included in this distribution.
Installing the D2XX shared library and static library.
------------------------------------------------------
1. tar xfvz libftd2xx-x86_64-1.4.6.tgz
This unpacks the archive, creating the following directory structure:
build
libftd2xx (re-linkable objects)
libusb (re-linkable objects)
libftd2xx.a (static library)
libftd2xx.so.1.4.6 (dynamic library)
libftd2xx.txt (platform-specific information)
examples
libusb (source code)
ftd2xx.h
WinTypes.h
2. cd build
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 libftd2xx.* /usr/local/lib
Copies the libraries to a central location.
5. chmod 0755 /usr/local/lib/libftd2xx.so.1.4.6
Allows non-root access to the shared object.
6. ln -sf /usr/local/lib/libftd2xx.so.1.4.6 /usr/local/lib/libftd2xx.so
Creates a symbolic link to the 1.4.6 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
没有合适的资源?快使用搜索试试~ 我知道了~
Linux版FTDI USB转串口驱动,FT232
5星 · 超过95%的资源 需积分: 50 155 下载量 187 浏览量
2017-11-19
20:07:48
上传
评论 2
收藏 877KB TGZ 举报
温馨提示
共145个文件
c:41个
o:30个
makefile:21个
FTDI官方Linux版本的FT232 USB转串口驱动,需自行编译安装,3.16内核经测试可以使用,4.x内核已经集成了该驱动,不需额外安装
资源推荐
资源详情
资源评论
收起资源包目录
Linux版FTDI USB转串口驱动,FT232 (145个子文件)
libftd2xx.so.1.4.6 293KB
libftd2xx.a 394KB
configure.ac 168B
Makefile.am 2KB
Makefile.am 323B
ua_data.bin 44B
windows_usb.c 159KB
io.c 102KB
core.c 82KB
linux_usbfs.c 73KB
darwin_usb.c 70KB
descriptor.c 35KB
wince_usb.c 28KB
poll_windows.c 20KB
openbsd_usb.c 18KB
netbsd_usb.c 16KB
eeprom-read.c 13KB
sync.c 11KB
jtag.c 11KB
hotplug.c 10KB
main.c 10KB
linux_netlink.c 9KB
linux_udev.c 8KB
strerror.c 7KB
threads_windows.c 7KB
main.c 6KB
main.c 5KB
main.c 5KB
main.c 5KB
main.c 5KB
main.c 4KB
main.c 4KB
main.c 3KB
main.c 3KB
main.c 3KB
main.c 3KB
main.c 2KB
threads_posix.c 2KB
main.c 2KB
main.c 2KB
main.c 1KB
main.c 1KB
main.c 1KB
poll_posix.c 1KB
main.c 1KB
main.c 986B
main.c 882B
compile 7KB
configure 531KB
COPYING 26KB
haiku_usb_backend.cpp 15KB
haiku_usb_raw.cpp 7KB
haiku_pollfs.cpp 7KB
libusb-1.0.def 7KB
depcomp 23KB
config.guess 42KB
libusb.h 69KB
ftd2xx.h 40KB
ftd2xx.h 40KB
libusbi.h 39KB
windows_usb.h 32KB
linux_usbfs.h 6KB
config.h 6KB
wince_usb.h 5KB
windows_common.h 5KB
WinTypes.h 5KB
WinTypes.h 5KB
poll_windows.h 5KB
darwin_usb.h 4KB
haiku_usb_raw.h 4KB
haiku_usb.h 3KB
hotplug.h 3KB
threads_windows.h 3KB
threads_posix.h 2KB
version.h 431B
poll_posix.h 218B
version_nano.h 26B
Makefile.in 51KB
Makefile.in 28KB
install-sh 14KB
libtool.m4 280KB
aclocal.m4 43KB
ltoptions.m4 12KB
lt~obsolete.m4 6KB
ltsugar.m4 4KB
ltversion.m4 690B
Rules.make 453B
Makefile 808B
Makefile 453B
Makefile 437B
Makefile 198B
Makefile 198B
Makefile 197B
Makefile 189B
Makefile 188B
Makefile 188B
Makefile 187B
Makefile 186B
Makefile 186B
Makefile 185B
共 145 条
- 1
- 2
资源评论
- yeshaoming19852018-08-14可以,下载了,但是发现4.x内核已经集成了该驱动,不需额外安装
- 程序员(无名)2018-09-25非常有用,谢谢分享
Segmentfault
- 粉丝: 15
- 资源: 5
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- 常用工具集参考用于图像等数据处理
- 音乐展示网页、基于Stenography的图像数字水印添加与提取,以及基于颜色矩和Tamura算法的图像相似度评估算法py源码
- 基于EmguCV(OpenCV .net封装),图像数字水印加解密算法的实现,其中包含最低有效位算法,离散傅里叶变换算法+文档书
- 基于matlab+DWT的图像水印项目,数字水印+源代码+文档说明+图片+报告pdf
- (优秀毕业设计)基于python实现的数字图像可视化水印系统的设计与实现,多种数字算法实现+源代码+文档说明+理论演示pdf
- 基于DWT-DCT-SVD和deflate压缩的数字水印方法python源码+Gui界面+演示视频(高分毕业设计)
- 基于matlab实现DWT、DCT、SVD算法数字图像水印可视化系统+GUI界面+文档说明+详细注释(高分毕业设计)
- NCIAE-Data-Structure大一大二笔记
- 学习wireshark笔记
- digital-image-数据可视化笔记
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功