diff options
author | Spencer Oliver <spen@spen-soft.co.uk> | 2013-08-06 13:15:18 +0100 |
---|---|---|
committer | Spencer Oliver <spen@spen-soft.co.uk> | 2013-08-29 13:00:47 +0000 |
commit | d177ae04ff1efa4ffb8fc9d8beb16e36493093df (patch) | |
tree | af5b87f5849f5530b6eb1c0445da808d75da17fc /tcl | |
parent | 017a202086603119793d8da56989591512d08ed0 (diff) | |
download | riscv-openocd-d177ae04ff1efa4ffb8fc9d8beb16e36493093df.zip riscv-openocd-d177ae04ff1efa4ffb8fc9d8beb16e36493093df.tar.gz riscv-openocd-d177ae04ff1efa4ffb8fc9d8beb16e36493093df.tar.bz2 |
cfg: EFM32 supports SYSRESETREQ so use it
Change-Id: If52fdea025a2f9620ad4ddacfb83cbb83a94944d
Signed-off-by: Spencer Oliver <spen@spen-soft.co.uk>
Reviewed-on: http://openocd.zylin.com/1541
Tested-by: jenkins
Diffstat (limited to 'tcl')
-rw-r--r-- | tcl/target/efm32_stlink.cfg | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/tcl/target/efm32_stlink.cfg b/tcl/target/efm32_stlink.cfg index 831f4f7..45ed9fc 100644 --- a/tcl/target/efm32_stlink.cfg +++ b/tcl/target/efm32_stlink.cfg @@ -22,7 +22,7 @@ if { [info exists CPUTAPID] } { set _CPUTAPID 0x2ba01477 } -# EFM32 MCUs only support SW interface +# EFM32 MCUs only support SWD interface set _TRANSPORT hla_swd transport select $_TRANSPORT @@ -36,3 +36,7 @@ $_TARGETNAME configure -work-area-phys 0x10000000 -work-area-size $_WORKAREASIZE set _FLASHNAME $_CHIPNAME.flash flash bank $_FLASHNAME efm32 0 0 0 0 $_TARGETNAME + +# if srst is not fitted use SYSRESETREQ to +# perform a soft reset +cortex_m reset_config sysresetreq |