drivers/cmsis_dap: use quirk workarounds optionally
commitba16fdc1c645bda82adb5a06b4403e7501e150c4
authorTomas Vanek <vanekt@fbl.cz>
Tue, 7 Nov 2023 13:45:45 +0000 (7 14:45 +0100)
committerTomas Vanek <vanekt@fbl.cz>
Wed, 6 Dec 2023 14:00:57 +0000 (6 14:00 +0000)
tree3b362fa28106f875d0c9a7aa94fdcf4a96e4c39e
parent66391d28373fef090999b253b193d19dbdc11217
drivers/cmsis_dap: use quirk workarounds optionally

Introduce 'cmsis-dap quirk' command to enable and
disable quirk mode.

If enabled, disconnect and connect before a switch
sequence and do not use multiple packets pipelining.

Change-Id: I6576f7de9f6c98a25c3cf9eec9a456a23610d00d
Signed-off-by: Tomas Vanek <vanekt@fbl.cz>
Reviewed-on: https://review.openocd.org/c/openocd/+/7966
Tested-by: jenkins
doc/openocd.texi
src/jtag/drivers/cmsis_dap.c
src/jtag/drivers/cmsis_dap.h