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 a832984..804ff2c 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 6ac3751..578a0e8 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 d17cdd9..4e3beb9 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 392a6e6..678eea6 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 98125e1..ae54e18 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 9f47073..a8eac81 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