]> git.sur5r.net Git - openocd/blobdiff - doc/openocd.texi
ftdi: allow selecting device by usb bus location
[openocd] / doc / openocd.texi
index f272f21988038d0bb84c1e0f3cca771056344f37..fb987e72772ca85c68fbd32e0bf2a1b265a7c653 100644 (file)
@@ -2558,6 +2558,14 @@ If not specified, serial numbers are not considered.
 and are not restricted to containing only decimal digits.)
 @end deffn
 
+@deffn {Config Command} {ftdi_location} <bus>:<port>[,<port>]...
+Specifies the physical USB port of the adapter to use. The path
+roots at @var{bus} and walks down the physical ports, with each
+@var{port} option specifying a deeper level in the bus topology, the last
+@var{port} denoting where the target adapter is actually plugged.
+The USB bus topology can be queried with the command @emph{lsusb -t}.
+@end deffn
+
 @deffn {Config Command} {ftdi_channel} channel
 Selects the channel of the FTDI device to use for MPSSE operations. Most
 adapters use the default, channel 0, but there are exceptions.