diff options
author | drath <drath@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2007-04-25 20:15:59 +0000 |
---|---|---|
committer | drath <drath@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2007-04-25 20:15:59 +0000 |
commit | 22bc5194ae101282cf5c30d681d7f4720bec2534 (patch) | |
tree | 9269026fda66ddf15fdfaeaf8acd8433767ea82e /src/xsvf | |
parent | 04dc98916d9acb57e0f5595534151a24ba4dc684 (diff) | |
download | openocd+libswd-22bc5194ae101282cf5c30d681d7f4720bec2534.tar.gz openocd+libswd-22bc5194ae101282cf5c30d681d7f4720bec2534.tar.bz2 openocd+libswd-22bc5194ae101282cf5c30d681d7f4720bec2534.tar.xz openocd+libswd-22bc5194ae101282cf5c30d681d7f4720bec2534.zip |
- added support for error handlers to JTAG scan commands (jtag_[plain_][ir|dr]_scan)
- catch apparently broken JTAG IR scan after ARM926EJ-S CP15 operations
- added "arm7_9 dump_etb" command
git-svn-id: svn://svn.berlios.de/openocd/trunk@142 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src/xsvf')
-rw-r--r-- | src/xsvf/xsvf.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/xsvf/xsvf.c b/src/xsvf/xsvf.c index 3a15e2b7..fd9e364e 100644 --- a/src/xsvf/xsvf.c +++ b/src/xsvf/xsvf.c @@ -188,9 +188,9 @@ int handle_xsvf_command(struct command_context_s *cmd_ctx, char *cmd, char **arg field.in_handler = NULL; field.in_handler_priv = NULL; if (device == -1) - jtag_add_plain_ir_scan(1, &field, TAP_PI); + jtag_add_plain_ir_scan(1, &field, TAP_PI, NULL); else - jtag_add_ir_scan(1, &field, TAP_PI); + jtag_add_ir_scan(1, &field, TAP_PI, NULL); if (jtag_execute_queue() != ERROR_OK) { tdo_mismatch = 1; @@ -231,9 +231,9 @@ int handle_xsvf_command(struct command_context_s *cmd_ctx, char *cmd, char **arg field.in_handler = NULL; field.in_handler_priv = NULL; if (device == -1) - jtag_add_plain_dr_scan(1, &field, TAP_PD); + jtag_add_plain_dr_scan(1, &field, TAP_PD, NULL); else - jtag_add_dr_scan(1, &field, TAP_PD); + jtag_add_dr_scan(1, &field, TAP_PD, NULL); if (jtag_execute_queue() != ERROR_OK) { tdo_mismatch = 1; @@ -308,9 +308,9 @@ int handle_xsvf_command(struct command_context_s *cmd_ctx, char *cmd, char **arg field.in_handler = NULL; field.in_handler_priv = NULL; if (device == -1) - jtag_add_plain_dr_scan(1, &field, TAP_PD); + jtag_add_plain_dr_scan(1, &field, TAP_PD, NULL); else - jtag_add_dr_scan(1, &field, TAP_PD); + jtag_add_dr_scan(1, &field, TAP_PD, NULL); if (jtag_execute_queue() != ERROR_OK) { tdo_mismatch = 1; @@ -434,9 +434,9 @@ int handle_xsvf_command(struct command_context_s *cmd_ctx, char *cmd, char **arg field.in_handler = NULL; field.in_handler_priv = NULL; if (device == -1) - jtag_add_plain_ir_scan(1, &field, xsvf_to_tap[xendir]); + jtag_add_plain_ir_scan(1, &field, xsvf_to_tap[xendir], NULL); else - jtag_add_ir_scan(1, &field, xsvf_to_tap[xendir]); + jtag_add_ir_scan(1, &field, xsvf_to_tap[xendir], NULL); } free(ir_buf); } |