aboutsummaryrefslogtreecommitdiff
path: root/tcl
diff options
context:
space:
mode:
authorJoerg Fischer <turboj@gmx.de>2015-01-31 13:00:12 +0100
committerPaul Fertser <fercerpav@gmail.com>2015-02-11 16:18:25 +0000
commitfb9277191b715566c82b633a474a5c7c78fcfe1a (patch)
tree350fecbef807f4ba91e3990cc0fb1b7e3e654e4b /tcl
parent6e32887f917b8e5a870e2d485139820ee5161b4f (diff)
downloadriscv-openocd-fb9277191b715566c82b633a474a5c7c78fcfe1a.zip
riscv-openocd-fb9277191b715566c82b633a474a5c7c78fcfe1a.tar.gz
riscv-openocd-fb9277191b715566c82b633a474a5c7c78fcfe1a.tar.bz2
J-Link serial number config option
Add serial option to jlink config commands, handy when there is more than one adapter connected. To select adapter 0123456 for OpenOCD, use jlink serial 0123456 Change-Id: Ib29ce3f0c4975e1169211721a4531bf4db61f1ee Signed-off-by: Joerg Fischer <turboj@gmx.de> Reviewed-on: http://openocd.zylin.com/2521 Tested-by: jenkins Reviewed-by: Paul Fertser <fercerpav@gmail.com>
Diffstat (limited to 'tcl')
-rw-r--r--tcl/interface/jlink.cfg11
1 files changed, 11 insertions, 0 deletions
diff --git a/tcl/interface/jlink.cfg b/tcl/interface/jlink.cfg
index f5ff7c7..3d83362 100644
--- a/tcl/interface/jlink.cfg
+++ b/tcl/interface/jlink.cfg
@@ -6,3 +6,14 @@
interface jlink
+
+# The serial number can be used to select a specific interface in case more than one
+# is connected to the host.
+#
+# Segger software omits leading zeros in serial number displays,
+# OpenOCD requires them.
+#
+# Example: Select J-Link with serial 123456789
+#
+# jlink serial 000123456789
+