+++ David Brownell [2009-05-22 10:32 -0700]:
> On Friday 22 May 2009, Wookey wrote:
> 
> > 1) Is there any agreement that the reset info doesn't really belong in
> > the board file because it depends on the dongle and wiring too, or is
> > that an unusual case?
> 
> An "openocd.cfg" file can source the dongle.cfg and board.cfg,
> then issue a new "reset_config" overriding any defaults.

OK, that makes sense. default reset info in the cpu.cfg, possibly
overridden in the board.cfg and then again in the top-level
bring-it-all-together.cfg

> Reset handling does seem conceptually messy though 

So far as I can see that's intrinsic, rather than anything openocd can
fix. 

... and that's
> in addition to what seem like current bugs.  At least some of
> the confusion could go away if there were JTAG commands to
> disable signals (SRST, RTCK, etc) at various levels (target,
> board, adapter).

Hmm, you mean something could declare that it doesn't pass/expose
signals. That would fit reality better. On the other hand it would
mean the reset config was now defined as the concatenation of commands
in various places and that might make it hard to find out what was
going on in some circs. 

Worth thinking about though. 

Wookey
-- 
Principal hats:  iEndian - Balloonboard - Toby Churchill - Emdebian
http://wookware.org/
_______________________________________________
Openocd-development mailing list
Openocd-development@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to