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/pld | |
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/pld')
-rw-r--r-- | src/pld/virtex2.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/pld/virtex2.c b/src/pld/virtex2.c index 8624367f..ab715d92 100644 --- a/src/pld/virtex2.c +++ b/src/pld/virtex2.c @@ -62,7 +62,7 @@ int virtex2_set_instr(int chain_pos, u32 new_instr) field.in_handler = NULL; field.in_handler_priv = NULL; - jtag_add_ir_scan(1, &field, TAP_RTI); + jtag_add_ir_scan(1, &field, TAP_RTI, NULL); free(field.out_value); } @@ -94,7 +94,7 @@ int virtex2_send_32(struct pld_device_s *pld_device, int num_words, u32 *words) virtex2_set_instr(virtex2_info->chain_pos, 0x5); /* CFG_IN */ - jtag_add_dr_scan(1, &scan_field, TAP_PD); + jtag_add_dr_scan(1, &scan_field, TAP_PD, NULL); free(values); @@ -127,7 +127,7 @@ int virtex2_receive_32(struct pld_device_s *pld_device, int num_words, u32 *word while (num_words--) { scan_field.in_handler_priv = words++; - jtag_add_dr_scan(1, &scan_field, TAP_PD); + jtag_add_dr_scan(1, &scan_field, TAP_PD, NULL); } return ERROR_OK; @@ -189,7 +189,7 @@ int virtex2_load(struct pld_device_s *pld_device, char *filename) field.num_bits = bit_file.length * 8; field.out_value = bit_file.data; - jtag_add_dr_scan(1, &field, TAP_PD); + jtag_add_dr_scan(1, &field, TAP_PD, NULL); jtag_execute_queue(); jtag_add_statemove(TAP_TLR); |