This is an automated email from Gerrit.

Spencer Oliver ([email protected]) just uploaded a new patch set to Gerrit, 
which you can find at http://openocd.zylin.com/1331

-- gerrit

commit 32d6826acaa8a6f5173ff993db0370804b6ff3a2
Author: Spencer Oliver <[email protected]>
Date:   Fri Apr 12 13:10:35 2013 +0100

    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 <[email protected]>

diff --git a/src/flash/startup.tcl b/src/flash/startup.tcl
index 82959c8..7b2b4a4 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
                }

-- 

------------------------------------------------------------------------------
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
_______________________________________________
OpenOCD-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to