TI TMS570 USB Kit board config 89/2089/5
authorAlex Ray <a@machinaut.com>
Fri, 4 Apr 2014 06:14:37 +0000 (23:14 -0700)
committerPaul Fertser <fercerpav@gmail.com>
Fri, 24 Apr 2015 13:55:16 +0000 (14:55 +0100)
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>
tcl/board/ti_tmdx570ls20susb.cfg
tcl/target/ti_tms570.cfg
tcl/target/ti_tms570ls20xxx.cfg [new file with mode: 0644]
tcl/target/ti_tms570ls3137.cfg [new file with mode: 0644]

index 2601d21dfa056aa8675326a5cd41f38d40313d36..87cab2690747e3a64e282b6feb9810ddffc05789 100644 (file)
@@ -1,9 +1,16 @@
-adapter_khz 1500
+# TMS570 Microcontroller USB Kit
+# http://www.ti.com/tool/TMDX570LS20SUSB
 
+# Board uses a FT2232H to emulate an XDS100v2 JTAG debugger
+# TODO: board also supports an SCI UART on the 2232's B Bus
 source [find interface/ftdi/xds100v2.cfg]
 
-set DAP_TAPID 0x0b7b302f
-set JRC_TAPID $DAP_TAPID
-source [find target/ti_tms570.cfg]
+# Processor is TMS570LS20216
+source [find target/ti_tms570ls20xxx.cfg]
 
 reset_config trst_only
+
+# xds100v2 config says add this to the end
+init
+ftdi_set_signal PWR_RST 1
+jtag arp_init
index 014c76c11d6c9f7d065f8634f0bb2f9e1eb91cbe..b8f9287f41b620b7e901c9719ddeeec4448ae921 100644 (file)
@@ -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 (file)
index 0000000..ef45b7a
--- /dev/null
@@ -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 (file)
index 0000000..f291803
--- /dev/null
@@ -0,0 +1,5 @@
+# TMS570LS3137
+set DAP_TAPID 0x0B8A002F
+set JRC_TAPID 0x0B8A002F
+
+source [find target/ti_tms570.cfg]

Linking to existing account procedure

If you already have an account and want to add another login method you MUST first sign in with your existing account and then change URL to read https://review.openocd.org/login/?link to get to this page again but this time it'll work for linking. Thank you.

SSH host keys fingerprints

1024 SHA256:YKx8b7u5ZWdcbp7/4AeXNaqElP49m6QrwfXaqQGJAOk gerrit-code-review@openocd.zylin.com (DSA)
384 SHA256:jHIbSQa4REvwCFG4cq5LBlBLxmxSqelQPem/EXIrxjk gerrit-code-review@openocd.org (ECDSA)
521 SHA256:UAOPYkU9Fjtcao0Ul/Rrlnj/OsQvt+pgdYSZ4jOYdgs gerrit-code-review@openocd.org (ECDSA)
256 SHA256:A13M5QlnozFOvTllybRZH6vm7iSt0XLxbA48yfc2yfY gerrit-code-review@openocd.org (ECDSA)
256 SHA256:spYMBqEYoAOtK7yZBrcwE8ZpYt6b68Cfh9yEVetvbXg gerrit-code-review@openocd.org (ED25519)
+--[ED25519 256]--+
|=..              |
|+o..   .         |
|*.o   . .        |
|+B . . .         |
|Bo. = o S        |
|Oo.+ + =         |
|oB=.* = . o      |
| =+=.+   + E     |
|. .=o   . o      |
+----[SHA256]-----+
2048 SHA256:0Onrb7/PHjpo6iVZ7xQX2riKN83FJ3KGU0TvI0TaFG4 gerrit-code-review@openocd.zylin.com (RSA)