This is an automated email from Gerrit. Matthias Welwarsky ([email protected]) just uploaded a new patch set to Gerrit, which you can find at http://openocd.zylin.com/4694
-- gerrit commit 900db75390f7ae2e97cb852ab465701a273b76ec Author: Matthias Welwarsky <[email protected]> Date: Mon Oct 1 14:08:02 2018 +0200 DAP: add TCL command to force a DAP reconnnect Change-Id: I3329c3c3f58c307a5d4bc128fac594afbfbfca12 Signed-off-by: Matthias Welwarsky <[email protected]> diff --git a/src/target/arm_adi_v5.c b/src/target/arm_adi_v5.c index d9f3bd7..6988113 100644 --- a/src/target/arm_adi_v5.c +++ b/src/target/arm_adi_v5.c @@ -1818,6 +1818,15 @@ COMMAND_HANDLER(dap_ti_be_32_quirks_command) return 0; } +COMMAND_HANDLER(dap_do_reconnect_command) +{ + struct adiv5_dap *dap = adiv5_get_dap(CMD_DATA); + + dap->do_reconnect = true; + + return 0; +} + const struct command_registration dap_instance_commands[] = { { .name = "info", @@ -1890,5 +1899,12 @@ const struct command_registration dap_instance_commands[] = { .help = "set/get quirks mode for TI TMS450/TMS570 processors", .usage = "[enable]", }, + { + .name = "do_reconnect", + .handler = dap_do_reconnect_command, + .mode = COMMAND_EXEC, + .help = "trigger a reconnect of the dap on next scan", + .usage = "", + }, COMMAND_REGISTRATION_DONE }; -- _______________________________________________ OpenOCD-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/openocd-devel
