tcl/interface/ftdi: Add PLS SPC5 debugger config 81/6081/4
authorAndrew Wesie <awesie@gmail.com>
Sun, 7 Mar 2021 08:48:27 +0000 (17:48 +0900)
committerAntonio Borneo <borneo.antonio@gmail.com>
Sat, 20 Mar 2021 17:42:06 +0000 (17:42 +0000)
Change-Id: I694201db0811beebc94e87822c87fbfc6aecc4c4
Signed-off-by: Andrew Wesie <awesie@gmail.com>
Reviewed-on: http://openocd.zylin.com/6081
Tested-by: jenkins
Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com>
contrib/60-openocd.rules
tcl/interface/ftdi/pls_spc5.cfg [new file with mode: 0644]

index 36bdb5318da2f4e929d300af80d1453790822f18..0358b60104b514c1f3fdeb0c85d820a164b1bc7d 100644 (file)
@@ -163,6 +163,9 @@ ATTRS{idVendor}=="1cbe", ATTRS{idProduct}=="02a5", MODE="660", GROUP="plugdev",
 # TI Tiva-based ICDI and XDS110 probes in DFU mode
 ATTRS{idVendor}=="1cbe", ATTRS{idProduct}=="00ff", MODE="660", GROUP="plugdev", TAG+="uaccess"
 
+# PLS USB/JTAG Adapter for SPC5xxx
+ATTRS{idVendor}=="263d", ATTRS{idProduct}=="4001", MODE="660", GROUP="plugdev", TAG+="uaccess"
+
 # Ambiq Micro EVK and Debug boards.
 ATTRS{idVendor}=="2aec", ATTRS{idProduct}=="6010", MODE="660", GROUP="plugdev", TAG+="uaccess"
 ATTRS{idVendor}=="2aec", ATTRS{idProduct}=="6011", MODE="660", GROUP="plugdev", TAG+="uaccess"
diff --git a/tcl/interface/ftdi/pls_spc5.cfg b/tcl/interface/ftdi/pls_spc5.cfg
new file mode 100644 (file)
index 0000000..806f920
--- /dev/null
@@ -0,0 +1,36 @@
+# SPDX-License-Identifier: GPL-2.0-or-later
+#
+# PLS SPC5-UDESTK
+#
+# https://www.st.com/en/development-tools/spc5-udestk.html
+#
+# Reference the SPC56D Discovery schematics.
+#
+# Layout:  FTDI FT2232
+#   ADBUS0 TCK
+#   ADBUS1 TDI
+#   ADBUS2 TDO
+#   ADBUS3 TMS
+#   ADBUS4 TMS
+#   ADBUS5 RTCK
+#   ADBUS6
+#   ADBUS7 LED1
+#
+#   ACBUS0 nTRST
+#   ACBUS1 nSRST (external pull-down)
+#   ACUBS2
+#   ACBUS3
+#   ACBUS4
+#   ACBUS5 nSRST direction (input=L, output=H, external pull-down)
+#   ACBUS6 TMS direction (input=L, output=H, external pull-up)
+#   ACBUS7 LED2
+#
+
+adapter driver ftdi
+ftdi_device_desc "PLS USB/JTAG Adapter for SPC5xxx"
+ftdi_vid_pid 0x263d 0x4001
+
+ftdi_channel 0
+ftdi_layout_init 0x0008 0x000b
+ftdi_layout_signal nTRST -data 0x0100 -oe 0x0100
+ftdi_layout_signal nSRST -ndata 0x2000 -oe 0x2000

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)