OpenOCD
|
Go to the source code of this file.
Macros | |
#define | AVR_JTAG_INS_LEN 4 |
Functions | |
static int | avr_arch_state (struct target *target) |
static int | avr_assert_reset (struct target *target) |
static int | avr_deassert_reset (struct target *target) |
static int | avr_halt (struct target *target) |
static int | avr_init_target (struct command_context *cmd_ctx, struct target *target) |
int | avr_jtag_senddat (struct jtag_tap *tap, uint32_t *dr_in, uint32_t dr_out, int len) |
int | avr_jtag_sendinstr (struct jtag_tap *tap, uint8_t *ir_in, uint8_t ir_out) |
static int | avr_poll (struct target *target) |
static int | avr_resume (struct target *target, int current, target_addr_t address, int handle_breakpoints, int debug_execution) |
static int | avr_step (struct target *target, int current, target_addr_t address, int handle_breakpoints) |
static int | avr_target_create (struct target *target, Jim_Interp *interp) |
int | mcu_execute_queue (void) |
static int | mcu_write_dr (struct jtag_tap *tap, uint8_t *dr_in, uint8_t *dr_out, int dr_len) |
static int | mcu_write_dr_u32 (struct jtag_tap *tap, uint32_t *ir_in, uint32_t ir_out, int dr_len) |
static int | mcu_write_ir (struct jtag_tap *tap, uint8_t *ir_in, uint8_t *ir_out, int ir_len) |
static int | mcu_write_ir_u8 (struct jtag_tap *tap, uint8_t *ir_in, uint8_t ir_out, int ir_len) |
Variables | |
struct target_type | avr_target |
|
static |
|
static |
Definition at line 121 of file avrt.c.
References ERROR_OK, LOG_DEBUG, target::state, and TARGET_RESET.
|
static |
Definition at line 129 of file avrt.c.
References ERROR_OK, LOG_DEBUG, target::state, and TARGET_RUNNING.
|
static |
|
static |
int avr_jtag_senddat | ( | struct jtag_tap * | tap, |
uint32_t * | dr_in, | ||
uint32_t | dr_out, | ||
int | len | ||
) |
Definition at line 137 of file avrt.c.
References mcu_write_dr_u32().
Referenced by avr_jtag_read_jtagid(), avr_jtag_reset(), avr_jtagprg_chiperase(), avr_jtagprg_enterprogmode(), avr_jtagprg_leaveprogmode(), and avr_jtagprg_writeflashpage().
int avr_jtag_sendinstr | ( | struct jtag_tap * | tap, |
uint8_t * | ir_in, | ||
uint8_t | ir_out | ||
) |
Definition at line 143 of file avrt.c.
References AVR_JTAG_INS_LEN, and mcu_write_ir_u8().
Referenced by avr_jtag_read_jtagid(), avr_jtag_reset(), avr_jtagprg_chiperase(), avr_jtagprg_enterprogmode(), avr_jtagprg_leaveprogmode(), and avr_jtagprg_writeflashpage().
|
static |
Definition at line 93 of file avrt.c.
References ERROR_OK, LOG_DEBUG, target::state, TARGET_DEBUG_RUNNING, TARGET_HALTED, and TARGET_RUNNING.
|
static |
|
static |
|
static |
Definition at line 71 of file avrt.c.
References target::arch_info, ERROR_OK, avr_common::jtag_info, mcu_jtag::tap, and target::tap.
int mcu_execute_queue | ( | void | ) |
Definition at line 209 of file avrt.c.
References jtag_execute_queue().
Referenced by avr_jtagprg_chiperase(), avr_jtagprg_writeflashpage(), avrf_info(), and avrf_probe().
|
static |
Definition at line 168 of file avrt.c.
References ERROR_FAIL, ERROR_OK, jtag_add_plain_dr_scan(), LOG_ERROR, and TAP_IDLE.
Referenced by mcu_write_dr_u32().
|
static |
Definition at line 196 of file avrt.c.
References ERROR_FAIL, ERROR_OK, LOG_ERROR, and mcu_write_dr().
Referenced by avr_jtag_senddat().
|
static |
Definition at line 149 of file avrt.c.
References ERROR_FAIL, ERROR_OK, jtag_tap::ir_length, jtag_add_plain_ir_scan(), LOG_ERROR, and TAP_IDLE.
Referenced by mcu_write_ir_u8().
|
static |
Definition at line 183 of file avrt.c.
References ERROR_FAIL, ERROR_OK, LOG_ERROR, and mcu_write_ir().
Referenced by avr_jtag_sendinstr().
struct target_type avr_target |