This is an automated email from Gerrit.

Spencer Oliver (s...@spen-soft.co.uk) just uploaded a new patch set to Gerrit, 
which you can find at http://openocd.zylin.com/1892

-- gerrit

commit 34b46f6893dab1dec095a9d76c255006f79afc4b
Author: Spencer Oliver <s...@spen-soft.co.uk>
Date:   Wed Jan 22 11:04:26 2014 +0000

    cfg: LPC17xx default to using SYSRESETREQ to reset target
    
    Originally the LPC17xx user guide (UM10360 Rev 2) stated that SYSRESETREQ
    was not supported, so this was the default cortex_m reset mode.
    
    Rev 3 of the same user guide states that it is now supported.
    This has been verified on a LPC1768 mbed platform, previously I have not
    tested this functionality.
    
    Change-Id: I4858248903981a1c93ce75016e67c9e02702fcc5
    Signed-off-by: Spencer Oliver <s...@spen-soft.co.uk>

diff --git a/tcl/target/lpc17xx.cfg b/tcl/target/lpc17xx.cfg
index c81971f..372107f 100644
--- a/tcl/target/lpc17xx.cfg
+++ b/tcl/target/lpc17xx.cfg
@@ -94,6 +94,6 @@ $_TARGETNAME configure -event reset-init {
        mww 0x400FC040 0x01
 }
 
-# if srst is not fitted use VECTRESET to
-# perform a soft reset - SYSRESETREQ is not supported
-cortex_m reset_config vectreset
+# if srst is not fitted use SYSRESETREQ to
+# perform a soft reset
+cortex_m reset_config sysresetreq

-- 

------------------------------------------------------------------------------
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
_______________________________________________
OpenOCD-devel mailing list
OpenOCD-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to