diff options
author | Antonio Borneo <borneo.antonio@gmail.com> | 2021-10-07 23:03:23 +0200 |
---|---|---|
committer | Antonio Borneo <borneo.antonio@gmail.com> | 2021-11-28 10:59:23 +0000 |
commit | 61a2f3284b984abee0ffd1166ecd79a0ea82976e (patch) | |
tree | 4388d01d56aae63a5da2a30e1ea39996b9407ad5 /doc/openocd.texi | |
parent | 271e5416af975b52d4cd0e2ced65a4cbda9d041f (diff) | |
download | riscv-openocd-61a2f3284b984abee0ffd1166ecd79a0ea82976e.zip riscv-openocd-61a2f3284b984abee0ffd1166ecd79a0ea82976e.tar.gz riscv-openocd-61a2f3284b984abee0ffd1166ecd79a0ea82976e.tar.bz2 |
jtag/xds110: switch to command 'adapter serial'
The driver xds110 defines the command 'xds110 serial' to specify
the serial string of the adapter.
Remove and deprecate the driver command, and use 'adapter serial'.
Note: the original command 'xds110 serial' used a complex and
undocumented conversion of the serial number through multibyte
string, wide-character string and C cast. The XDS110 I can access
and the lsusb dumps available through Google don't show any
exotic USB serial that require such conversion. The original
developer doesn't remember any constraint that mandates such
conversion (see comments in https://review.openocd.org/4322/).
The conversion is removed by this patch.
Change-Id: I38909918079b2c1797ad85ebec2fea1b33743606
Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
Reviewed-on: https://review.openocd.org/c/openocd/+/6655
Reviewed-by: Tomas Vanek <vanekt@fbl.cz>
Tested-by: jenkins
Diffstat (limited to 'doc/openocd.texi')
-rw-r--r-- | doc/openocd.texi | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/doc/openocd.texi b/doc/openocd.texi index c76fc07..78451c7 100644 --- a/doc/openocd.texi +++ b/doc/openocd.texi @@ -2371,9 +2371,9 @@ This command is only available if your libusb1 is at least version 1.0.16. Specifies the @var{serial_string} of the adapter to use. If this command is not specified, serial strings are not checked. Only the following adapter drivers use the serial string from this command: -cmsis_dap, ft232r, ftdi, kitprog, presto, vsllink. +cmsis_dap, ft232r, ftdi, kitprog, presto, vsllink, xds110. The following adapters have their own command to specify the serial string: -hla, jlink, st-link, xds110. +hla, jlink, st-link. @end deffn @section Interface Drivers @@ -3141,11 +3141,6 @@ LaunchPad evaluation boards. The XDS110 is also available as a stand-alone USB debug probe with the added capability to supply power to the target board. The following commands are supported by the XDS110 driver: -@deffn {Config Command} {xds110 serial} serial_string -Specifies the serial number of which XDS110 probe to use. Otherwise, the first -XDS110 found will be used. -@end deffn - @deffn {Config Command} {xds110 supply} voltage_in_millivolts Available only on the XDS110 stand-alone probe. Sets the voltage level of the XDS110 power supply. A value of 0 leaves the supply off. Otherwise, the supply |