From: Freddie Chopin Date: Tue, 1 May 2012 17:47:28 +0000 (+0200) Subject: Use hardware reset and connect under reset on boards with ST-LINK/V2, as X-Git-Tag: v0.6.0-rc1~95 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=caeb05720595287e9a9865ff5f9e764c92be152d;p=openocd Use hardware reset and connect under reset on boards with ST-LINK/V2, as now it is supported. Change-Id: Id3b2ca9a2270974a5f453323f9057ecece400c94 Signed-off-by: Freddie Chopin Reviewed-on: http://openocd.zylin.com/609 Tested-by: jenkins Reviewed-by: Spencer Oliver --- diff --git a/tcl/board/stm320518_eval_stlink.cfg b/tcl/board/stm320518_eval_stlink.cfg index a832984d..804ff2c3 100644 --- a/tcl/board/stm320518_eval_stlink.cfg +++ b/tcl/board/stm320518_eval_stlink.cfg @@ -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 diff --git a/tcl/board/stm3220g_eval_stlink.cfg b/tcl/board/stm3220g_eval_stlink.cfg index 6ac3751f..578a0e8a 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, connect under reset +reset_config srst_only srst_nogate diff --git a/tcl/board/stm3241g_eval_stlink.cfg b/tcl/board/stm3241g_eval_stlink.cfg index d17cdd93..4e3beb92 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, connect under reset +reset_config srst_only srst_nogate diff --git a/tcl/board/stm32f0discovery.cfg b/tcl/board/stm32f0discovery.cfg index 392a6e6f..678eea68 100644 --- a/tcl/board/stm32f0discovery.cfg +++ b/tcl/board/stm32f0discovery.cfg @@ -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 diff --git a/tcl/board/stm32f4discovery.cfg b/tcl/board/stm32f4discovery.cfg index 98125e17..ae54e18c 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, connect under reset +reset_config srst_only srst_nogate diff --git a/tcl/board/stm32ldiscovery.cfg b/tcl/board/stm32ldiscovery.cfg index 9f470731..a8eac815 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, connect under reset +reset_config srst_only srst_nogate