On Fri, Oct 11, 2013 at 02:41:31PM +0200, Damjan Marion wrote:
> On Sep 23, 2013, at 11:04 AM, Paul Fertser <fercer...@gmail.com> wrote:
> > On Wed, Sep 18, 2013 at 04:50:33PM +0200, Damjan Marion wrote:
> >> So to speak 1149.1 with this device special sequence needs to be sent to 
> >> this device to switch from cJTAG to JTAG mode.
> >> Sequence is described in the user manual[1] on page 179.
> >> Seems that Segger tool does exactly the same.
> > 
> > It looks like it should be possible with irscan and drscan OpenOCD
> > commands (documented in the Info manual), you can take a look at
> > target/am335x.cfg for inspiration.
> 
> I cannot use irscan as it is too early. My understanding is that it needs to 
> be done in post-reset handler which happens before 
> irlenght is properly set so irscan executes with 1 bit irlength.

But I think you can specify a dummy tap (without expected-id) with the
proper length and then after you do the magic sequence you can disable
it and enable other taps with "jtag tapdisable" and "jtag tapenable",
see Info "TAP Declaration" and config files that are doing similar
tricks.

-- 
Be free, use free (http://www.gnu.org/philosophy/free-sw.html) software!
mailto:fercer...@gmail.com

------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60134071&iu=/4140/ostg.clktrk
_______________________________________________
OpenOCD-devel mailing list
OpenOCD-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to