diff options
author | Tomas Vanek <vanekt@fbl.cz> | 2020-11-08 22:34:26 +0100 |
---|---|---|
committer | Tomas Vanek <vanekt@fbl.cz> | 2020-11-15 21:38:50 +0000 |
commit | 0e0283e582ddc06b34f3d7e3b09d1754dd501794 (patch) | |
tree | d48a64bece501c24652b257e0b4069ada4d5219e /doc | |
parent | 9c314578750324b8d46cdbe0801d3cdfc25c4a4c (diff) | |
download | riscv-openocd-0e0283e582ddc06b34f3d7e3b09d1754dd501794.zip riscv-openocd-0e0283e582ddc06b34f3d7e3b09d1754dd501794.tar.gz riscv-openocd-0e0283e582ddc06b34f3d7e3b09d1754dd501794.tar.bz2 |
doc: document CMSIS-DAP v2
Change-Id: Ie54e855901c079b456c26a6239177c7678cdcac7
Signed-off-by: Tomas Vanek <vanekt@fbl.cz>
Reviewed-on: http://openocd.zylin.com/5930
Tested-by: jenkins
Reviewed-by: Tarek BOCHKATI <tarek.bouchkati@gmail.com>
Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/openocd.texi | 20 |
1 files changed, 19 insertions, 1 deletions
diff --git a/doc/openocd.texi b/doc/openocd.texi index 84ed320..292bbd7 100644 --- a/doc/openocd.texi +++ b/doc/openocd.texi @@ -2429,7 +2429,8 @@ and a specific set of GPIOs is used. @end deffn @deffn {Interface Driver} {cmsis-dap} -ARM CMSIS-DAP compliant based adapter. +ARM CMSIS-DAP compliant based adapter v1 (USB HID based) +or v2 (USB bulk). @deffn {Config Command} {cmsis_dap_vid_pid} [vid pid]+ The vendor ID and product ID of the CMSIS-DAP device. If not specified @@ -2445,6 +2446,23 @@ Specifies the @var{serial} of the CMSIS-DAP device to use. If not specified, serial numbers are not considered. @end deffn +@deffn {Config Command} {cmsis_dap_backend} [@option{auto}|@option{usb_bulk}|@option{hid}] +Specifies how to communicate with the adapter: + +@itemize @minus +@item @option{hid} Use HID generic reports - CMSIS-DAP v1 +@item @option{usb_bulk} Use USB bulk - CMSIS-DAP v2 +@item @option{auto} First try USB bulk CMSIS-DAP v2, if not found try HID CMSIS-DAP v1. +This is the default if @command{cmsis_dap_backend} is not specified. +@end itemize +@end deffn + +@deffn {Config Command} {cmsis_dap_usb interface} [number] +Specifies the @var{number} of the USB interface to use in v2 mode (USB bulk). +In most cases need not to be specified and interfaces are searched by +interface string or for user class interface. +@end deffn + @deffn {Command} {cmsis-dap info} Display various device information, like hardware version, firmware version, current bus status. @end deffn |