OpenOCD
jtag_tap Struct Reference
Collaboration diagram for jtag_tap:

Data Fields

unsigned int abs_chain_position
 
bool bypass
 Bypass register selected. More...
 
char * chip
 
uint8_t * cur_instr
 current instruction More...
 
bool disabled_after_reset
 Is this TAP disabled after JTAG reset? More...
 
char * dotted_name
 
bool enabled
 Is this TAP currently enabled? More...
 
struct jtag_tap_event_actionevent_action
 
uint8_t * expected
 Capture-IR expected value. More...
 
uint32_t * expected_ids
 Array of expected identification codes. More...
 
uint8_t expected_ids_cnt
 Number of expected identification codes. More...
 
uint8_t * expected_mask
 Capture-IR expected mask. More...
 
bool has_idcode
 not all devices have idcode, we'll discover this during chain examination More...
 
uint32_t idcode
 device identification code More...
 
bool ignore_bypass
 Flag saying whether to ignore the bypass bit in the code. More...
 
bool ignore_version
 Flag saying whether to ignore version field in expected_ids[]. More...
 
uint64_t ir_bypass_value
 Bypass instruction value. More...
 
uint32_t ir_capture_mask
 
uint32_t ir_capture_value
 
unsigned int ir_length
 size of instruction register More...
 
struct jtag_tapnext_tap
 
void * priv
 
char * tapname
 

Detailed Description

Definition at line 101 of file jtag.h.

Field Documentation

◆ abs_chain_position

unsigned int jtag_tap::abs_chain_position

◆ bypass

bool jtag_tap::bypass

Bypass register selected.

Definition at line 134 of file jtag.h.

Referenced by COMMAND_HANDLER(), jtag_reset_callback(), and jtag_tap_init().

◆ chip

◆ cur_instr

◆ disabled_after_reset

bool jtag_tap::disabled_after_reset

Is this TAP disabled after JTAG reset?

Definition at line 107 of file jtag.h.

Referenced by COMMAND_HELPER(), and jtag_reset_callback().

◆ dotted_name

◆ enabled

◆ event_action

struct jtag_tap_event_action* jtag_tap::event_action

◆ expected

◆ expected_ids

uint32_t* jtag_tap::expected_ids

Array of expected identification codes.

Definition at line 121 of file jtag.h.

Referenced by __COMMAND_HANDLER(), COMMAND_HANDLER(), COMMAND_HELPER(), hl_interface_init_target(), jtag_examine_chain_match_tap(), and jtag_tap_free().

◆ expected_ids_cnt

uint8_t jtag_tap::expected_ids_cnt

Number of expected identification codes.

Definition at line 123 of file jtag.h.

Referenced by COMMAND_HANDLER(), COMMAND_HELPER(), hl_interface_init_target(), and jtag_examine_chain_match_tap().

◆ expected_mask

uint8_t* jtag_tap::expected_mask

Capture-IR expected mask.

Definition at line 114 of file jtag.h.

Referenced by COMMAND_HANDLER(), jtag_add_ir_scan(), jtag_tap_free(), and jtag_tap_init().

◆ has_idcode

bool jtag_tap::has_idcode

not all devices have idcode, we'll discover this during chain examination

Definition at line 118 of file jtag.h.

Referenced by dsp563xx_examine(), hl_interface_init_target(), jtag_examine_chain(), jtag_examine_chain_match_tap(), lattice_check_device_family(), and lattice_load_command().

◆ idcode

◆ ignore_bypass

bool jtag_tap::ignore_bypass

Flag saying whether to ignore the bypass bit in the code.

Definition at line 129 of file jtag.h.

Referenced by COMMAND_HELPER(), and jtag_examine_chain().

◆ ignore_version

bool jtag_tap::ignore_version

Flag saying whether to ignore version field in expected_ids[].

Definition at line 126 of file jtag.h.

Referenced by COMMAND_HANDLER(), COMMAND_HELPER(), and jtag_examine_chain_match_tap().

◆ ir_bypass_value

uint64_t jtag_tap::ir_bypass_value

Bypass instruction value.

Definition at line 137 of file jtag.h.

Referenced by COMMAND_HELPER().

◆ ir_capture_mask

uint32_t jtag_tap::ir_capture_mask

◆ ir_capture_value

uint32_t jtag_tap::ir_capture_value

Definition at line 111 of file jtag.h.

Referenced by COMMAND_HELPER(), jtag_examine_chain(), jtag_tap_init(), and jtag_validate_ircapture().

◆ ir_length

◆ next_tap

◆ priv

void* jtag_tap::priv

Definition at line 143 of file jtag.h.

Referenced by hl_interface_init_target(), and target_to_adapter().

◆ tapname


The documentation for this struct was generated from the following file: