> Ok. Maybe I missed something: Is it possible to use TCL commands like
> 'run_test' *before* jtag_init_inner() is executed? I'm not sure about
> in what order what (commands in scripts vs. initialization functions
> in jtag.c) is executed, yet ;)

Your target configuration script can copy and paste ocd_process_reset from
startup.tcl and implement it's own version. jtag_init_inner is invoked from
jtag arp_init-reset.

This would effectively allow you a great level of detail of how to perform
the reset.

To allow targets to reimplement ocd_process_reset was done in order to
allow for targets having needs that could never be covered by events
and options. Events and options is an inferior programming paradigm
compared to good old procedural programming :-)



-- 
Øyvind Harboe
PayBack incident management system
Reduce costs and increase quality, free Starter Edition
http://www.payback.no/index_en.html
_______________________________________________
Openocd-development mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to