OpenOCD
|
Go to the source code of this file.
Data Structures | |
struct | once_reg |
Functions | |
int | dsp563xx_once_execute_dw_ir (struct jtag_tap *tap, int flush, uint32_t opcode, uint32_t operand) |
double word instruction More... | |
int | dsp563xx_once_execute_sw_ir (struct jtag_tap *tap, int flush, uint32_t opcode) |
single word instruction More... | |
int | dsp563xx_once_read_register (struct jtag_tap *tap, int flush, struct once_reg *regs, int len) |
once read registers More... | |
int | dsp563xx_once_reg_read (struct jtag_tap *tap, int flush, uint8_t reg, uint32_t *data) |
once read register More... | |
int | dsp563xx_once_reg_read_ex (struct jtag_tap *tap, int flush, uint8_t reg, uint8_t len, uint32_t *data) |
once read register More... | |
int | dsp563xx_once_reg_write (struct jtag_tap *tap, int flush, uint8_t reg, uint32_t data) |
once write register More... | |
int | dsp563xx_once_request_debug (struct jtag_tap *tap, int reset_state) |
int | dsp563xx_once_target_status (struct jtag_tap *tap) |
#define DSP563XX_ONCE_NOREG 0x01F /* no register selected */ |
Definition at line 50 of file dsp563xx_once.h.
Definition at line 37 of file dsp563xx_once.h.
#define DSP563XX_ONCE_OCR_EX (1<<5) |
Definition at line 17 of file dsp563xx_once.h.
#define DSP563XX_ONCE_OCR_GO (1<<6) |
Definition at line 18 of file dsp563xx_once.h.
#define DSP563XX_ONCE_OCR_RW (1<<7) |
Definition at line 19 of file dsp563xx_once.h.
#define DSP563XX_ONCE_OGDBR 0x009 /* gdb reg */ |
Definition at line 40 of file dsp563xx_once.h.
#define DSP563XX_ONCE_OMBC 0x001 /* memory breakp. reg. */ |
Definition at line 36 of file dsp563xx_once.h.
#define DSP563XX_ONCE_OMLR0 0x005 /* memory limit reg */ |
Definition at line 38 of file dsp563xx_once.h.
#define DSP563XX_ONCE_OMLR1 0x006 /* memory limit reg */ |
Definition at line 39 of file dsp563xx_once.h.
#define DSP563XX_ONCE_OPABDR 0x010 /* pab decode reg */ |
Definition at line 47 of file dsp563xx_once.h.
#define DSP563XX_ONCE_OPABEX 0x011 /* pab exec reg */ |
Definition at line 48 of file dsp563xx_once.h.
Definition at line 49 of file dsp563xx_once.h.
#define DSP563XX_ONCE_OPABFR 0x00F /* pab fetch reg */ |
Definition at line 46 of file dsp563xx_once.h.
#define DSP563XX_ONCE_OPDBR 0x00A /* pdb reg */ |
Definition at line 41 of file dsp563xx_once.h.
#define DSP563XX_ONCE_OPILR 0x00B /* pil reg */ |
Definition at line 42 of file dsp563xx_once.h.
Definition at line 35 of file dsp563xx_once.h.
#define DSP563XX_ONCE_OSCR_BUSY_M (DSP563XX_ONCE_OSCR_OS1) |
Definition at line 32 of file dsp563xx_once.h.
#define DSP563XX_ONCE_OSCR_DEBUG_M (DSP563XX_ONCE_OSCR_OS0|DSP563XX_ONCE_OSCR_OS1) |
Definition at line 33 of file dsp563xx_once.h.
#define DSP563XX_ONCE_OSCR_HIT (1<<5) |
Definition at line 23 of file dsp563xx_once.h.
#define DSP563XX_ONCE_OSCR_IME (1<<1) |
Definition at line 27 of file dsp563xx_once.h.
#define DSP563XX_ONCE_OSCR_MBO (1<<3) |
Definition at line 25 of file dsp563xx_once.h.
#define DSP563XX_ONCE_OSCR_NORMAL_M (0) |
Definition at line 30 of file dsp563xx_once.h.
#define DSP563XX_ONCE_OSCR_OS0 (1<<6) |
Definition at line 22 of file dsp563xx_once.h.
#define DSP563XX_ONCE_OSCR_OS1 (1<<7) |
Definition at line 21 of file dsp563xx_once.h.
#define DSP563XX_ONCE_OSCR_STOPWAIT_M (DSP563XX_ONCE_OSCR_OS0) |
Definition at line 31 of file dsp563xx_once.h.
#define DSP563XX_ONCE_OSCR_SWO (1<<2) |
Definition at line 26 of file dsp563xx_once.h.
#define DSP563XX_ONCE_OSCR_TME (1<<0) |
Definition at line 28 of file dsp563xx_once.h.
#define DSP563XX_ONCE_OSCR_TO (1<<4) |
Definition at line 24 of file dsp563xx_once.h.
#define DSP563XX_ONCE_OTC 0x00D /* trace cnt */ |
Definition at line 44 of file dsp563xx_once.h.
#define DSP563XX_ONCE_PDBGOTO 0x00C /* pdb to go reg */ |
Definition at line 43 of file dsp563xx_once.h.
#define DSP563XX_ONCE_TAGB 0x00E /* tags buffer */ |
Definition at line 45 of file dsp563xx_once.h.
int dsp563xx_once_execute_dw_ir | ( | struct jtag_tap * | tap, |
int | flush, | ||
uint32_t | opcode, | ||
uint32_t | operand | ||
) |
double word instruction
Definition at line 254 of file dsp563xx_once.c.
References dsp563xx_once_ir_exec(), DSP563XX_ONCE_OPDBR, dsp563xx_write_dr_u32(), ERROR_OK, jtag_execute_queue(), and NULL.
Referenced by dsp563xx_debug_init(), dsp563xx_read_memory_core(), dsp563xx_reg_write(), dsp563xx_reg_write_high_io(), and dsp563xx_write_memory_core().
int dsp563xx_once_execute_sw_ir | ( | struct jtag_tap * | tap, |
int | flush, | ||
uint32_t | opcode | ||
) |
single word instruction
Definition at line 238 of file dsp563xx_once.c.
References dsp563xx_once_ir_exec(), DSP563XX_ONCE_OPDBR, dsp563xx_write_dr_u32(), ERROR_OK, jtag_execute_queue(), and NULL.
Referenced by dsp563xx_read_memory_core(), dsp563xx_reg_read(), dsp563xx_reg_read_high_io(), dsp563xx_reg_write(), dsp563xx_reg_write_high_io(), and dsp563xx_write_memory_core().
int dsp563xx_once_read_register | ( | struct jtag_tap * | tap, |
int | flush, | ||
struct once_reg * | regs, | ||
int | len | ||
) |
once read registers
Definition at line 171 of file dsp563xx_once.c.
References addr, dsp563xx_once_reg_read_ex(), ERROR_OK, jtag_execute_queue(), and regs.
Referenced by dsp563xx_debug_once_init().
int dsp563xx_once_reg_read | ( | struct jtag_tap * | tap, |
int | flush, | ||
uint8_t | reg, | ||
uint32_t * | data | ||
) |
once read register
Definition at line 205 of file dsp563xx_once.c.
References dsp563xx_once_ir_exec(), dsp563xx_write_dr_u32(), ERROR_OK, and jtag_execute_queue().
Referenced by dsp563xx_poll(), dsp563xx_read_memory_core(), dsp563xx_reg_read(), dsp563xx_reg_read_high_io(), and dsp563xx_step_ex().
int dsp563xx_once_reg_read_ex | ( | struct jtag_tap * | tap, |
int | flush, | ||
uint8_t | reg, | ||
uint8_t | len, | ||
uint32_t * | data | ||
) |
once read register
once read register
Definition at line 188 of file dsp563xx_once.c.
References dsp563xx_once_ir_exec(), dsp563xx_write_dr_u32(), ERROR_OK, and jtag_execute_queue().
Referenced by dsp563xx_once_read_register().
int dsp563xx_once_reg_write | ( | struct jtag_tap * | tap, |
int | flush, | ||
uint8_t | reg, | ||
uint32_t | data | ||
) |
once write register
Definition at line 222 of file dsp563xx_once.c.
References dsp563xx_once_ir_exec(), dsp563xx_write_dr_u32(), ERROR_OK, jtag_execute_queue(), and NULL.
Referenced by dsp563xx_add_custom_watchpoint(), dsp563xx_examine(), dsp563xx_poll(), dsp563xx_remove_custom_watchpoint(), dsp563xx_resume(), and dsp563xx_step_ex().
int dsp563xx_once_request_debug | ( | struct jtag_tap * | tap, |
int | reset_state | ||
) |
Definition at line 113 of file dsp563xx_once.c.
References dsp563xx_jtag_sendinstr(), ERROR_OK, ERROR_TARGET_FAILURE, jtag_execute_queue(), JTAG_INSTR_DEBUG_REQUEST, JTAG_INSTR_ENABLE_ONCE, JTAG_STATUS_DEBUG, and LOG_DEBUG.
Referenced by dsp563xx_jtag_debug_request().
int dsp563xx_once_target_status | ( | struct jtag_tap * | tap | ) |
Definition at line 90 of file dsp563xx_once.c.
References dsp563xx_jtag_sendinstr(), ERROR_OK, jtag_execute_queue(), JTAG_INSTR_ENABLE_ONCE, JTAG_STATUS_DEBUG, JTAG_STATUS_STATIC_MASK, JTAG_STATUS_STATIC_VALUE, TARGET_HALTED, TARGET_RUNNING, and TARGET_UNKNOWN.
Referenced by dsp563xx_poll().