no longer use jtag_add_xxx() to set end state to TAP_IDLE. Same must be done for TAP_DRPAUSE
git-svn-id: svn://svn.berlios.de/openocd/trunk@2044 b42882b7-edfa-0310-969c-e2dbd0fdcd60
This commit is contained in:
@@ -58,7 +58,7 @@ int virtex2_set_instr(jtag_tap_t *tap, u32 new_instr)
|
||||
|
||||
|
||||
|
||||
jtag_add_ir_scan(1, &field, TAP_IDLE);
|
||||
jtag_add_ir_scan(1, &field, jtag_add_end_state(TAP_IDLE));
|
||||
|
||||
free(field.out_value);
|
||||
}
|
||||
@@ -186,11 +186,11 @@ int virtex2_load(struct pld_device_s *pld_device, char *filename)
|
||||
|
||||
jtag_add_end_state(TAP_IDLE);
|
||||
virtex2_set_instr(virtex2_info->tap, 0xc); /* JSTART */
|
||||
jtag_add_runtest(13, TAP_IDLE);
|
||||
jtag_add_runtest(13, jtag_add_end_state(TAP_IDLE));
|
||||
virtex2_set_instr(virtex2_info->tap, 0x3f); /* BYPASS */
|
||||
virtex2_set_instr(virtex2_info->tap, 0x3f); /* BYPASS */
|
||||
virtex2_set_instr(virtex2_info->tap, 0xc); /* JSTART */
|
||||
jtag_add_runtest(13, TAP_IDLE);
|
||||
jtag_add_runtest(13, jtag_add_end_state(TAP_IDLE));
|
||||
virtex2_set_instr(virtex2_info->tap, 0x3f); /* BYPASS */
|
||||
jtag_execute_queue();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user