aboutsummaryrefslogtreecommitdiff
path: root/tcl/target
diff options
context:
space:
mode:
authorAlex Ray <a@machinaut.com>2014-04-03 23:14:37 -0700
committerPaul Fertser <fercerpav@gmail.com>2015-04-24 14:55:16 +0100
commita1719e004865fb9ca556f693fd8e5c56992bc1de (patch)
treeda2d0899fde32dda3bf99ca30a63a94d129975b5 /tcl/target
parent528197ba2cf2b208efa4d5c8465a9044567e8d69 (diff)
TI TMS570 USB Kit board config
Split TMS570 target into LS31/LS21 and LS20/LS10 targets. Board for the TMS570LS20SUSB Kit, which uses the TMS570 Cortex-R4 MCU from TI. Tested attaching. Change-Id: I1a69ac1ed800d0d6b7f9860c19cbd149e3e47620 Signed-off-by: Alex Ray <a@machinaut.com> Reviewed-on: http://openocd.zylin.com/2089 Tested-by: jenkins Reviewed-by: Paul Fertser <fercerpav@gmail.com>
Diffstat (limited to 'tcl/target')
-rw-r--r--tcl/target/ti_tms570.cfg6
-rw-r--r--tcl/target/ti_tms570ls20xxx.cfg6
-rw-r--r--tcl/target/ti_tms570ls3137.cfg5
3 files changed, 13 insertions, 4 deletions
diff --git a/tcl/target/ti_tms570.cfg b/tcl/target/ti_tms570.cfg
index 014c76c1..b8f9287f 100644
--- a/tcl/target/ti_tms570.cfg
+++ b/tcl/target/ti_tms570.cfg
@@ -16,19 +16,17 @@ if { [info exists ENDIAN] } {
source [find target/icepick.cfg]
# Main DAP
+# DAP_TAPID should be set before source-ing this file
if { [info exists DAP_TAPID] } {
set _DAP_TAPID $DAP_TAPID
-} else {
- set _DAP_TAPID 0x0B8A002F
}
jtag newtap $_CHIPNAME dap -irlen 4 -ircapture 0x1 -irmask 0xf -expected-id $_DAP_TAPID -disable
jtag configure $_CHIPNAME.dap -event tap-enable "icepick_c_tapenable $_CHIPNAME.jrc 0"
# ICEpick-C (JTAG route controller)
+# JRC_TAPID should be set before source-ing this file
if { [info exists JRC_TAPID] } {
set _JRC_TAPID $JRC_TAPID
-} else {
- set _JRC_TAPID 0x0B8A002F
}
jtag newtap $_CHIPNAME jrc -irlen 6 -ircapture 0x1 -irmask 0x3f \
-expected-id $_JRC_TAPID -ignore-version
diff --git a/tcl/target/ti_tms570ls20xxx.cfg b/tcl/target/ti_tms570ls20xxx.cfg
new file mode 100644
index 00000000..ef45b7a5
--- /dev/null
+++ b/tcl/target/ti_tms570ls20xxx.cfg
@@ -0,0 +1,6 @@
+# TMS570LS20216, TMS570LS20206, TMS570LS10216
+# TMS570LS10206, TMS570LS10116, TMS570LS10106
+set DAP_TAPID 0x0B7B302F
+set JRC_TAPID 0x0B7B302F
+
+source [find target/ti_tms570.cfg]
diff --git a/tcl/target/ti_tms570ls3137.cfg b/tcl/target/ti_tms570ls3137.cfg
new file mode 100644
index 00000000..f2918035
--- /dev/null
+++ b/tcl/target/ti_tms570ls3137.cfg
@@ -0,0 +1,5 @@
+# TMS570LS3137
+set DAP_TAPID 0x0B8A002F
+set JRC_TAPID 0x0B8A002F
+
+source [find target/ti_tms570.cfg]