OpenOCD
|
Go to the source code of this file.
Data Structures | |
struct | esp_xtensa_apptrace_info |
Functions | |
uint32_t | esp_xtensa_apptrace_block_max_size_get (struct target *target) |
int | esp_xtensa_apptrace_ctrl_reg_read (struct target *target, uint32_t *block_id, uint32_t *len, bool *conn) |
int | esp_xtensa_apptrace_ctrl_reg_write (struct target *target, uint32_t block_id, uint32_t len, bool conn, bool data) |
int | esp_xtensa_apptrace_data_len_read (struct target *target, uint32_t *block_id, uint32_t *len) |
int | esp_xtensa_apptrace_data_read (struct target *target, uint32_t size, uint8_t *buffer, uint32_t block_id, bool ack) |
int | esp_xtensa_apptrace_status_reg_read (struct target *target, uint32_t *stat) |
int | esp_xtensa_apptrace_status_reg_write (struct target *target, uint32_t stat) |
uint32_t | esp_xtensa_apptrace_usr_block_max_size_get (struct target *target) |
int | esp_xtensa_apptrace_usr_block_write (struct target *target, uint32_t block_id, const uint8_t *data, uint32_t size) |
Variables | |
struct esp32_apptrace_hw | esp_xtensa_apptrace_hw |
uint32_t esp_xtensa_apptrace_block_max_size_get | ( | struct target * | target | ) |
Definition at line 64 of file esp_xtensa_apptrace.c.
References xtensa_trace_config::addr, BIT, xtensa_trace_config::ctrl, xtensa::dbg_mod, ERROR_OK, LOG_DEBUG, LOG_ERROR, xtensa_trace_config::memaddr_end, xtensa_trace_config::memaddr_start, target_to_xtensa(), xtensa_dm_trace_config_read(), and xtensa_dm_trace_status_read().
Referenced by esp_xtensa_apptrace_usr_block_max_size_get().
int esp_xtensa_apptrace_ctrl_reg_read | ( | struct target * | target, |
uint32_t * | block_id, | ||
uint32_t * | len, | ||
bool * | conn | ||
) |
Definition at line 217 of file esp_xtensa_apptrace.c.
References conn, xtensa::dbg_mod, ERROR_OK, target_buffer_get_u32(), target_to_xtensa(), XTENSA_APPTRACE_BLOCK_ID_GET, XTENSA_APPTRACE_BLOCK_LEN_GET, XTENSA_APPTRACE_CTRL_REG, XTENSA_APPTRACE_HOST_CONNECT, xtensa_dm_queue_execute(), xtensa_dm_queue_tdi_idle(), and xtensa_queue_dbg_reg_read().
Referenced by esp_xtensa_apptrace_data_len_read().
int esp_xtensa_apptrace_ctrl_reg_write | ( | struct target * | target, |
uint32_t | block_id, | ||
uint32_t | len, | ||
bool | conn, | ||
bool | data | ||
) |
Definition at line 195 of file esp_xtensa_apptrace.c.
References conn, xtensa::dbg_mod, ERROR_OK, LOG_ERROR, target_to_xtensa(), XTENSA_APPTRACE_BLOCK_ID, XTENSA_APPTRACE_BLOCK_LEN, XTENSA_APPTRACE_CTRL_REG, XTENSA_APPTRACE_HOST_CONNECT, XTENSA_APPTRACE_HOST_DATA, xtensa_dm_queue_execute(), xtensa_dm_queue_tdi_idle(), and xtensa_queue_dbg_reg_write().
int esp_xtensa_apptrace_data_len_read | ( | struct target * | target, |
uint32_t * | block_id, | ||
uint32_t * | len | ||
) |
Definition at line 97 of file esp_xtensa_apptrace.c.
References esp_xtensa_apptrace_ctrl_reg_read(), and NULL.
int esp_xtensa_apptrace_data_read | ( | struct target * | target, |
uint32_t | size, | ||
uint8_t * | buffer, | ||
uint32_t | block_id, | ||
bool | ack | ||
) |
Definition at line 157 of file esp_xtensa_apptrace.c.
References ALIGN_DOWN, buffer, xtensa::core_config, xtensa::dbg_mod, ERROR_OK, esp_xtensa_apptrace_data_normal_read(), esp_xtensa_apptrace_data_reverse_read(), IS_ALIGNED, LOG_DEBUG, LOG_ERROR, xtensa_tracing_config::reversed_mem_access, size, target_name(), target_to_xtensa(), xtensa_config::trace, XTENSA_APPTRACE_BLOCK_ID, XTENSA_APPTRACE_BLOCK_LEN, XTENSA_APPTRACE_CTRL_REG, XTENSA_APPTRACE_HOST_CONNECT, xtensa_dm_queue_execute(), xtensa_dm_queue_tdi_idle(), and xtensa_queue_dbg_reg_write().
int esp_xtensa_apptrace_status_reg_read | ( | struct target * | target, |
uint32_t * | stat | ||
) |
Definition at line 240 of file esp_xtensa_apptrace.c.
References buf_get_u32(), xtensa::dbg_mod, ERROR_OK, LOG_ERROR, target_to_xtensa(), XTENSA_APPTRACE_STAT_REG, xtensa_dm_queue_execute(), xtensa_dm_queue_tdi_idle(), and xtensa_queue_dbg_reg_read().
Referenced by esp_xtensa_dbgstubs_addr_check().
int esp_xtensa_apptrace_status_reg_write | ( | struct target * | target, |
uint32_t | stat | ||
) |
Definition at line 258 of file esp_xtensa_apptrace.c.
References xtensa::dbg_mod, ERROR_OK, LOG_ERROR, target_to_xtensa(), XTENSA_APPTRACE_STAT_REG, xtensa_dm_queue_execute(), xtensa_dm_queue_tdi_idle(), and xtensa_queue_dbg_reg_write().
Referenced by esp_xtensa_dbgstubs_addr_check(), and esp_xtensa_dbgstubs_restore().
uint32_t esp_xtensa_apptrace_usr_block_max_size_get | ( | struct target * | target | ) |
Definition at line 92 of file esp_xtensa_apptrace.c.
References esp_xtensa_apptrace_block_max_size_get().
int esp_xtensa_apptrace_usr_block_write | ( | struct target * | target, |
uint32_t | block_id, | ||
const uint8_t * | data, | ||
uint32_t | size | ||
) |
Definition at line 104 of file esp_xtensa_apptrace.c.
References esp_apptrace_usr_block_write(), esp_xtensa_apptrace_hw, and size.
|
extern |
Definition at line 42 of file esp_xtensa_apptrace.c.
Referenced by esp_xtensa_apptrace_usr_block_write(), and esp_xtensa_init_arch_info().