On Sat, Jul 19, 2008 at 1:52 PM, Spen <[EMAIL PROTECTED]> wrote:
> Hi,
>
> all you all know previously we could configure a target with the reset
> config.
> this was quite handy in multiple target jtag chains, as you could do a reset
> init on one target and a reset run on the other.

The old approach then allowed for one permutation.

So if you would like to either:

- run A
- halt B

or

- halt B
- run A

then that wasn't possible before and isn't possible now :-)

> unsure how this functionality is to be achieved now, any help appreciated.

It isn't hard to add something *extremely* flexible here, but I think
we should be looking for something crisp.

First thing that comes to mind is adding an overrideable tcl proc
that takes the argument to reset as input and sets the reset mode
for the targets.

That proc can either be overriden or have a configurable default
implementation.

I definitely want to keep this sort of functionality out of the hair
of normal users, so I'd prefer an overrideable proc.

-- 
Øyvind Harboe
http://www.zylin.com/zy1000.html
ARM7 ARM9 XScale Cortex
JTAG debugger and flash programmer
_______________________________________________
Openocd-development mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to