OpenOCD
|
This represents an ARM Debug Interface (v5) Access Port (AP). More...
Data Fields | |
uint64_t | ap_num |
ADIv5: Number of this AP (0~255) ADIv6: Base address of this AP (4k aligned) TODO: to be more coherent, it should be renamed apsel. More... | |
uint32_t | cfg_reg |
bool | config_ap_never_release |
uint32_t | csw_default |
Default value for (MEM-AP) AP_REG_CSW register. More... | |
uint32_t | csw_size_probed_mask |
Probed CSW.Size data types for the MEM-AP. More... | |
uint32_t | csw_size_supported_mask |
Save the supported CSW.Size data types for the MEM-AP. More... | |
uint32_t | csw_value |
Cache for (MEM-AP) AP_REG_CSW register value. More... | |
struct adiv5_dap * | dap |
DAP this AP belongs to. More... | |
uint32_t | memaccess_tck |
Configures how many extra tck clocks are added after starting a MEM-AP access before we try to read its status (and/or result). More... | |
bool | packed_transfers_probed |
bool | packed_transfers_supported |
unsigned int | refcount |
uint32_t | tar_autoincr_block |
bool | tar_valid |
target_addr_t | tar_value |
Cache for (MEM-AP) AP_REG_TAR register value This is written to configure the address being read or written "-1" indicates no cached value. More... | |
bool | unaligned_access_bad |
This represents an ARM Debug Interface (v5) Access Port (AP).
Most common is a MEM-AP, for memory access.
Definition at line 250 of file arm_adi_v5.h.
uint64_t adiv5_ap::ap_num |
ADIv5: Number of this AP (0~255) ADIv6: Base address of this AP (4k aligned) TODO: to be more coherent, it should be renamed apsel.
Definition at line 261 of file arm_adi_v5.h.
Referenced by _dap_get_ap(), COMMAND_HANDLER(), cortex_a_examine_first(), dap_find_get_ap(), dap_get_ap(), dap_get_config_ap(), dap_info_ap_header(), dap_info_mem_ap_header(), dap_instance_init(), dap_lookup_cs_component(), dap_lookup_cs_component_cs_component(), dap_put_ap(), dap_queue_ap_read(), dap_queue_ap_write(), dmem_get_ap_reg_offset(), dmem_is_emulated_ap(), jtag_ap_q_bankselect(), mem_ap_setup_transfer_verify_size_packing(), rshim_ap_q_read(), rtp_rom_loop(), stlink_dap_ap_read(), stlink_dap_ap_write(), stlink_dap_op_queue_ap_write(), stlink_usb_count_misc_rw_queue(), stlink_usb_misc_rw_segment(), stm32l4_probe(), stm32l4_read_idcode(), swd_queue_ap_bankselect(), vdebug_dap_bankselect(), and xtensa_dm_examine().
uint32_t adiv5_ap::cfg_reg |
Definition at line 322 of file arm_adi_v5.h.
Referenced by COMMAND_HANDLER(), dap_get_debugbase(), dap_instance_init(), dap_put_ap(), is_64bit_ap(), and mem_ap_init().
bool adiv5_ap::config_ap_never_release |
Definition at line 328 of file arm_adi_v5.h.
Referenced by dap_get_config_ap(), dap_instance_init(), and is_ap_in_use().
uint32_t adiv5_ap::csw_default |
Default value for (MEM-AP) AP_REG_CSW register.
Definition at line 266 of file arm_adi_v5.h.
Referenced by COMMAND_HANDLER(), dap_instance_init(), dap_put_ap(), mem_ap_setup_csw(), stlink_dap_op_queue_ap_read(), and stlink_dap_op_queue_ap_write().
uint32_t adiv5_ap::csw_size_probed_mask |
Probed CSW.Size data types for the MEM-AP.
Each bit corresponds to a data type. 0b1 = Data size has been probed. 0b0 = Not yet probed. Bits assigned to sizes same way as above.
Definition at line 293 of file arm_adi_v5.h.
Referenced by mem_ap_init(), and mem_ap_setup_transfer_verify_size_packing().
uint32_t adiv5_ap::csw_size_supported_mask |
Save the supported CSW.Size data types for the MEM-AP.
Each bit corresponds to a data type. 0b1 = Supported data size. 0b0 = Not supported. Bit 0 = Byte (8-bits) Bit 1 = Halfword (16-bits) Bit 2 = Word (32-bits) - always supported by spec. Bit 3 = Doubleword (64-bits) Bit 4 = 128-bits Bit 5 = 256-bits
Definition at line 286 of file arm_adi_v5.h.
Referenced by mem_ap_init(), and mem_ap_setup_transfer_verify_size_packing().
uint32_t adiv5_ap::csw_value |
Cache for (MEM-AP) AP_REG_CSW register value.
This is written to configure an access mode, such as autoincrementing AP_REG_TAR during word access. "-1" indicates no cached value.
Definition at line 273 of file arm_adi_v5.h.
Referenced by COMMAND_HANDLER(), dap_invalidate_cache(), mem_ap_get_tar_increment(), mem_ap_init(), mem_ap_read_u32(), mem_ap_setup_csw(), mem_ap_write_u32(), stlink_dap_op_queue_ap_read(), and stlink_dap_op_queue_ap_write().
struct adiv5_dap* adiv5_ap::dap |
DAP this AP belongs to.
Definition at line 254 of file arm_adi_v5.h.
Referenced by _dap_get_ap(), aarch64_examine_first(), ap_poll_register(), ap_read_register(), ap_write_register(), COMMAND_HANDLER(), cortex_a_init_debug_access(), cortex_m_assert_reset(), cortex_m_deassert_reset(), cortex_m_fast_read_all_regs(), dap_find_get_ap(), dap_get_ap(), dap_get_config_ap(), dap_get_debugbase(), dap_instance_init(), dap_is_multidrop(), dap_queue_ap_read(), dap_queue_ap_write(), dmem_ap_q_read(), dmem_ap_q_write(), handle_reset_halt(), jtag_ap_q_bankselect(), jtag_ap_q_read(), jtag_ap_q_write(), kinetis_ke_mdm_poll_register(), kinetis_ke_mdm_read_register(), kinetis_ke_mdm_write_register(), kinetis_mdm_poll_register(), kinetis_mdm_read_register(), kinetis_mdm_write_register(), mem_ap_init(), mem_ap_read(), mem_ap_read_atomic_u32(), mem_ap_read_tar(), mem_ap_read_u32(), mem_ap_setup_csw(), mem_ap_setup_tar(), mem_ap_setup_transfer_verify_size_packing(), mem_ap_write(), mem_ap_write_atomic_u32(), mem_ap_write_u32(), rshim_ap_q_read(), rshim_ap_q_write(), rtp_ap(), rtp_read_cs_regs(), rtp_rom_loop(), stlink_dap_ap_read(), stlink_dap_ap_write(), stlink_dap_op_queue_ap_read(), stlink_dap_op_queue_ap_write(), swd_queue_ap_bankselect(), swd_queue_ap_read(), swd_queue_ap_write(), and vdebug_dap_bankselect().
uint32_t adiv5_ap::memaccess_tck |
Configures how many extra tck clocks are added after starting a MEM-AP access before we try to read its status (and/or result).
Definition at line 306 of file arm_adi_v5.h.
Referenced by aarch64_examine_first(), COMMAND_HANDLER(), cortex_a_examine_first(), cortex_m_examine(), dap_instance_init(), dap_put_ap(), jtag_ap_q_read(), jtag_ap_q_write(), swd_queue_ap_read(), swd_queue_ap_write(), and xtensa_dm_examine().
bool adiv5_ap::packed_transfers_probed |
Definition at line 313 of file arm_adi_v5.h.
Referenced by mem_ap_init(), and mem_ap_setup_transfer_verify_size_packing().
bool adiv5_ap::packed_transfers_supported |
Definition at line 312 of file arm_adi_v5.h.
Referenced by mem_ap_init(), and mem_ap_setup_transfer_verify_size_packing().
unsigned int adiv5_ap::refcount |
Definition at line 325 of file arm_adi_v5.h.
Referenced by _dap_get_ap(), dap_cleanup_all(), dap_get_ap(), dap_get_config_ap(), dap_instance_init(), dap_put_ap(), dap_queue_ap_read(), dap_queue_ap_write(), and is_ap_in_use().
uint32_t adiv5_ap::tar_autoincr_block |
Definition at line 309 of file arm_adi_v5.h.
Referenced by cortex_m_examine(), dap_instance_init(), dap_put_ap(), mem_ap_read(), mem_ap_setup_transfer_verify_size_packing(), mem_ap_update_tar_cache(), and xtensa_dm_examine().
bool adiv5_ap::tar_valid |
Definition at line 319 of file arm_adi_v5.h.
Referenced by COMMAND_HANDLER(), dap_invalidate_cache(), mem_ap_init(), mem_ap_read_tar(), mem_ap_setup_tar(), mem_ap_update_tar_cache(), stlink_dap_op_queue_ap_read(), and stlink_dap_op_queue_ap_write().
target_addr_t adiv5_ap::tar_value |
Cache for (MEM-AP) AP_REG_TAR register value This is written to configure the address being read or written "-1" indicates no cached value.
Definition at line 300 of file arm_adi_v5.h.
Referenced by COMMAND_HANDLER(), mem_ap_read_tar(), mem_ap_setup_tar(), mem_ap_update_tar_cache(), stlink_dap_op_queue_ap_read(), and stlink_dap_op_queue_ap_write().
bool adiv5_ap::unaligned_access_bad |
Definition at line 316 of file arm_adi_v5.h.
Referenced by mem_ap_init(), mem_ap_read(), and mem_ap_write().