aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomas Vanek <vanekt@fbl.cz>2021-11-20 17:53:03 +0100
committerAntonio Borneo <borneo.antonio@gmail.com>2021-12-03 21:54:03 +0000
commit6179d9f848a78908e9ca245c775a510ed1b6ac17 (patch)
tree5687105e86fc8914b60fc1df4e3ca43fd95c3ce5
parentbbe8b0df176a12ca1248134ee26ca13d61903094 (diff)
downloadriscv-openocd-6179d9f848a78908e9ca245c775a510ed1b6ac17.zip
riscv-openocd-6179d9f848a78908e9ca245c775a510ed1b6ac17.tar.gz
riscv-openocd-6179d9f848a78908e9ca245c775a510ed1b6ac17.tar.bz2
doc: document 'cmsis-dap cmd' command
Change-Id: I90b7f020ee2bf078fdf22e3d21423f333ae061ac Signed-off-by: Tomas Vanek <vanekt@fbl.cz> Reviewed-on: https://review.openocd.org/c/openocd/+/6732 Tested-by: jenkins Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com>
-rw-r--r--doc/openocd.texi10
1 files changed, 10 insertions, 0 deletions
diff --git a/doc/openocd.texi b/doc/openocd.texi
index 7962093..4923a87 100644
--- a/doc/openocd.texi
+++ b/doc/openocd.texi
@@ -2447,6 +2447,16 @@ interface string or for user class interface.
@deffn {Command} {cmsis-dap info}
Display various device information, like hardware version, firmware version, current bus status.
@end deffn
+
+@deffn {Command} {cmsis-dap cmd} number number ...
+Execute an arbitrary CMSIS-DAP command. Use for adapter testing or for handling
+of an adapter vendor specific command from a Tcl script.
+
+Take given numbers as bytes, assemble a CMSIS-DAP protocol command packet
+from them and send it to the adapter. The first 4 bytes of the adapter response
+are logged.
+See @url{https://arm-software.github.io/CMSIS_5/DAP/html/group__DAP__Commands__gr.html}
+@end deffn
@end deffn
@deffn {Interface Driver} {dummy}