On Wednesday 02 December 2009, Zach Welch wrote:
> On Wed, 2009-12-02 at 15:00 -0800, David Brownell wrote:
> > Hmm, I'll have to try pulling this ... but one of my
> > test configs is now triggering the perplexing message
> >
> > Error: The 'init' command must be used before 'init'.
> >
> > That seems somehow ... not possible. ;)
>
> Here's the logic: all of 'init' succeeded, _except_ for the 'jtag init'.
> Thus, you're no longer in CONFIG mode, so 'init' is gone and can't be
> run to tell you that it can't be run. You get the generic mode message.
> I suppose this deserves a special case in the code? :)
>
> Here, I assume you are showing me a case where 'init' is running twice,
> and you're perplexed by the new message. How did you trigger it?
In this case, command line code with one "-c 'command'" per:
debug_level 3
init
debug_level 2
which lets me spy on wierdness that crops up during JTAG setup.
_______________________________________________
Openocd-development mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/openocd-development