tcl/interface/ftdi: Add PLS SPC5 debugger config

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>
This commit is contained in:
Andrew Wesie 2021-03-07 17:48:27 +09:00 committed by Antonio Borneo
parent e15c2e8a8c
commit 6448f70e09
2 changed files with 39 additions and 0 deletions

View 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 # TI Tiva-based ICDI and XDS110 probes in DFU mode
ATTRS{idVendor}=="1cbe", ATTRS{idProduct}=="00ff", MODE="660", GROUP="plugdev", TAG+="uaccess" 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. # Ambiq Micro EVK and Debug boards.
ATTRS{idVendor}=="2aec", ATTRS{idProduct}=="6010", MODE="660", GROUP="plugdev", TAG+="uaccess" ATTRS{idVendor}=="2aec", ATTRS{idProduct}=="6010", MODE="660", GROUP="plugdev", TAG+="uaccess"
ATTRS{idVendor}=="2aec", ATTRS{idProduct}=="6011", MODE="660", GROUP="plugdev", TAG+="uaccess" ATTRS{idVendor}=="2aec", ATTRS{idProduct}=="6011", MODE="660", GROUP="plugdev", TAG+="uaccess"

View File

@ -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