]> git.sur5r.net Git - openocd/commit
stlink: enable connect under reset
authorSpencer Oliver <spen@spen-soft.co.uk>
Tue, 13 Nov 2012 12:01:35 +0000 (12:01 +0000)
committerFreddie Chopin <freddie.chopin@gmail.com>
Mon, 10 Dec 2012 16:17:25 +0000 (16:17 +0000)
commit2d75ff3151ab659f3cd10a7dd7b0aef54d041e5e
tree0e3b74a2e243716200c16830cf05b14b4cfa459a
parent67a848424b94a2508a81f651adf32b279fa79b11
stlink: 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 initial scan.

This has been tested on stm32.

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