On Fri, Jul 18, 2008 at 10:13 AM, Pieter Conradie
<[EMAIL PROTECTED]> wrote:
> Hi Øyvind and Pavel,
>
> Sorry for being obtuse, but I am still not exactly clear on what you are 
> trying to achieve.

I'm trying to make commands do predictable and expected things across
configurations.

I don't have to read the fine print in configuration scripts to figure out what
"halt" and "resume" does.

Why should reset be any different?

> Let's take the AT91SAM7S as an example. The only way to halt this target
> and get it into a known "reset" state is to define the configuration as:

Since I'm currently leaning towards "reset run" for the reasons Pavel pointed
out to me, I don't really have many comments on this anymore.

Note that "reset init" is automatically tranlsated to "reset run_and_init" for
the case where srst pulls trst.



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

Reply via email to