On Fri, Jul 18, 2008 at 9:36 AM, Pieter Conradie
<[EMAIL PROTECTED]> wrote:
> Hi Øyvind,
>
> Please explain/specify what is being retired.
>
> When the target reset configuration is specified, there are options:
> "reset_halt", "reset_init", "reset_run", "run_and_halt", "run_and_init" For 
> example:
>
> target arm7tdmi little run_and_init 0
>
> The reset command has the following options:
>
> reset ['run'|'halt'|'init'|'run_and_halt' |'run_and_init']
>
> It is said in the documentation that the "optional parameter overrides the 
> setting specified in the configuration file".
>
> Do you propose that the target reset configuration is *always* overridden 
> with "reset init"? Why?

The problem is that "reset" does not have a well defined meaning where the
user can have some expectations about what it will do.

The following sequence will have undefined results across target configuration
scripts:

reset
#is the target halted? Running? initialized?
load



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