OpenOCD
|
Go to the source code of this file.
Data Structures | |
struct | ls1_sap |
Functions | |
static int | ls1_sap_arch_state (struct target *target) |
static int | ls1_sap_assert_reset (struct target *target) |
static int | ls1_sap_deassert_reset (struct target *target) |
static int | ls1_sap_halt (struct target *target) |
static int | ls1_sap_init_target (struct command_context *cmd_ctx, struct target *target) |
static void | ls1_sap_memory_cmd (struct jtag_tap *tap, uint32_t address, int32_t size, bool rnw) |
static void | ls1_sap_memory_read (struct jtag_tap *tap, uint32_t size, uint8_t *value) |
static void | ls1_sap_memory_write (struct jtag_tap *tap, uint32_t size, const uint8_t *value) |
static int | ls1_sap_poll (struct target *target) |
static int | ls1_sap_read_memory (struct target *target, target_addr_t address, uint32_t size, uint32_t count, uint8_t *buffer) |
static int | ls1_sap_resume (struct target *target, int current, target_addr_t address, int handle_breakpoints, int debug_execution) |
static void | ls1_sap_set_addr_high (struct jtag_tap *tap, uint16_t addr_high) |
static void | ls1_sap_set_instr (struct jtag_tap *tap, uint32_t new_instr) |
static int | ls1_sap_step (struct target *target, int current, target_addr_t address, int handle_breakpoints) |
static int | ls1_sap_target_create (struct target *target, Jim_Interp *interp) |
static int | ls1_sap_write_memory (struct target *target, target_addr_t address, uint32_t size, uint32_t count, const uint8_t *buffer) |
Variables | |
struct target_type | ls1_sap_target |
|
static |
|
static |
Definition at line 72 of file ls1_sap.c.
References ERROR_OK, LOG_DEBUG, target::state, and TARGET_RESET.
|
static |
Definition at line 80 of file ls1_sap.c.
References ERROR_OK, LOG_DEBUG, target::state, and TARGET_RUNNING.
|
static |
|
static |
|
static |
Definition at line 120 of file ls1_sap.c.
References buf_set_u64(), scan_field::check_mask, scan_field::check_value, cmd, scan_field::in_value, jtag_add_dr_scan(), ls1_sap_set_instr(), NULL, scan_field::num_bits, scan_field::out_value, size, and TAP_IDLE.
Referenced by ls1_sap_read_memory().
|
static |
Definition at line 142 of file ls1_sap.c.
References scan_field::check_mask, scan_field::check_value, scan_field::in_value, jtag_add_dr_scan(), ls1_sap_set_instr(), NULL, scan_field::num_bits, scan_field::out_value, size, and TAP_IDLE.
Referenced by ls1_sap_read_memory().
|
static |
Definition at line 157 of file ls1_sap.c.
References scan_field::check_mask, scan_field::check_value, scan_field::in_value, jtag_add_dr_scan(), ls1_sap_set_instr(), NULL, scan_field::num_bits, scan_field::out_value, size, and TAP_IDLE.
|
static |
Definition at line 42 of file ls1_sap.c.
References ERROR_OK, target::state, TARGET_DEBUG_RUNNING, TARGET_HALTED, TARGET_RUNNING, and TARGET_UNKNOWN.
|
static |
Definition at line 172 of file ls1_sap.c.
References buffer, count, ERROR_COMMAND_SYNTAX_ERROR, jtag_execute_queue(), LOG_DEBUG, ls1_sap_memory_cmd(), ls1_sap_memory_read(), ls1_sap_set_addr_high(), size, target::tap, and TARGET_PRIxADDR.
|
static |
|
static |
Definition at line 104 of file ls1_sap.c.
References buf_set_u32(), scan_field::check_mask, scan_field::check_value, scan_field::in_value, jtag_add_dr_scan(), ls1_sap_set_instr(), NULL, scan_field::num_bits, scan_field::out_value, and TAP_IDLE.
Referenced by ls1_sap_read_memory().
|
static |
Definition at line 88 of file ls1_sap.c.
References buf_get_u32(), buf_set_u32(), jtag_tap::cur_instr, DIV_ROUND_UP, scan_field::in_value, jtag_tap::ir_length, jtag_add_ir_scan(), NULL, scan_field::num_bits, scan_field::out_value, and TAP_IDLE.
Referenced by ls1_sap_memory_cmd(), ls1_sap_memory_read(), ls1_sap_memory_write(), and ls1_sap_set_addr_high().
|
static |
|
static |
Definition at line 20 of file ls1_sap.c.
References target::arch_info, ERROR_OK, ls1_sap::tap, and target::tap.
|
static |
struct target_type ls1_sap_target |