OpenOCD
|
Go to the source code of this file.
Data Structures | |
struct | bitq_state |
Functions | |
void | bitq_cleanup (void) |
static void | bitq_end_state (tap_state_t state) |
int | bitq_execute_queue (void) |
static void | bitq_in_proc (void) |
static void | bitq_io (int tms, int tdi, int tdo_req) |
static void | bitq_path_move (struct pathmove_command *cmd) |
static void | bitq_runtest (int num_cycles) |
static void | bitq_scan (struct scan_command *cmd) |
static void | bitq_scan_field (struct scan_field *field, int do_pause) |
static void | bitq_state_move (tap_state_t new_state) |
Variables | |
static struct bitq_state | bitq_in_state |
struct bitq_interface * | bitq_interface |
void bitq_cleanup | ( | void | ) |
Definition at line 285 of file bitq.c.
Referenced by esp_usb_jtag_quit().
|
static |
Definition at line 79 of file bitq.c.
References LOG_ERROR, state, tap_is_state_stable(), and tap_set_end_state().
Referenced by bitq_execute_queue().
int bitq_execute_queue | ( | void | ) |
Definition at line 206 of file bitq.c.
References bitq_state::bit_pos, bitq_end_state(), bitq_in_proc(), bitq_in_state, bitq_path_move(), bitq_runtest(), bitq_scan(), bitq_state_move(), bitq_state::cmd, cmd, ERROR_JTAG_QUEUE_FAILED, ERROR_OK, bitq_state::field_idx, bitq_interface::flush, bitq_interface::in, bitq_interface::in_rdy, jtag_command_queue, jtag_get_reset_config(), JTAG_PATHMOVE, JTAG_RESET, JTAG_RUNTEST, JTAG_SCAN, JTAG_SLEEP, JTAG_TLR_RESET, LOG_DEBUG_IO, LOG_ERROR, bitq_interface::reset, RESET_SRST_PULLS_TRST, bitq_interface::sleep, bitq_state::status, tap_get_end_state(), tap_get_state(), TAP_RESET, and tap_set_state.
|
static |
Definition at line 31 of file bitq.c.
References bitq_state::bit_pos, bitq_in_state, jtag_command::cmd, bitq_state::cmd, bitq_state::field_idx, scan_command::fields, bitq_interface::in, scan_field::in_value, JTAG_SCAN, LOG_DEBUG_IO, jtag_command::next, scan_field::num_bits, scan_command::num_fields, jtag_command_container::scan, and jtag_command::type.
Referenced by bitq_execute_queue(), and bitq_io().
|
static |
Definition at line 71 of file bitq.c.
References bitq_in_proc(), bitq_interface::in_rdy, and bitq_interface::out.
Referenced by bitq_path_move(), bitq_runtest(), bitq_scan_field(), and bitq_state_move().
|
static |
Definition at line 109 of file bitq.c.
References bitq_io(), cmd, LOG_ERROR, tap_get_state(), tap_set_end_state(), tap_set_state, tap_state_name(), and tap_state_transition().
Referenced by bitq_execute_queue().
|
static |
Definition at line 130 of file bitq.c.
References bitq_io(), bitq_state_move(), tap_get_end_state(), tap_get_state(), and TAP_IDLE.
Referenced by bitq_execute_queue().
|
static |
Definition at line 191 of file bitq.c.
References bitq_scan_field(), bitq_state_move(), cmd, TAP_DRSHIFT, and TAP_IRSHIFT.
Referenced by bitq_execute_queue().
|
static |
Definition at line 147 of file bitq.c.
References bitq_io(), scan_field::in_value, scan_field::num_bits, scan_field::out_value, TAP_DRPAUSE, TAP_DRSHIFT, tap_get_state(), TAP_IRPAUSE, TAP_IRSHIFT, and tap_set_state.
Referenced by bitq_scan().
|
static |
Definition at line 88 of file bitq.c.
References bitq_io(), LOG_ERROR, tap_get_state(), tap_get_tms_path(), tap_get_tms_path_len(), tap_is_state_stable(), and tap_set_state.
Referenced by bitq_execute_queue(), bitq_runtest(), and bitq_scan().
|
static |
Definition at line 16 of file bitq.c.
Referenced by bitq_execute_queue(), and bitq_in_proc().
struct bitq_interface* bitq_interface |