> well, you are right. The reset_config basically does make sense for ARMs only.
> I do not think that scripting is really needed for doing reset properly,

It is conceivable that we'll be able to come up with a fixed program that
will work on *all* configurations out there.

The current code is pretty clever already, we could make it more clever
by running TMS while TRST is asserted(or perhaps that would make
another target fall over).

Scripting would be much more explicit and have any weird combination
of SRST, TRST, TMS poking GPIO, etc.

A scripted reset could also handle reset of circuitry that is not connected
to the JTAG chain at all(in lieu of a power cycle). At that point a reset
would mean whatever the target script defined it to mean.


-- 
Ø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