diff options
author | Edward Fewell <efewell@ti.com> | 2020-03-04 15:14:48 -0600 |
---|---|---|
committer | Antonio Borneo <borneo.antonio@gmail.com> | 2020-03-24 17:18:14 +0000 |
commit | d35c44c743d6f471697ed1d204fe5447fd47cefd (patch) | |
tree | f0e5cc75b35f39e4226fcd0419415fb11ae14a66 /contrib | |
parent | 87a4158acf56863d4e5e70afc33791f631b6c693 (diff) | |
download | riscv-openocd-d35c44c743d6f471697ed1d204fe5447fd47cefd.zip riscv-openocd-d35c44c743d6f471697ed1d204fe5447fd47cefd.tar.gz riscv-openocd-d35c44c743d6f471697ed1d204fe5447fd47cefd.tar.bz2 |
drivers: xds110: Add support of alternate XDS110 configurations
The XDS110 supports alternate configurations, each of which has
a unique vid/pid:
0451/bef3 -- Standard (legacy) configuration
0451/bef4 -- Drag-n-Drop configuration
1cbe/02a5 -- CMSIS-DAP 2.0 on BULK interface configuration
It's not important to OpenOCD what the differences are except
that OpenOCD needs to know how to connect using the different
vid/pids and, in the case of the last one, use a different
interface for the debug connection.
Updated the XDS110 source to search for all possible
configurations, and updated the udev rules file to enable
user access to the alternate configuraitons.
For the curious, you can download the latest XDS emupack from
software-dl.ti.com/ccs/esd/documents/xdsdebugprobes/emu_xds_software_package_download.html
Install to an empty directory, and documentation for the
XDS110 is located in the .../ccs_base/common/uscif/xds110
of the installation.
Updated for comments in code review. Changed const variable
names to lower case. Reworked interface/endpoint setting
to use arrays suggestion.
Change-Id: Icc9d11c6618f43d87ae8171c78ebf238800d3ac2
Signed-off-by: Edward Fewell <efewell@ti.com>
Reviewed-on: http://openocd.zylin.com/5494
Tested-by: jenkins
Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com>
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/60-openocd.rules | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/contrib/60-openocd.rules b/contrib/60-openocd.rules index ac574bb..9904127 100644 --- a/contrib/60-openocd.rules +++ b/contrib/60-openocd.rules @@ -139,6 +139,8 @@ ATTRS{idVendor}=="1cbe", ATTRS{idProduct}=="00fd", MODE="660", GROUP="plugdev", # TI XDS110 Debug Probe (Launchpads and Standalone) ATTRS{idVendor}=="0451", ATTRS{idProduct}=="bef3", MODE="660", GROUP="plugdev", TAG+="uaccess" +ATTRS{idVendor}=="0451", ATTRS{idProduct}=="bef4", MODE="660", GROUP="plugdev", TAG+="uaccess" +ATTRS{idVendor}=="1cbe", ATTRS{idProduct}=="02a5", MODE="660", GROUP="plugdev", TAG+="uaccess" # TI Tiva-based ICDI and XDS110 probes in DFU mode ATTRS{idVendor}=="1cbe", ATTRS{idProduct}=="00ff", MODE="660", GROUP="plugdev", TAG+="uaccess" |