From fb9277191b715566c82b633a474a5c7c78fcfe1a Mon Sep 17 00:00:00 2001 From: Joerg Fischer Date: Sat, 31 Jan 2015 13:00:12 +0100 Subject: 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 Reviewed-on: http://openocd.zylin.com/2521 Tested-by: jenkins Reviewed-by: Paul Fertser --- tcl/interface/jlink.cfg | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'tcl/interface') 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 + -- cgit v1.2.3-18-g5258