Don't you still end up with an ft2232 driver?
When we say driver we mean the interface driver inside OpenOCD. Lousy
name, since they're easily confused with operating system drivers with
similar names.
Yes, but we should avoid talking about "interface driver". You have
"interface" (jlink - stlink - ft2232) and you have driver (libusb - d2xx
- vcp ...).
We should stop using driver term everywhere, but use it only for KERNEL
DRIVER.
With Dominic Rath, we had a better definition since the ft2232 was an
interface and not a driver ! For the TCL you call an interface and not a
driver.
This will really help the end user to understand what-is-what.
OpenOCD has several interface (adapter) drivers such as jlink, ft2232,
ftdi, rlink etc. All needs to be explicitly enabled at configure time.
The ftdi driver is a rewrite of the old ft2232 driver. Both support
all types of FTDI chips with an MPSSE mode (FT2232, FT232H, FT4232, ...)
The old ft2232 driver could talk to the hardware through either
libftdi (in turn using libusb) or the proprietary D2XX library from
ftdichip (in turn using libusb under linux, or the FTDI operating
system drivers under Windows).
The new ftdi driver uses libusb directly to talk raw USB with the
chip. So no, there's no ft2232 specific code involved other than the
ftdi driver in OpenOCD.
We should change the "new ftdi driver" term by "mpsse interface" term.
It is never too late.
From the TCL you want open and init a mpsse interface and not any ftdi
chip. Calling something "FTDI driver" in openocd is really not helping
the end-users, since they think, at first point of view, we talk about
the kernel driver D2xx or libFTDI or libUSB ...
Regards,
Laurent
http://www.amontec.com
Amontec JTAGkey-2P High-speed USB JTAG with power supply based FT2232H
/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
------------------------------------------------------------------------------
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