11 #ifndef OPENOCD_TARGET_ARM_JTAG_H
12 #define OPENOCD_TARGET_ARM_JTAG_H
28 void *no_verify_capture,
32 uint32_t new_instr,
void *no_verify_capture,
tap_state_t end_state)
59 uint8_t *in = (uint8_t *)arg;
65 uint8_t *in = (uint8_t *)arg;
int arm_jtag_setup_connection(struct arm_jtag *jtag_info)
static int arm_jtag_scann(struct arm_jtag *jtag_info, uint32_t new_scan_chain, tap_state_t end_state)
int arm_jtag_close_connection(struct arm_jtag *jtag_info)
static int arm_jtag_set_instr(struct jtag_tap *tap, uint32_t new_instr, void *no_verify_capture, tap_state_t end_state)
int arm_jtag_scann_inner(struct arm_jtag *jtag_info, uint32_t new_scan_chain, tap_state_t end_state)
int arm_jtag_set_instr_inner(struct jtag_tap *tap, uint32_t new_instr, void *no_verify_capture, tap_state_t end_state)
static void arm_le_to_h_u32(jtag_callback_data_t arg)
static void arm7flip32(jtag_callback_data_t arg)
uint32_t flip_u32(uint32_t value, unsigned int num)
static uint32_t buf_get_u32(const uint8_t *_buffer, unsigned first, unsigned num)
Retrieves num bits from _buffer, starting at the first bit, returning the bits in a 32-bit word.
The JTAG interface can be implemented with a software or hardware fifo.
enum tap_state tap_state_t
Defines JTAG Test Access Port states.
intptr_t jtag_callback_data_t
Defines the type of data passed to the jtag_callback_t interface.
uint8_t * cur_instr
current instruction
int ir_length
size of instruction register
static uint32_t le_to_h_u32(const uint8_t *buf)