This is an automated email from Gerrit.

Freddie Chopin (freddie.cho...@gmail.com) just uploaded a new patch set to 
Gerrit, which you can find at http://openocd.zylin.com/609

-- gerrit

commit a1991aaa108ba125850f34fb4d377917be1ceb8f
Author: Freddie Chopin <freddie.cho...@gmail.com>
Date:   Tue May 1 19:47:28 2012 +0200

    Use hardware reset on boards with ST-LINK/V2, as now it is supported.
    
    Change-Id: Id3b2ca9a2270974a5f453323f9057ecece400c94
    Signed-off-by: Freddie Chopin <freddie.cho...@gmail.com>

diff --git a/tcl/board/stm3220g_eval_stlink.cfg 
b/tcl/board/stm3220g_eval_stlink.cfg
index 6ac3751..1f85193 100644
--- a/tcl/board/stm3220g_eval_stlink.cfg
+++ b/tcl/board/stm3220g_eval_stlink.cfg
@@ -13,3 +13,6 @@ set WORKAREASIZE 0x20000
 set CHIPNAME STM32F207IGH6
 
 source [find target/stm32f2x_stlink.cfg]
+
+# use hardware reset
+reset_config srst_only
diff --git a/tcl/board/stm3241g_eval_stlink.cfg 
b/tcl/board/stm3241g_eval_stlink.cfg
index d17cdd9..6575540 100644
--- a/tcl/board/stm3241g_eval_stlink.cfg
+++ b/tcl/board/stm3241g_eval_stlink.cfg
@@ -13,3 +13,6 @@ set WORKAREASIZE 0x20000
 set CHIPNAME STM32F417IGH6
 
 source [find target/stm32f4x_stlink.cfg]
+
+# use hardware reset
+reset_config srst_only
diff --git a/tcl/board/stm32f0discovery.cfg b/tcl/board/stm32f0discovery.cfg
index be71a10..e3eecac 100644
--- a/tcl/board/stm32f0discovery.cfg
+++ b/tcl/board/stm32f0discovery.cfg
@@ -4,3 +4,6 @@
 source [find interface/stlink-v2.cfg]
 
 source [find target/stm32f0x_stlink.cfg]
+
+# use hardware reset
+reset_config srst_only
diff --git a/tcl/board/stm32f4discovery.cfg b/tcl/board/stm32f4discovery.cfg
index 98125e1..579edf1 100644
--- a/tcl/board/stm32f4discovery.cfg
+++ b/tcl/board/stm32f4discovery.cfg
@@ -4,3 +4,6 @@
 source [find interface/stlink-v2.cfg]
 
 source [find target/stm32f4x_stlink.cfg]
+
+# use hardware reset
+reset_config srst_only
diff --git a/tcl/board/stm32ldiscovery.cfg b/tcl/board/stm32ldiscovery.cfg
index 9f47073..fd4326f 100644
--- a/tcl/board/stm32ldiscovery.cfg
+++ b/tcl/board/stm32ldiscovery.cfg
@@ -4,3 +4,6 @@
 source [find interface/stlink-v2.cfg]
 
 source [find target/stm32lx_stlink.cfg]
+
+# use hardware reset
+reset_config srst_only

-- 

------------------------------------------------------------------------------
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
OpenOCD-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to