---------- Forwarded message ----------
From: Brad Riensche <[email protected]>
Date: Thu, Feb 6, 2014 at 1:55 PM
Subject: Re: [OpenOCD-devel] interface/ftdi/olimex-arm-usb-tiny-h.cfg
performance
To: Jens Bauer <[email protected]>
Hi Jens,
I tried with both my installed 0.7.0 version, and the development 0.8.0
version. The LED behavior was the same. However, I realized that I was
using the 0.7.0 scripts, even for the 0.8.0 version. I just did a diff of
the 0.7.0 against the 0.8.0 version of olimex-arm-usb-tiny-h.cfg file, and
the only difference is that the warning is gone in the 0.8.0 version. I
guess that explains why your warning disappeared.
Does the target have anything at all to do with this behavior? I am
working with a freescale IMX6 right now. The LED did blink when I was
using the ft2232 driver though.
Regards,
Brad
On Thu, Feb 6, 2014 at 1:12 PM, Jens Bauer <[email protected]> wrote:
> Hi Brad.
>
> I remember I got the same warning a while ago, but it's gone now (and I
> didn't modify the file myself).
> Are you using a recent version of OpenOCD and the interface file ?
> Also: Which build are you using ?
>
>
> Love
> Jens
>
> On Thu, 6 Feb 2014 12:32:10 -0600, Brad Riensche wrote:
> > The enable trick didn't seem to do anything.
> >
> > I'm pretty sure the LED is not gated. I did the following experiment
> > from an openocd telnet session:
> >
> > ftdi_layout_signal TEST -data 0x0800
> > ftdi_set_signal TEST 1 // LED turns on briefly, then turns off
> > poll off // to stop activity in the driver
> > ftdi_set_signal TEST 1 // LED stays on
> > ftdi_set_signal TEST 0 // LED turns off
> >
> > It looks to me like the driver is actively driving the LED off each
> > time there is some activity on the device. The ft2232 driver seemed
> > to toggle the LED each time there was activity.
> >
> >
> > On Thu, Feb 6, 2014 at 11:51 AM, Peter Stuge <[email protected]> wrote:
> >> Brad Riensche wrote:
> >>> I am happy to report that the config generally works, and is noticeably
> >>> faster than the ft2232 equivalent. However, the LED does not come
> >> on, nor
> >>> does it blink during debugging as the ft2232 driver did. I
> >> confirmed that
> >>> the bitmask in the config file is correct.
> >>>
> >>> Is it normal to have no LED activity with the ftdi driver? If not, any
> >>> ideas on how to troubleshoot?
> >>
> >> No it is not normal.
> >>
> >> ftdi_layout_init 0x0c08 0x0f1b matches
> >> https://www.olimex.com/Products/ARM/JTAG/ARM-USB-TINY-H/
> >>
> >> Try adding:
> >>
> >> ftdi_layout_signal ENABLE -ndata 0x0010
> >>
> >> In case the LED is gated by the ENABLE. Unsure, I can't immediately
> >> find a schematic.
> >>
> >>
> >> On this topic I have a mostly finished patch to get rid of all the
> >> insane numbers but it's not done just yet..
> >>
> >>
> >> //Peter
> >>
> >>
> ------------------------------------------------------------------------------
> >> Managing the Performance of Cloud-Based Applications
> >> Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
> >> Read the Whitepaper.
> >>
> http://pubads.g.doubleclick.net/gampad/clk?id=121051231&iu=/4140/ostg.clktrk
> >> _______________________________________________
> >> OpenOCD-devel mailing list
> >> [email protected]
> >> https://lists.sourceforge.net/lists/listinfo/openocd-devel
> >
> >
> >
> ------------------------------------------------------------------------------
> > Managing the Performance of Cloud-Based Applications
> > Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
> > Read the Whitepaper.
> >
> http://pubads.g.doubleclick.net/gampad/clk?id=121051231&iu=/4140/ostg.clktrk_______________________________________________
> > OpenOCD-devel mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/openocd-devel
>
------------------------------------------------------------------------------
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121051231&iu=/4140/ostg.clktrk
_______________________________________________
OpenOCD-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openocd-devel