From: <oh...@ma...> - 2009-01-09 12:43:26
|
Author: oharboe Date: 2009-01-09 12:43:15 +0100 (Fri, 09 Jan 2009) New Revision: 1310 Modified: trunk/src/jtag/jtag.c Log: allow issuing reset_config on the fly. Faster turnaround times in testing. Modified: trunk/src/jtag/jtag.c =================================================================== --- trunk/src/jtag/jtag.c 2009-01-09 10:12:43 UTC (rev 1309) +++ trunk/src/jtag/jtag.c 2009-01-09 11:43:15 UTC (rev 1310) @@ -2172,7 +2172,8 @@ register_command(cmd_ctx, NULL, "jtag_device", handle_jtag_device_command, COMMAND_CONFIG, "jtag_device <ir_length> <ir_expected> <ir_mask>"); 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 <ms> - delay after deasserting srst in ms"); register_command(cmd_ctx, NULL, "jtag_ntrst_delay", handle_jtag_ntrst_delay_command, |