On Mon, Jun 3, 2013 at 1:31 AM, Stuart Longland (VK4MSL)
<m...@vk4msl.yi.org>wrote:

> Hi Jörg and Andreas,
> On 03/06/13 08:33, Andreas Fritiofson wrote:
> > On Sun, Jun 2, 2013 at 3:07 PM, Jörg Fischer <tur...@gmx.de
> > <mailto:tur...@gmx.de>> wrote:
> >     Hi,
> >     Am 02.06.2013 06:57, schrieb Stuart Longland (VK4MSL):
> >     > I'm just trying to debug a problem that has cropped up out of the
> >     blue.
> >     >  I have a couple of STM32F103VE-based microcontrollers which I'm
> >     > programming using a Olimex ARM-USB-TINY-H JTAG programmer.
> >     >
> >     > Host environment is Open On-Chip Debugger
> >     0.7.0-dev-00080-g59c051c-dirty
> >     > (2013-01-25-19:17), from the Gentoo ebuild.
> >     >
> >     > I'm invoking openocd with the following:
> >     >> openocd -f interface/olimex-arm-usb-tiny-h.cfg -f
> target/stm32f1x.cfg
> >
> >
> > It probably won't help with your problem, but my standard reply to
> > people who are still using the old, flawed "ft2232" adapter driver is to
> > suggest to switch to the new "ftdi" driver instead. Assuming that
> > OpenOCD was built with --enable-ftdi, it should be a simple matter of
> > using the similarly named interface config file from the ftdi subfolder
> > instead, i.e openocd -f interface/ftdi/olimex-arm-usb-tiny-h.cfg ... in
> > your case.
>
> Is that using the proprietary library from FTDI themselves or is there
> another one I missed?  I'll use proprietary stuff if I have to, but I'd
> really like to avoid it where possible as the other driver has worked
> fine up until now.


Absolutely not, it's accessing the dongle via libusb directly. The rewrite
was done mainly for maintenance reasons, since the old driver was a real
mess, but the new one is also a lot faster and lacks some serious bugs
(though probably has a few new ones). Another major advantage is the
ability to add support for new FTDI-based dongles without patching source
and recompiling.

/Andreas
------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite
It's a free troubleshooting tool designed for production
Get down to code-level detail for bottlenecks, with <2% overhead.
Download for free and get started troubleshooting in minutes.
http://p.sf.net/sfu/appdyn_d2d_ap2
_______________________________________________
OpenOCD-devel mailing list
OpenOCD-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to