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
This commit is contained in:
@@ -2569,6 +2569,18 @@ 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 quirk} [@option{enable}|@option{disable}]
|
||||
Enables or disables the following workarounds of known CMSIS-DAP adapter
|
||||
quirks:
|
||||
@itemize @minus
|
||||
@item disconnect and re-connect before sending a switch sequence
|
||||
@item packets pipelining is suppressed, only one packet at a time is
|
||||
submitted to the adapter
|
||||
@end itemize
|
||||
The quirk workarounds are disabled by default.
|
||||
The command without a parameter displays current setting.
|
||||
@end deffn
|
||||
|
||||
@deffn {Command} {cmsis-dap info}
|
||||
Display various device information, like hardware version, firmware version, current bus status.
|
||||
@end deffn
|
||||
|
||||
Reference in New Issue
Block a user