On Wed, Jun 19, 2013 at 10:25 PM, Alexander Pakhomov <[email protected]>wrote:
> I use the latest FTDI driver. With new configs it still crashes.
> Under valgrind it doesn't crash but prints errors you can find in
> attachment.
>
> > On Wed, Jun 19, 2013 at 4:11 PM, Paul Fertser <[email protected]>
> wrote:
> >> Please use the newer ftdi driver and the corresponding config file
> >> "interface/ftdi/olimex-jtag-tiny.cfg", as it's important to have
> >> proper config files in the upstream sources; and if you have any
> >> issues with it, feel free to report.
>
As a side note, to avoid confusion, please note that what Paul is talking
about is not the proprietary FTDI "driver" (rather "library") from
ftdichip.com but the adapter driver internal to OpenOCD called "ftdi",
which is used to talk to JTAG adapters using FTDI chips. There is also an
older driver for FTDI based adapters in OpenOCD called "ft2232", but it is
deprecated. The proprietary FTDI "driver" libftd2xx is not needed at all by
OpenOCD, although the old ft2232 driver can optionally use it instead of
libftdi as a backend.
The stock configuration files using the new ftdi driver are located in
the interface/ftdi directory, while the configs using the deprecated driver
are directly in the interface directory.
I only mention this because you list libftd2xx 1.1.12 in your system setup
(below) when, in fact, you're not even using it in the build (which would
require --enable-ft2232_ftd2xx). There are a lot of different options and
libraries with similar naming involved so I see how this can be confusing.
---
STM32F407VET6 chip (cortex-m4f)
ARM-USB-TINY by Olimex JTAG debugger
Ubuntu 12.10
libftd2xx 1.1.12
0.8.0-dev-00039-g601e355 openocd
./configure '--prefix=/home/pahom/bin' '--enable-jlink'
'--enable-amtjtagaccel' '--enable-ft2232_libftdi' '--enable-buspirate'
'--enable-stlink' '--enable-ftdi' --disable-doxygen-html --enable-dummy
---
/Andreas
------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:
Build for Windows Store.
http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
OpenOCD-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openocd-devel