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/802

-- gerrit

commit 9110022226bf2de899a6983162d2eec7e097a526
Author: Spencer Oliver <[email protected]>
Date:   Thu Aug 30 12:53:34 2012 +0100

    cortex_m: suggest using hardware srst if VECTRESET used
    
    If the target does not support SYSRESETREQ we fall back to using VECTRESET.
    This however does not reset the peripherals and we issue a warning to the 
user
    to suggest using a reset-init script.
    
    Also suggest that using hardware srst will give them the same functionality
    as using SYSRESETREQ.
    
    Change-Id: Ie1781c4b849fed66c52222e6539735537c879fb3
    Signed-off-by: Spencer Oliver <[email protected]>

diff --git a/src/target/cortex_m.c b/src/target/cortex_m.c
index 5fa78ca..74505a8 100644
--- a/src/target/cortex_m.c
+++ b/src/target/cortex_m.c
@@ -1025,7 +1025,7 @@ static int cortex_m3_assert_reset(struct target *target)
 
                if (reset_config == CORTEX_M3_RESET_VECTRESET) {
                        LOG_WARNING("Only resetting the Cortex-M3 core, use a 
reset-init event "
-                               "handler to reset any peripherals");
+                               "handler to reset any peripherals or configure 
hardware srst support.");
                }
 
                {

-- 

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
OpenOCD-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to