On Mon, Apr 22, 2013 at 2:40 PM, Freddie Chopin <[email protected]>wrote:

> W dniu 2013-04-22 14:31, Juan Erbes pisze:
> > How will look the ./configure commands parameter for this?
> >
> > The ft2232 driver is the propietary?
> >
> > The libftdi is the open source librarý?
> >
> > I verified on the README file, and the nearest option is:
> >
> >    --enable-ft2232_libftdi Enable building support for FT2232 based
> devices
> >                            using the libftdi driver, opensource
> alternate of
> >                            FTD2XX
> >
> > Or the other part of the ft2232 driver is compiled on the openocd, with
> > this option?
>
> ft2232 is a driver in OpenOCD. It can use either libftdi (and libusb) or
> ftd2xx.
>
> The general problem is that ft2232 is sort-of deprecated as there's a
> new faster and cleaner driver called ftdi, which uses libusb-1.0 (there
> are config scripts in interface/ftdi/...), and I guess noone cares for
> closed-source ftd2xx, as you cannot publish such binary anywhere due to
> GPL restrictions.
>

To expand on the issue, the only reason to use --enable-ft2232_ftd2xx is
when you're on Windows and you want to use the hardware with other tools
that require the closed-source D2XX library and you don't want to switch
drivers back and forth.

In all other cases, --enable-ft2232_libftdi is a better choice. Even better
of course is to switch to --enable-ftdi (especially if you're thinking of
arguing that ft2232 with D2XX might be a bit faster than ft2232 with
libftdi; ftdi is faster than both).

On linux there is no reason at all to choose the D2XX library. We should
probably even disable the option for non-Windows hosts.

That's why it's better to use --enable-ft2232_libftdi (and you have to
> have libftdi and libusb) and/or --enable-ftdi.
>
>
Perhaps we should also mark ft2232 as deprecated in the configure help?

/Andreas
------------------------------------------------------------------------------
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
_______________________________________________
OpenOCD-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to