Updated to the latest (git describe): 0.2.0-387-g3b95d0e No difference in the behavior.
I did notice that if I run this: proc jtag_init {} { jtag arp_init-reset } It works (ie, initial scan chain works). However this: proc jtag_init {} { #Make sure we reset the hardware before we talk to it if { [info exists RESET_ON_INIT ] }{ puts "nSRST & nTRST asserted via jtag_init proc()" jtag arp_init-reset } } does not work. It looks like the 'if' statement break things. It does not matter whether RESET_ON_INIT is defined or not. I run openocd with: ./openocd -c 'interface dummy' -f telo.cfg -c "set RESET_ON_INIT 1" --debug 3 What I ended up doing is removing the reset_init{} code and running this command (when I need to reset the JTAG before init. scan chain). ./openocd -f olimex-arm-usb-ocd.cfg -f telo.cfg -c "proc jtag_init {} {jtag arp_init-reset}" On Mon, 2009-10-19 at 12:03 +0200, Øyvind Harboe wrote: > I'm not able to reproduce the problem. > > Could you provide more detailed steps? > > (you're using latest out of git are you not?) > > On Mon, Oct 19, 2009 at 7:50 AM, michal > > _______________________________________________ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.de/mailman/listinfo/openocd-development