From 5bbf2ae519c31b45e7609918a1bc36b849ba53f5 Mon Sep 17 00:00:00 2001 From: oharboe Date: Fri, 9 Jan 2009 11:43:15 +0000 Subject: [PATCH] allow issuing reset_config on the fly. Faster turnaround times in testing. git-svn-id: svn://svn.berlios.de/openocd/trunk@1310 b42882b7-edfa-0310-969c-e2dbd0fdcd60 --- src/jtag/jtag.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/jtag/jtag.c b/src/jtag/jtag.c index 5ce99894..9477124f 100644 --- a/src/jtag/jtag.c +++ b/src/jtag/jtag.c @@ -2172,7 +2172,8 @@ int jtag_register_commands(struct command_context_s *cmd_ctx) register_command(cmd_ctx, NULL, "jtag_device", handle_jtag_device_command, COMMAND_CONFIG, "jtag_device "); register_command(cmd_ctx, NULL, "reset_config", handle_reset_config_command, - COMMAND_CONFIG, NULL); + COMMAND_ANY, + "[none/trst_only/srst_only/trst_and_srst] [srst_pulls_trst/trst_pulls_srst] [combined/separate] [trst_push_pull/trst_open_drain] [srst_push_pull/srst_open_drain]"); register_command(cmd_ctx, NULL, "jtag_nsrst_delay", handle_jtag_nsrst_delay_command, COMMAND_ANY, "jtag_nsrst_delay - delay after deasserting srst in ms"); register_command(cmd_ctx, NULL, "jtag_ntrst_delay", handle_jtag_ntrst_delay_command, -- 2.39.5