This is an automated email from Gerrit. Andreas Fritiofson ([email protected]) just uploaded a new patch set to Gerrit, which you can find at http://openocd.zylin.com/2041
-- gerrit commit df31c773bdbf9ca79c7a75143d5b1d6762fd7cdf Author: Andreas Fritiofson <[email protected]> Date: Tue Mar 11 07:59:51 2014 +0100 target: Don't poll until the target is examined. The timer callback is started on target init, but it makes no sense to poll until the target is fully setup. Change-Id: I118201e125e39be3d0a920e3ef9a3f68a2035f39 Signed-off-by: Andreas Fritiofson <[email protected]> diff --git a/src/target/target.c b/src/target/target.c index 1557c72..43c897d 100644 --- a/src/target/target.c +++ b/src/target/target.c @@ -2379,6 +2379,10 @@ static int handle_target(void *priv) for (struct target *target = all_targets; is_jtag_poll_safe() && target; target = target->next) { + + if (!target_was_examined(target)) + continue; + if (!target->tap->enabled) continue; -- ------------------------------------------------------------------------------ Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is the definitive new guide to graph databases and their applications. Written by three acclaimed leaders in the field, this first edition is now available. Download your free book today! http://p.sf.net/sfu/13534_NeoTech _______________________________________________ OpenOCD-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/openocd-devel
