Hi,

On Fri, Nov 08, 2013 at 04:00:48PM -0500, Brandon Warhurst wrote:
> cted lines 1 & 2, so I've used the following lines:
> 
> ftdi_layout_init      0x0068 0x006B
> ftdi_layout_signal nTRST -ndata 0x0020
> ftdi_layout_signal nSRST -ndata 0x0040

Looks ok.

> the lines being driven high.  When I turned on debug, I only ever
> see reset getting called once, with arguments of 0,0 for ntrst and
> nsrst.

You need "reset_config trst_and_srst" in the board config for the
lines to be used by openocd. Until that they have the default state
specified by ftdi_layout_init (you have it high).

> I would have expected that reset would get called again
> after delaying for "width" milliseconds to change the reset line
> state 

See also the recent Reset issues thread on the ML, it's actually
pulled twice (if enabled).

HTH
-- 
Be free, use free (http://www.gnu.org/philosophy/free-sw.html) software!
mailto:[email protected]

------------------------------------------------------------------------------
November Webinars for C, C++, Fortran Developers
Accelerate application performance with scalable programming models. Explore
techniques for threading, error checking, porting, and tuning. Get the most 
from the latest Intel processors and coprocessors. See abstracts and register
http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk
_______________________________________________
OpenOCD-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to