summaryrefslogtreecommitdiff
path: root/tcl/board
diff options
context:
space:
mode:
authorSpencer Oliver <ntfreak@users.sourceforge.net>2010-08-24 20:50:20 +0100
committerSpencer Oliver <ntfreak@users.sourceforge.net>2010-08-31 20:09:24 +0100
commit31b47688ca5015bc91fb3480135a9e4efd53586a (patch)
tree420b390d7cb983fdb3fc93ecbd978bfa8ad9a4ff /tcl/board
parent6f841988417bdf64490604bee4f3c6d26a93a80b (diff)
downloadopenocd_libswd-31b47688ca5015bc91fb3480135a9e4efd53586a.tar.gz
openocd_libswd-31b47688ca5015bc91fb3480135a9e4efd53586a.tar.bz2
openocd_libswd-31b47688ca5015bc91fb3480135a9e4efd53586a.tar.xz
openocd_libswd-31b47688ca5015bc91fb3480135a9e4efd53586a.zip
cfg: update Luminary config files
- Update all Luminary config's to use a common target/stellaris.cfg. - Add Luminary ek-lm3s6965 config. - Increase working area for boards with more ram. Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
Diffstat (limited to 'tcl/board')
-rw-r--r--tcl/board/ek-lm3s1968.cfg3
-rw-r--r--tcl/board/ek-lm3s3748.cfg3
-rw-r--r--tcl/board/ek-lm3s6965.cfg19
-rw-r--r--tcl/board/ek-lm3s811.cfg3
-rw-r--r--tcl/board/ek-lm3s9b9x.cfg5
5 files changed, 29 insertions, 4 deletions
diff --git a/tcl/board/ek-lm3s1968.cfg b/tcl/board/ek-lm3s1968.cfg
index cb83a3aa..184d368e 100644
--- a/tcl/board/ek-lm3s1968.cfg
+++ b/tcl/board/ek-lm3s1968.cfg
@@ -13,7 +13,8 @@
source [find interface/luminary.cfg]
# include the target config
-source [find target/lm3s1968.cfg]
+set CHIPNAME lm3s1968
+source [find target/stellaris.cfg]
# jtag speed
adapter_khz 3000
diff --git a/tcl/board/ek-lm3s3748.cfg b/tcl/board/ek-lm3s3748.cfg
index 4695c89e..acc62f63 100644
--- a/tcl/board/ek-lm3s3748.cfg
+++ b/tcl/board/ek-lm3s3748.cfg
@@ -5,6 +5,9 @@
# so is using it in JTAG mode, as done here.
source [find interface/luminary.cfg]
+# 20k working area
+set WORKAREASIZE 0x4000
+set CHIPNAME lm3s3748
source [find target/stellaris.cfg]
# Board has only srst
diff --git a/tcl/board/ek-lm3s6965.cfg b/tcl/board/ek-lm3s6965.cfg
new file mode 100644
index 00000000..e2cd1e2c
--- /dev/null
+++ b/tcl/board/ek-lm3s6965.cfg
@@ -0,0 +1,19 @@
+#
+# TI/Luminary Stellaris LM3S6965 Evaluation Kits
+#
+# http://www.luminarymicro.com/products/lm3s6965_ethernet_evaluation_kit.html
+
+# NOTE: using the on-board FT2232 JTAG/SWD/SWO interface is optional!
+# so is using it in JTAG mode, as done here.
+source [find interface/luminary.cfg]
+
+# 20k working area
+set WORKAREASIZE 0x5000
+set CHIPNAME lm3s6965
+# include the target config
+source [find target/stellaris.cfg]
+
+adapter_nsrst_delay 100
+
+# LM3S6965 Evaluation Board has only srst
+reset_config srst_only
diff --git a/tcl/board/ek-lm3s811.cfg b/tcl/board/ek-lm3s811.cfg
index f036bc5e..0dcc70c2 100644
--- a/tcl/board/ek-lm3s811.cfg
+++ b/tcl/board/ek-lm3s811.cfg
@@ -8,9 +8,8 @@
# NOTE: older '811-EK boards (before rev C) shouldn't use this.
source [find interface/luminary.cfg]
- set CHIPNAME lm3s811
-
# include the target config
+set CHIPNAME lm3s811
source [find target/stellaris.cfg]
diff --git a/tcl/board/ek-lm3s9b9x.cfg b/tcl/board/ek-lm3s9b9x.cfg
index 099e40d5..83f67319 100644
--- a/tcl/board/ek-lm3s9b9x.cfg
+++ b/tcl/board/ek-lm3s9b9x.cfg
@@ -8,7 +8,10 @@
# NOTE: using the bundled FT2232 JTAG/SWD/SWO interface is optional!
# so is using in JTAG mode, as done here.
source [find interface/luminary-icdi.cfg]
-source [find target/lm3s9b9x.cfg]
+
+set WORKAREASIZE 0x4000
+set CHIPNAME lm3s9b9x
+source [find target/stellaris.cfg]
# jtag speed
adapter_khz 500