]> git.sur5r.net Git - openocd/commit
jtag: enable connect under reset
authorSpencer Oliver <spen@spen-soft.co.uk>
Tue, 13 Nov 2012 12:02:26 +0000 (12:02 +0000)
committerFreddie Chopin <freddie.chopin@gmail.com>
Mon, 10 Dec 2012 16:16:35 +0000 (16:16 +0000)
commit67a848424b94a2508a81f651adf32b279fa79b11
tree9ca4118e7a115d405b761957c0fe1105ff425123
parentc91dbd41ba5490b1b63617bab42624e45f5cd3ad
jtag: enable connect under reset

Currently if the target supports srst_nogate we wait until target assert_reset
until we get a chance to assert the srst.
However sometimes we will not get this far if the target has already failed
the jtag_examine_chain.

This has been tested on targets that support this behaviour (STM32 and STR9).

Change-Id: Ibcf7584b137b472f31ba6ddd5cd99d848c5508d1
Signed-off-by: Spencer Oliver <spen@spen-soft.co.uk>
Reviewed-on: http://openocd.zylin.com/971
Tested-by: jenkins
Reviewed-by: Paul Fertser <fercerpav@gmail.com>
Reviewed-by: Freddie Chopin <freddie.chopin@gmail.com>
src/jtag/core.c