diff options
author | Joerg Fischer <turboj@gmx.de> | 2015-01-31 13:00:12 +0100 |
---|---|---|
committer | Paul Fertser <fercerpav@gmail.com> | 2015-02-11 16:18:25 +0000 |
commit | fb9277191b715566c82b633a474a5c7c78fcfe1a (patch) | |
tree | 350fecbef807f4ba91e3990cc0fb1b7e3e654e4b /tcl/interface | |
parent | 6e32887f917b8e5a870e2d485139820ee5161b4f (diff) |
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/interface')
-rw-r--r-- | tcl/interface/jlink.cfg | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/tcl/interface/jlink.cfg b/tcl/interface/jlink.cfg index f5ff7c7b..3d83362a 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 + |