OpenOCD
|
Go to the source code of this file.
Macros | |
#define | LCOUNT 0x19 |
#define | LDELAY 0x1A |
#define | LSDR 0x1B |
#define | XCOMMENT 0x16 |
#define | XCOMPLETE 0x00 |
#define | XENDDR 0x14 |
#define | XENDIR 0x13 |
#define | XREPEAT 0x07 |
#define | XRUNTEST 0x04 |
#define | XSDR 0x03 |
#define | XSDRB 0x0C |
#define | XSDRC 0x0D |
#define | XSDRE 0x0E |
#define | XSDRINC 0x0B |
#define | XSDRSIZE 0x08 |
#define | XSDRTDO 0x09 |
#define | XSDRTDOB 0x0F |
#define | XSDRTDOC 0x10 |
#define | XSDRTDOE 0x11 |
#define | XSETSDRMASKS 0x0A |
#define | XSIR 0x02 |
#define | XSIR2 0x15 |
#define | XSTATE 0x12 |
#define | XSTATE_MAX_PATH 12 |
#define | XSV_DRCAPTURE 0x03 |
#define | XSV_DREXIT1 0x05 |
#define | XSV_DREXIT2 0x07 |
#define | XSV_DRPAUSE 0x06 |
#define | XSV_DRSELECT 0x02 |
#define | XSV_DRSHIFT 0x04 |
#define | XSV_DRUPDATE 0x08 |
#define | XSV_IDLE 0x01 |
#define | XSV_IRCAPTURE 0x0A |
#define | XSV_IREXIT1 0x0C |
#define | XSV_IREXIT2 0x0E |
#define | XSV_IRPAUSE 0x0D |
#define | XSV_IRSELECT 0x09 |
#define | XSV_IRSHIFT 0x0B |
#define | XSV_IRUPDATE 0x0F |
#define | XSV_RESET 0x00 |
#define | XTDOMASK 0x01 |
#define | XTRST 0x1C |
#define | XTRST_ABSENT 3 |
#define | XTRST_OFF 1 |
#define | XTRST_ON 0 |
#define | XTRST_Z 2 |
#define | XWAIT 0x17 |
#define | XWAITSTATE 0x18 |
Functions | |
COMMAND_HANDLER (handle_xsvf_command) | |
static int | xsvf_read_buffer (int num_bits, int fd, uint8_t *buf) |
int | xsvf_register_commands (struct command_context *cmd_ctx) |
static tap_state_t | xsvf_to_tap (int xsvf_state) |
Variables | |
static const struct command_registration | xsvf_command_handlers [] |
static int | xsvf_fd |
COMMAND_HANDLER | ( | handle_xsvf_command | ) |
Definition at line 189 of file xsvf.c.
References ARRAY_SIZE, be_to_h_u16(), be_to_h_u32(), clock_count, CMD, CMD_ARGC, CMD_ARGV, cmd_queue_cur_state, command_print(), DIV_ROUND_UP, ERROR_COMMAND_SYNTAX_ERROR, ERROR_FAIL, ERROR_OK, scan_field::in_value, jtag_add_clocks(), jtag_add_dr_scan(), jtag_add_ir_scan(), jtag_add_pathmove(), jtag_add_plain_dr_scan(), jtag_add_plain_ir_scan(), jtag_add_reset(), jtag_add_runtest(), jtag_add_sleep(), jtag_add_tlr(), jtag_check_value_mask(), jtag_execute_queue(), jtag_tap_by_string(), LCOUNT, LDELAY, LOG_DEBUG, LOG_ERROR, LOG_USER, LOG_WARNING, LSDR, NULL, scan_field::num_bits, offset, scan_field::out_value, state, svf_add_statemove(), svf_tap_state_is_stable(), TAP_DREXIT1, TAP_DREXIT2, TAP_DRPAUSE, TAP_DRSHIFT, TAP_DRUPDATE, TAP_IDLE, TAP_INVALID, TAP_IRPAUSE, TAP_RESET, tap_state_name(), XCOMMENT, XCOMPLETE, XENDDR, XENDIR, XREPEAT, XRUNTEST, XSDR, XSDRB, XSDRC, XSDRE, XSDRINC, XSDRSIZE, XSDRTDO, XSDRTDOB, XSDRTDOC, XSDRTDOE, XSETSDRMASKS, XSIR, XSIR2, XSTATE, XSTATE_MAX_PATH, xsvf_fd, xsvf_read_buffer(), xsvf_to_tap(), XTDOMASK, XTRST, XTRST_ABSENT, XTRST_OFF, XTRST_ON, XTRST_Z, XWAIT, and XWAITSTATE.
|
static |
Definition at line 176 of file xsvf.c.
References ERROR_OK, and ERROR_XSVF_EOF.
Referenced by COMMAND_HANDLER().
int xsvf_register_commands | ( | struct command_context * | cmd_ctx | ) |
Definition at line 1042 of file xsvf.c.
References NULL, register_commands(), and xsvf_command_handlers.
Referenced by jtag_select().
|
static |
Definition at line 115 of file xsvf.c.
References LOG_ERROR, TAP_DRCAPTURE, TAP_DREXIT1, TAP_DREXIT2, TAP_DRPAUSE, TAP_DRSELECT, TAP_DRSHIFT, TAP_DRUPDATE, TAP_IDLE, TAP_IRCAPTURE, TAP_IREXIT1, TAP_IREXIT2, TAP_IRPAUSE, TAP_IRSELECT, TAP_IRSHIFT, TAP_IRUPDATE, TAP_RESET, XSV_DRCAPTURE, XSV_DREXIT1, XSV_DREXIT2, XSV_DRPAUSE, XSV_DRSELECT, XSV_DRSHIFT, XSV_DRUPDATE, XSV_IDLE, XSV_IRCAPTURE, XSV_IREXIT1, XSV_IREXIT2, XSV_IRPAUSE, XSV_IRSELECT, XSV_IRSHIFT, XSV_IRUPDATE, and XSV_RESET.
Referenced by COMMAND_HANDLER().
|
static |
Definition at line 189 of file xsvf.c.
Referenced by xsvf_register_commands().
|
static |
Definition at line 112 of file xsvf.c.
Referenced by COMMAND_HANDLER().