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:
@@ -137,7 +137,7 @@ static u8 str9xpec_isc_status(jtag_tap_t *tap)
|
||||
field.in_value = &status;
|
||||
|
||||
|
||||
jtag_add_dr_scan(1, &field, TAP_IDLE);
|
||||
jtag_add_dr_scan(1, &field, jtag_add_end_state(TAP_IDLE));
|
||||
jtag_execute_queue();
|
||||
|
||||
LOG_DEBUG("status: 0x%2.2x", status);
|
||||
@@ -225,7 +225,7 @@ static int str9xpec_read_config(struct flash_bank_s *bank)
|
||||
field.in_value = str9xpec_info->options;
|
||||
|
||||
|
||||
jtag_add_dr_scan(1, &field, TAP_IDLE);
|
||||
jtag_add_dr_scan(1, &field, jtag_add_end_state(TAP_IDLE));
|
||||
jtag_execute_queue();
|
||||
|
||||
status = str9xpec_isc_status(tap);
|
||||
@@ -372,7 +372,7 @@ static int str9xpec_blank_check(struct flash_bank_s *bank, int first, int last)
|
||||
field.out_value = buffer;
|
||||
field.in_value = NULL;
|
||||
|
||||
jtag_add_dr_scan(1, &field, TAP_IDLE);
|
||||
jtag_add_dr_scan(1, &field, jtag_add_end_state(TAP_IDLE));
|
||||
jtag_add_sleep(40000);
|
||||
|
||||
/* read blank check result */
|
||||
@@ -478,7 +478,7 @@ static int str9xpec_erase_area(struct flash_bank_s *bank, int first, int last)
|
||||
field.out_value = buffer;
|
||||
field.in_value = NULL;
|
||||
|
||||
jtag_add_dr_scan(1, &field, TAP_IDLE);
|
||||
jtag_add_dr_scan(1, &field, jtag_add_end_state(TAP_IDLE));
|
||||
jtag_execute_queue();
|
||||
|
||||
jtag_add_sleep(10);
|
||||
@@ -704,7 +704,7 @@ static int str9xpec_write(struct flash_bank_s *bank, u8 *buffer, u32 offset, u32
|
||||
field.out_value = (buffer + bytes_written);
|
||||
field.in_value = NULL;
|
||||
|
||||
jtag_add_dr_scan(1, &field, TAP_IDLE);
|
||||
jtag_add_dr_scan(1, &field, jtag_add_end_state(TAP_IDLE));
|
||||
|
||||
/* small delay before polling */
|
||||
jtag_add_sleep(50);
|
||||
@@ -754,7 +754,7 @@ static int str9xpec_write(struct flash_bank_s *bank, u8 *buffer, u32 offset, u32
|
||||
field.out_value = last_dword;
|
||||
field.in_value = NULL;
|
||||
|
||||
jtag_add_dr_scan(1, &field, TAP_IDLE);
|
||||
jtag_add_dr_scan(1, &field, jtag_add_end_state(TAP_IDLE));
|
||||
|
||||
/* small delay before polling */
|
||||
jtag_add_sleep(50);
|
||||
@@ -826,7 +826,7 @@ static int str9xpec_handle_part_id_command(struct command_context_s *cmd_ctx, ch
|
||||
field.out_value = NULL;
|
||||
field.in_value = buffer;
|
||||
|
||||
jtag_add_dr_scan(1, &field, TAP_IDLE);
|
||||
jtag_add_dr_scan(1, &field, jtag_add_end_state(TAP_IDLE));
|
||||
jtag_execute_queue();
|
||||
|
||||
idcode = buf_get_u32(buffer, 0, 32);
|
||||
@@ -946,7 +946,7 @@ static int str9xpec_write_options(struct flash_bank_s *bank)
|
||||
field.out_value = str9xpec_info->options;
|
||||
field.in_value = NULL;
|
||||
|
||||
jtag_add_dr_scan(1, &field, TAP_IDLE);
|
||||
jtag_add_dr_scan(1, &field, jtag_add_end_state(TAP_IDLE));
|
||||
|
||||
/* small delay before polling */
|
||||
jtag_add_sleep(50);
|
||||
|
||||
Reference in New Issue
Block a user