]> git.sur5r.net Git - openocd/commit
jtag/drivers/stlink: allow to reconnect seamlessly after polling failure
authorPaul Fertser <fercerpav@gmail.com>
Fri, 23 May 2014 11:53:59 +0000 (15:53 +0400)
committerAndreas Fritiofson <andreas.fritiofson@gmail.com>
Sun, 1 Jun 2014 17:28:49 +0000 (17:28 +0000)
commitfb5e099af83a17821e6962b6e632582cb5033a66
tree3165732015c249d872d76d9021ad05935652c288
parentcd74dd28911353674e599744c1acce8bf3a6a7a7
jtag/drivers/stlink: allow to reconnect seamlessly after polling failure

If the communication with the target was failing (either because of an
intermittent connection or the target was rebooted), this is needed to
reestablish operational state.

Reported-by: Tim Sander <tim@krieglstein.org>
Tested-by: Tim Sander <tim@krieglstein.org>
Change-Id: I91ea2e2b2b5ef8eb27dfe9bae95ef2a919f67e4e
Signed-off-by: Paul Fertser <fercerpav@gmail.com>
Reviewed-on: http://openocd.zylin.com/2152
Tested-by: jenkins
Reviewed-by: Tim Sander <tim@krieglstein.org>
Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk>
src/jtag/drivers/stlink_usb.c