This is an automated email from Gerrit.

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

-- gerrit

commit 09cc283e6dc271a2e8559b42f0f34d0401195e8d
Author: Paul Fertser <[email protected]>
Date:   Thu Jul 18 20:15:44 2013 +0400

    tcl: jtag_reset should be available before init too
    
    Some ICs require unusual reset manipulations before the JTAG chain can
    be examined. One prominent example is the MSP430 family
    microcontrollers. Even though OpenOCD is unlikely to support its
    debugging facilities, it's still useful to be able to have it as part
    of the JTAG chain to access other targets.
    
    Change-Id: I27be6497e015bf97c8de5e0be26e7bd3373a77f2
    Signed-off-by: Paul Fertser <[email protected]>

diff --git a/src/jtag/tcl.c b/src/jtag/tcl.c
index d0020cd..af44a82 100644
--- a/src/jtag/tcl.c
+++ b/src/jtag/tcl.c
@@ -1314,7 +1314,7 @@ static const struct command_registration 
jtag_command_handlers[] = {
        {
                .name = "jtag_reset",
                .handler = handle_jtag_reset_command,
-               .mode = COMMAND_EXEC,
+               .mode = COMMAND_ANY,
                .help = "Set reset line values.  Value '1' is active, "
                        "value '0' is inactive.",
                .usage = "trst_active srst_active",

-- 

------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
OpenOCD-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to