libftdi Archives

Subject: Re: libftdi

From: John Battle <jobattle@xxxxxxxxx>
To: libftdi@xxxxxxxxxxxxxxxxxxxxxxx
Date: Wed, 30 May 2012 14:10:14 -0700
Dear Uwe Bonnes

I have been trying to build libftdi-1.0 all day without success so I can't see the example you suggested.  I am very interested in this.

I used the instructions in the attached file and I got thru autoscan, but when I try to do any of the other commands (aclocal, autoheader, autoconfig or automake) I get the error message:

"aclocal: `configure.ac' or `configure.in' is required"

I don't know what to do about this.

So, I tried installing libftdi from my repository (Ubuntu 11.10 64Bit) and then tried to compile the program "simple.c" using the command: cc simple.c and it sends me the following error messages:

simple.c:(.text+0x17): undefined reference to `ftdi_init'
simple.c:(.text+0x62): undefined reference to `ftdi_usb_open'
simple.c:(.text+0x7a): undefined reference to `ftdi_get_error_string'
simple.c:(.text+0xc4): undefined reference to `ftdi_read_chipid'
simple.c:(.text+0x100): undefined reference to `ftdi_usb_close'
simple.c:(.text+0x118): undefined reference to `ftdi_get_error_string'
simple.c:(.text+0x150): undefined reference to `ftdi_deinit'

I even tried pointing the include file directily bu chinging the include like to:

#include "/usr/include/ftdi.h"

but the results were the same.

Help!!!

John Battle




On Wed, May 30, 2012 at 2:02 AM, Uwe Bonnes <bon@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
>>>>> "John" == John Battle <jobattle@xxxxxxxxx> writes:

   John> Hi I don't know if you remember me from the Microchip world but I
   John> ran across your name on the libftdi developer page and wondered if
   John> you could give me a bit of information about it.

   John> I want to write an application that receives data from a FTDI
   John> MorphIC-II board at a data rate of about 20 MBPS (meaning High
MBPS means Mega-Bit-or-Byte per second?
   John> Speed) on a 64 bit linux system running Ubuntu 11.04.  I have been
   John> trying to use the D2XX libraries from FTDI but having some
   John> difficulty and wondered it it would be possible to use
   John> libftdi/libusb instead.

   John> Do you know of a simple application in either C or Python I could
   John> use as a starting point?

Did you have a look at the stream_test application in the libftdi-1.0
example directory? We use this here to transfer about 15 MByte/s. If you are
interested, I can send you the Verilog code for the other side for an Xilinx
XC6S45LX.

Bye
--
Uwe Bonnes                bon@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

Institut fuer Kernphysik  Schlossgartenstrasse 9  64289 Darmstadt
--------- Tel. 06151 162516 -------- Fax. 06151 164321 ----------

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




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


Attachment: libftdi-1.0.pdf
Description: Adobe PDF document

Current Thread