libftdi Archives

Subject: Re: FTDI Questions

From: John Battle <jobattle@xxxxxxxxx>
To: libftdi@xxxxxxxxxxxxxxxxxxxxxxx
Date: Tue, 5 Jun 2012 10:01:08 -0700
Vivien

Thanks for the answers, but I am still having difficulty (see commands below).  As you can see, the installer seems to believe that the latest version of libftdi (libftdi1) is already installed, but when I run libftdi-config --version it still indicates that the version is 0.18.  What gives??

Thanks again
John Battle

$ sudo apt-get install libftdi1
[sudo] password for jobattle:
Reading package lists... Done
Building dependency tree      
Reading state information... Done
libftdi1 is already the newest version.
libftdi1 set to manually installed.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
$ libusb-config --version
0.1.12
$ libftdi-config --version
0.18


On Tue, Jun 5, 2012 at 12:42 AM, Vivien Giraud <vgiraud@xxxxxxxxxxx> wrote:
On 06/05/2012 02:00 AM, John Battle wrote:
Hi

I have a couple of questions regarding libftdi/libusb on Linux 64 Bit (Kernel 3.0) Ubuntu 11.10.

I am attempting to communicate with a FT2232H and would like some advice:

1. How can I tell which library versions I have installed on a system?

libusb-config --version



2. Can I have more than one version installed at the same time?
I don't think you can.


3. I need to communicate in the high speed mode.  Is there any advantage to installing libftdi-1.0 or can I just stick to ther version that got installed with the os installation.
If I remember well you need libftdi version 0.16 minimum for high speed


4. Is there a binary of 1.0 or do I have to build it from source (I had trouble getting it to build)
What is you problem ?
Did you try sudo apt-get install libftdi1 ?


5. How can I most easily test to see that I am communicating with the FTDI chip?  Can I send a file and looking at the chip pins with a scope or something like that?
It's depend what do you want to do, if you want to upload an image to a target use OpenOCD, if you want to test your pins use a scope or a led connected on it.


6. What is the best way to get data into the chip at a rate of around 20MBPS?  Serial or parallel or does it matter?
You can see source code of openOCD for this it could be usefull, maybe.

Thanks

John Battle
Caltech

Vivien

--
libftdi - see http://www.intra2net.com/en/developer/libftdi for details.
To unsubscribe send a mail to libftdi+unsubscribe@developer.intra2net.com  



libftdi - see http://www.intra2net.com/en/developer/libftdi for details.
To unsubscribe send a mail to libftdi+unsubscribe@xxxxxxxxxxxxxxxxxxxxxxx


Current Thread