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 <freddie.chopin@gmail.com>
Reviewed-on: http://openocd.zylin.com/609
Tested-by: jenkins
Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk>
This commit is contained in:
Freddie Chopin 2012-05-01 19:47:28 +02:00 committed by Spencer Oliver
parent a09bb27e23
commit caeb057205
6 changed files with 18 additions and 0 deletions

View 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

View 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

View 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

View 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

View 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

View 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