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

-- gerrit

commit c966c9f42ae6c3ac052d333f16ecc609a03cbb2f
Author: Spencer Oliver <[email protected]>
Date:   Mon Feb 20 11:39:12 2012 +0000

    cfg: enable stm32f2x SYSRESETREQ support
    
    The stm32 family supports using SYSRESETREQ as a software reset, lets
    use it.
    
    Change-Id: I171ffa8d888a2d0c28b266051030311521e9bca9
    Signed-off-by: Spencer Oliver <[email protected]>

diff --git a/tcl/target/stm32f2x.cfg b/tcl/target/stm32f2x.cfg
index ae63751..a307653 100644
--- a/tcl/target/stm32f2x.cfg
+++ b/tcl/target/stm32f2x.cfg
@@ -59,3 +59,6 @@ $_TARGETNAME configure -work-area-phys 0x20000000 
-work-area-size $_WORKAREASIZE
 set _FLASHNAME $_CHIPNAME.flash
 flash bank $_FLASHNAME stm32f2x 0 0 0 0 $_TARGETNAME
 
+# if srst is not fitted use SYSRESETREQ to
+# perform a soft reset
+cortex_m3 reset_config sysresetreq

-- 

------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
OpenOCD-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to