aboutsummaryrefslogtreecommitdiff
path: root/tcl
diff options
context:
space:
mode:
authorAntonio Borneo <borneo.antonio@gmail.com>2018-09-24 15:25:46 +0200
committerSpencer Oliver <spen@spen-soft.co.uk>2018-12-06 13:06:59 +0000
commit0bad9a42a3b7a3160b264b6d05934c30d8482bf5 (patch)
tree663a6e3e0686bd6369a63a78722a44a2fd46203f /tcl
parent5babb634623d60dd8b39289de3ecf27910b0b86d (diff)
downloadriscv-openocd-0bad9a42a3b7a3160b264b6d05934c30d8482bf5.zip
riscv-openocd-0bad9a42a3b7a3160b264b6d05934c30d8482bf5.tar.gz
riscv-openocd-0bad9a42a3b7a3160b264b6d05934c30d8482bf5.tar.bz2
stlink: add support for STLINK-V3
Extend the driver to include the minimal functionality to support the HLA model. Due to the small change in the name (ST-LINK/V2 => STLINK-V3), fix the existing names in the comments in udev rules. Change-Id: Ied33e38063a6da81d9bf249ed195444d7cdf4f03 Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com> Reviewed-on: http://openocd.zylin.com/4717 Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk> Tested-by: Spencer Oliver <spen@spen-soft.co.uk>
Diffstat (limited to 'tcl')
-rw-r--r--tcl/interface/stlink.cfg4
1 files changed, 2 insertions, 2 deletions
diff --git a/tcl/interface/stlink.cfg b/tcl/interface/stlink.cfg
index f7f70c8..735ad5a 100644
--- a/tcl/interface/stlink.cfg
+++ b/tcl/interface/stlink.cfg
@@ -1,12 +1,12 @@
#
-# STMicroelectronics ST-LINK/V1, ST-LINK/V2, ST-LINK/V2-1 in-circuit
+# STMicroelectronics ST-LINK/V1, ST-LINK/V2, ST-LINK/V2-1, STLINK-V3 in-circuit
# debugger/programmer
#
interface hla
hla_layout stlink
hla_device_desc "ST-LINK"
-hla_vid_pid 0x0483 0x3744 0x0483 0x3748 0x0483 0x374b 0x0483 0x3752
+hla_vid_pid 0x0483 0x3744 0x0483 0x3748 0x0483 0x374b 0x0483 0x374d 0x0483 0x374e 0x0483 0x374f 0x0483 0x3752 0x0483 0x3753
# Optionally specify the serial number of ST-LINK/V2 usb device. ST-LINK/V2
# devices seem to have serial numbers with unreadable characters. ST-LINK/V2