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>
This commit is contained in:
Joerg Fischer
2015-01-31 13:00:12 +01:00
committed by Paul Fertser
parent 6e32887f91
commit fb9277191b
3 changed files with 44 additions and 2 deletions

View File

@@ -2953,6 +2953,16 @@ Save the current configuration to the internal persistent storage.
@deffn {Config} {jlink pid} val
Set the USB PID of the interface. As a configuration command, it can be used only before 'init'.
@end deffn
@deffn {Config} {jlink serial} serial-number
Set the @var{serial-number} of the interface, in case more than one adapter is connected to the host.
If not specified, serial numbers are not considered.
Note that there may be leading zeros in the @var{serial-number} string
that will not show in the Segger software, but must be specified here.
Debug level 3 output contains serial numbers if there is a mismatch.
As a configuration command, it can be used only before 'init'.
@end deffn
@end deffn
@deffn {Interface Driver} {parport}