adiv5_dap is only used within OpenOCD.
 
Symbols
loading...
Files
loading...
SummarySyntaxRelatedReferences

Fields

Field
Declared as
Description
const struct dap_ops *
struct list_head
struct list_head
size_t
struct jtag_tap *
uint32_t
struct adiv5_ap[DP_APSEL_MAX + 1]
uint64_t
uint64_t
Cache for DP SELECT and SELECT1 (ADIv6) register.
bool
Validity of DP SELECT cache. false will force register rewrite.
bool
bool
Partial DPBANKSEL validity for SWD only. ADIv6 line reset sets DP SELECT DPBANKSEL to zero, ADIv5 does not. We can rely on it for the banked DP register 0 also on ADIv5 as ADIv5 has no mapping for DP reg 0 - it is always DPIDR. It is important to avoid setting DP SELECT in connection reset state before reading DPIDR.
uint8_t
uint32_t *
Holds the pointer to the destination word for the last queued read, for use with posted AP read sequence optimization.
bool
bool
bool
STLINK adapter need to know if last AP operation was read or write, and in case of write has to flush it with a dummy read from DP_RDBUFF.
bool
Signals that an attempt to reestablish communication afresh should be performed before the next access.
bool
Flag saying whether to ignore the syspwrupack flag in DAP. Some devices do not set this bit until later in the bringup sequence.
uint32_t
Value to select DP in SWD multidrop mode or DP_TARGETSEL_INVALID.
bool
TPARTNO and TDESIGNER fields of multidrop_targetsel have been configured.
bool
TINSTANCE field of multidrop_targetsel has been configured.
bool
Record if enter in SWD required passing through DORMANT.
unsigned int
Indicates ADI version (5, 6 or 0 for unknown) being used.
unsigned int

References

from examples