]> git.sur5r.net Git - openocd/commitdiff
Use hardware reset and connect under reset on boards with ST-LINK/V2, as
authorFreddie Chopin <freddie.chopin@gmail.com>
Tue, 1 May 2012 17:47:28 +0000 (19:47 +0200)
committerSpencer Oliver <spen@spen-soft.co.uk>
Mon, 14 May 2012 09:32:20 +0000 (09:32 +0000)
now it is supported.

Change-Id: Id3b2ca9a2270974a5f453323f9057ecece400c94
Signed-off-by: Freddie Chopin <freddie.chopin@gmail.com>
Reviewed-on: http://openocd.zylin.com/609
Tested-by: jenkins
Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk>
tcl/board/stm320518_eval_stlink.cfg
tcl/board/stm3220g_eval_stlink.cfg
tcl/board/stm3241g_eval_stlink.cfg
tcl/board/stm32f0discovery.cfg
tcl/board/stm32f4discovery.cfg
tcl/board/stm32ldiscovery.cfg

index a832984d0670583ebceec80fd5aa24ed69fc1ec7..804ff2c39c3eb567aae2eed35f3869970ef1af18 100644 (file)
@@ -13,3 +13,6 @@ set WORKAREASIZE 0x2000
 set CHIPNAME STM32F051R8T6
 
 source [find target/stm32f0x_stlink.cfg]
+
+# use hardware reset, connect under reset
+reset_config srst_only srst_nogate
index 6ac3751f1de054c5489b50e0a848bf6748f151de..578a0e8a709abb78ecd139793f8fe599f6867e44 100644 (file)
@@ -13,3 +13,6 @@ set WORKAREASIZE 0x20000
 set CHIPNAME STM32F207IGH6
 
 source [find target/stm32f2x_stlink.cfg]
+
+# use hardware reset, connect under reset
+reset_config srst_only srst_nogate
index d17cdd935e7774df87b9a071c34e61d0ef21e334..4e3beb92584a3c2a50dfd39d65c66bd9c9b4bbd4 100644 (file)
@@ -13,3 +13,6 @@ set WORKAREASIZE 0x20000
 set CHIPNAME STM32F417IGH6
 
 source [find target/stm32f4x_stlink.cfg]
+
+# use hardware reset, connect under reset
+reset_config srst_only srst_nogate
index 392a6e6ffed1c6aa492572ce41ed394a450a4b77..678eea68cc0042f515baf74296bc810b6675cd11 100644 (file)
@@ -5,3 +5,6 @@ source [find interface/stlink-v2.cfg]
 
 set WORKAREASIZE 0x2000
 source [find target/stm32f0x_stlink.cfg]
+
+# use hardware reset, connect under reset
+reset_config srst_only srst_nogate
index 98125e171084af906bf9dcc0987a3218401085c0..ae54e18c470c7aa03b90741528423d4a13d65c91 100644 (file)
@@ -4,3 +4,6 @@
 source [find interface/stlink-v2.cfg]
 
 source [find target/stm32f4x_stlink.cfg]
+
+# use hardware reset, connect under reset
+reset_config srst_only srst_nogate
index 9f470731112c160087c2b388dc93313235875cb8..a8eac815ec731c9cadd41a39fe6ec46054d46df5 100644 (file)
@@ -4,3 +4,6 @@
 source [find interface/stlink-v2.cfg]
 
 source [find target/stm32lx_stlink.cfg]
+
+# use hardware reset, connect under reset
+reset_config srst_only srst_nogate