]> git.sur5r.net Git - openocd/commitdiff
Add configuration for EFM32 Gecko boards with Segger J-Link.
authorUwe Bonnes <bon@elektron.ikp.physik.tu-darmstadt.de>
Sun, 8 Mar 2015 14:09:14 +0000 (15:09 +0100)
committerSpencer Oliver <spen@spen-soft.co.uk>
Wed, 25 Mar 2015 21:40:57 +0000 (21:40 +0000)
Tested with Tiny Gecko.

Change-Id: Iddb87170b6aaaf7f15d3c4517c8661dd6394be8f
Signed-off-by: Uwe Bonnes <bon@elektron.ikp.physik.tu-darmstadt.de>
Reviewed-on: http://openocd.zylin.com/2585
Tested-by: jenkins
Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk>
tcl/board/efm32.cfg [new file with mode: 0644]

diff --git a/tcl/board/efm32.cfg b/tcl/board/efm32.cfg
new file mode 100644 (file)
index 0000000..820b6c8
--- /dev/null
@@ -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
+