From 2af366259f88f39ebd0c47cb763478cb7fc017ad Mon Sep 17 00:00:00 2001 From: Uwe Bonnes Date: Sun, 8 Mar 2015 15:09:14 +0100 Subject: [PATCH] Add configuration for EFM32 Gecko boards with Segger J-Link. Tested with Tiny Gecko. Change-Id: Iddb87170b6aaaf7f15d3c4517c8661dd6394be8f Signed-off-by: Uwe Bonnes Reviewed-on: http://openocd.zylin.com/2585 Tested-by: jenkins Reviewed-by: Spencer Oliver --- tcl/board/efm32.cfg | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 tcl/board/efm32.cfg diff --git a/tcl/board/efm32.cfg b/tcl/board/efm32.cfg new file mode 100644 index 000000000..820b6c815 --- /dev/null +++ b/tcl/board/efm32.cfg @@ -0,0 +1,17 @@ +# Configuration for EFM32 boards with Segger J-Link on board +# +# Tested with TINY GECKO and Zero Gecko demo board +# + +source [find interface/jlink.cfg] +transport select swd +adapter_khz 1000 + +set CHIPNAME efm32 +source [find target/efm32.cfg] + +# EFM32 SWD doesn't work with RST asserted +# So don't use srst_nogate! +# Attach to running target with "mon halt" +reset_config srst_only +