]> git.sur5r.net Git - openocd/commit
target: improve robustness of polling and reexamination
authorPaul Fertser <fercerpav@gmail.com>
Sun, 2 Nov 2014 12:03:16 +0000 (15:03 +0300)
committerSpencer Oliver <spen@spen-soft.co.uk>
Fri, 9 Jan 2015 08:36:06 +0000 (08:36 +0000)
commitc120fb6d893a89d9805d0b4d6083e47810143f2d
treeb07fdeae2e64181c515396b40136589f0ebd1274
parent420bd49b5bc34a2306eb2e88fb01ec0f0bf2ee70
target: improve robustness of polling and reexamination

When a target was present on OpenOCD start but later disappeared for
whatever reason (typically unstable connection or target going to
sleep) and reappeared only for a brief period of time, reexamination
would fail, and poll would no longer run. This patch fixes it.

Change-Id: I61f9b5a3f366a761320e233f4e1689f926b5556d
Signed-off-by: Paul Fertser <fercerpav@gmail.com>
Reviewed-on: http://openocd.zylin.com/2370
Reviewed-by: Andreas Fritiofson <andreas.fritiofson@gmail.com>
Tested-by: jenkins
src/target/target.c