Adding taps and then dumping them is quite reasonable thing
to do in a config script.

Signed-off-by: Øyvind Harboe <[email protected]>
---
 src/jtag/tcl.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/jtag/tcl.c b/src/jtag/tcl.c
index f48993f..ffb5d27 100644
--- a/src/jtag/tcl.c
+++ b/src/jtag/tcl.c
@@ -1674,7 +1674,7 @@ static const struct command_registration 
jtag_command_handlers[] = {
        {
                .name = "scan_chain",
                .handler = handle_scan_chain_command,
-               .mode = COMMAND_EXEC,
+               .mode = COMMAND_ANY,
                .help = "print current scan chain configuration",
        },
        {
-- 
1.6.3.3

_______________________________________________
Openocd-development mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to