From 3f0e9c8ad2c67ee459a5ab8736679f40d46ef7d9 Mon Sep 17 00:00:00 2001 From: Spencer Oliver Date: Fri, 12 Apr 2013 13:10:35 +0100 Subject: [PATCH] program: do not poll target after reset run Disable polling the target before we issue a 'reset run'. This stops errors or warnings if the target disables the SWD or JTAG interface as part of the application code. Change-Id: I5019dffdad41a8e210003ece1caf89069ee0f223 Signed-off-by: Spencer Oliver Reviewed-on: http://openocd.zylin.com/1331 Tested-by: jenkins --- src/flash/startup.tcl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/flash/startup.tcl b/src/flash/startup.tcl index 82959c8a..7b2b4a4a 100644 --- a/src/flash/startup.tcl +++ b/src/flash/startup.tcl @@ -54,6 +54,8 @@ proc program {filename args} { if {[info exists reset]} { # reset target if requested + # also disable target polling, we are shutting down anyway + poll off echo "** Resetting Target **" reset run } -- 2.39.5