summaryrefslogtreecommitdiff
path: root/tcl/interface
diff options
context:
space:
mode:
authorTrygve Laugstøl <trygvis@inamo.no>2012-02-22 00:06:18 +0100
committerTrygve Laugstøl <trygvis@inamo.no>2012-02-22 00:06:18 +0100
commit2dcf57363a5c1c55940e5701e5ec047c37c54560 (patch)
treeebd979604d2698a79298102fc589f3cdb376311e /tcl/interface
parent23e3beaa3c970736af7993f1a8bb77b8834fc150 (diff)
downloadopenocd_libswd-2dcf57363a5c1c55940e5701e5ec047c37c54560.tar.gz
openocd_libswd-2dcf57363a5c1c55940e5701e5ec047c37c54560.tar.bz2
openocd_libswd-2dcf57363a5c1c55940e5701e5ec047c37c54560.tar.xz
openocd_libswd-2dcf57363a5c1c55940e5701e5ec047c37c54560.zip
A working version for my EFM board.
Diffstat (limited to 'tcl/interface')
-rw-r--r--tcl/interface/olimex-arm-usb-tiny-h+swd.cfg31
1 files changed, 31 insertions, 0 deletions
diff --git a/tcl/interface/olimex-arm-usb-tiny-h+swd.cfg b/tcl/interface/olimex-arm-usb-tiny-h+swd.cfg
new file mode 100644
index 00000000..3c4eb990
--- /dev/null
+++ b/tcl/interface/olimex-arm-usb-tiny-h+swd.cfg
@@ -0,0 +1,31 @@
+#
+# Olimex ARM-USB-TINY-H with ARM-JTAG-SWD adapter.
+#
+# http://www.olimex.com/dev/arm-usb-tiny-h.html
+# http://www.olimex.com/dev/arm-jtag-swd.html
+#
+
+interface ft2232_swd
+# ALl other examples have "Olimex OpenOCD JTAG ARM-USB-TINY-H", but my
+# adaptor doesn't.
+# ft2232_device_desc "Olimed Ltd."
+
+#ft2232_layout olimex-jtag
+ft2232_layout olimex-swd
+
+ft2232_vid_pid 0x15ba 0x002a
+
+# TRST is used as RnW
+# interface_signal add RnW 0x0100
+
+# TMS is used as RnW
+interface_signal add RnW 0x0008
+
+# TRST + TMS is used as RnW
+# interface_signal add RnW 0x0108
+
+interface_signal add LED 0x0800
+
+# interface_signal add SRST 0x0a00
+
+adapter_khz 10