OpenOCD
armv7m_common::debug_ap
is only used within OpenOCD.
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
CodeScope
Development Tools
OpenOCD
armv7m_common::debug_ap
armv7m_common::debug_ap field
Syntax
from
armv7m.h:230
struct
adiv5_ap
*
debug_ap
;
References
Location
Referrer
Text
armv7m.h:230
struct
adiv5_ap
*
debug_ap
;
arm_tpiu_swo.c:658
handle_arm_tpiu_swo_enable()
obj
->
spot
.
ap_num
=
cm
->
armv7m
.
debug_ap
->
ap_num
;
arm_tpiu_swo.c:1065
handle_tpiu_deprecated_config_command()
ap_num
=
cm
->
armv7m
.
debug_ap
->
ap_num
;
cortex_m.c:167
cortex_m_read_dhcsr_atomic_sticky()
int
retval
=
mem_ap_read_atomic_u32
(
armv7m
->
debug_ap
,
DCB_DHCSR
,
cortex_m.c:188
cortex_m_load_core_reg_u32()
retval
=
mem_ap_read_u32
(
armv7m
->
debug_ap
,
DCB_DCRDR
,
&
dcrdr
)
;
cortex_m.c:193
cortex_m_load_core_reg_u32()
retval
=
mem_ap_write_u32
(
armv7m
->
debug_ap
,
DCB_DCRSR
,
regsel
)
;
cortex_m.c:200
cortex_m_load_core_reg_u32()
retval
=
mem_ap_read_u32
(
armv7m
->
debug_ap
,
DCB_DHCSR
,
cortex_m.c:204
cortex_m_load_core_reg_u32()
retval
=
mem_ap_read_atomic_u32
(
armv7m
->
debug_ap
,
DCB_DCRDR
,
cortex_m.c:225
cortex_m_load_core_reg_u32()
retval
=
mem_ap_write_atomic_u32
(
armv7m
->
debug_ap
,
DCB_DCRDR
,
dcrdr
)
;
cortex_m.c:262
cortex_m_queue_reg_read()
retval
=
mem_ap_write_u32
(
armv7m
->
debug_ap
,
DCB_DCRSR
,
regsel
)
;
cortex_m.c:266
cortex_m_queue_reg_read()
retval
=
mem_ap_read_u32
(
armv7m
->
debug_ap
,
DCB_DHCSR
,
dhcsr
)
;
cortex_m.c:270
cortex_m_queue_reg_read()
return
mem_ap_read_u32
(
armv7m
->
debug_ap
,
DCB_DCRDR
,
reg_value
)
;
cortex_m.c:284
cortex_m_fast_read_all_regs()
retval
=
mem_ap_read_u32
(
armv7m
->
debug_ap
,
DCB_DCRDR
,
&
dcrdr
)
;
cortex_m.c:332
cortex_m_fast_read_all_regs()
retval
=
dap_run
(
armv7m
->
debug_ap
->
dap
)
;
cortex_m.c:339
cortex_m_fast_read_all_regs()
retval
=
mem_ap_write_atomic_u32
(
armv7m
->
debug_ap
,
DCB_DCRDR
,
dcrdr
)
;
cortex_m.c:410
cortex_m_store_core_reg_u32()
retval
=
mem_ap_read_u32
(
armv7m
->
debug_ap
,
DCB_DCRDR
,
&
dcrdr
)
;
cortex_m.c:415
cortex_m_store_core_reg_u32()
retval
=
mem_ap_write_u32
(
armv7m
->
debug_ap
,
DCB_DCRDR
,
value
)
;
cortex_m.c:419
cortex_m_store_core_reg_u32()
retval
=
mem_ap_write_u32
(
armv7m
->
debug_ap
,
DCB_DCRSR
,
regsel
|
DCRSR_WNR
)
;
cortex_m.c:442
cortex_m_store_core_reg_u32()
retval
=
mem_ap_write_atomic_u32
(
armv7m
->
debug_ap
,
DCB_DCRDR
,
dcrdr
)
;
cortex_m.c:459
cortex_m_write_debug_halt_mask()
return
mem_ap_write_atomic_u32
(
armv7m
->
debug_ap
,
DCB_DHCSR
,
cortex_m
->
dcb_dhcsr
)
;
cortex_m.c:549
cortex_m_clear_halt()
retval
=
mem_ap_read_atomic_u32
(
armv7m
->
debug_ap
,
NVIC_DFSR
,
&
cortex_m
->
nvic_dfsr
)
;
cortex_m.c:554
cortex_m_clear_halt()
retval
=
mem_ap_write_atomic_u32
(
armv7m
->
debug_ap
,
NVIC_DFSR
,
cortex_m
->
nvic_dfsr
)
;
cortex_m.c:616
cortex_m_endreset_event()
retval
=
mem_ap_read_atomic_u32
(
armv7m
->
debug_ap
,
DCB_DEMCR
,
&
dcb_demcr
)
;
cortex_m.c:622
cortex_m_endreset_event()
retval
=
mem_ap_write_u32
(
armv7m
->
debug_ap
,
DCB_DCRDR
,
0
)
;
cortex_m.c:647
cortex_m_endreset_event()
retval
=
mem_ap_write_u32
(
armv7m
->
debug_ap
,
DCB_DEMCR
,
TRCENA
|
armv7m
->
demcr
)
;
cortex_m.c:738
cortex_m_examine_exception_reason()
retval
=
mem_ap_read_u32
(
armv7m
->
debug_ap
,
NVIC_SHCSR
,
&
shcsr
)
;
cortex_m.c:745
cortex_m_examine_exception_reason()
retval
=
mem_ap_read_atomic_u32
(
armv7m
->
debug_ap
,
NVIC_HFSR
,
&
except_sr
)
;
cortex_m.c:749
cortex_m_examine_exception_reason()
retval
=
mem_ap_read_u32
(
armv7m
->
debug_ap
,
NVIC_CFSR
,
&
cfsr
)
;
cortex_m.c:755
cortex_m_examine_exception_reason()
retval
=
mem_ap_read_u32
(
armv7m
->
debug_ap
,
NVIC_CFSR
,
&
except_sr
)
;
cortex_m.c:758
cortex_m_examine_exception_reason()
retval
=
mem_ap_read_u32
(
armv7m
->
debug_ap
,
NVIC_MMFAR
,
&
except_ar
)
;
cortex_m.c:763
cortex_m_examine_exception_reason()
retval
=
mem_ap_read_u32
(
armv7m
->
debug_ap
,
NVIC_CFSR
,
&
except_sr
)
;
cortex_m.c:766
cortex_m_examine_exception_reason()
retval
=
mem_ap_read_u32
(
armv7m
->
debug_ap
,
NVIC_BFAR
,
&
except_ar
)
;
cortex_m.c:771
cortex_m_examine_exception_reason()
retval
=
mem_ap_read_u32
(
armv7m
->
debug_ap
,
NVIC_CFSR
,
&
except_sr
)
;
cortex_m.c:776
cortex_m_examine_exception_reason()
retval
=
mem_ap_read_u32
(
armv7m
->
debug_ap
,
NVIC_SFSR
,
&
except_sr
)
;
cortex_m.c:779
cortex_m_examine_exception_reason()
retval
=
mem_ap_read_u32
(
armv7m
->
debug_ap
,
NVIC_SFAR
,
&
except_ar
)
;
cortex_m.c:786
cortex_m_examine_exception_reason()
retval
=
mem_ap_read_u32
(
armv7m
->
debug_ap
,
NVIC_DFSR
,
&
except_sr
)
;
cortex_m.c:871
cortex_m_debug_entry()
retval
=
mem_ap_read_u32
(
armv7m
->
debug_ap
,
DCB_DSCSR
,
&
dscsr
)
;
cortex_m.c:1249
cortex_m_soft_reset_halt()
retval
=
mem_ap_write_u32
(
armv7m
->
debug_ap
,
DCB_DEMCR
,
cortex_m.c:1255
cortex_m_soft_reset_halt()
retval
=
mem_ap_write_atomic_u32
(
armv7m
->
debug_ap
,
NVIC_AIRCR
,
cortex_m.c:1267
cortex_m_soft_reset_halt()
retval
=
mem_ap_read_atomic_u32
(
armv7m
->
debug_ap
,
NVIC_DFSR
,
cortex_m.c:1756
cortex_m_reset_lpc55sx_using_dm_ap()
int
retval
=
dap_lpc55sx_start_debug_session
(
armv7m
->
debug_ap
->
dap
)
;
cortex_m.c:1813
cortex_m_reset_lpc55sx()
mem_ap_write_atomic_u32
(
armv7m
->
debug_ap
,
NVIC_AIRCR
,
AIRCR_VECTKEY
|
AIRCR_SYSRESETREQ
)
;
cortex_m.c:1861
cortex_m_assert_reset()
||
(
!
armv7m
->
debug_ap
&&
!
target
->
defer_examine
)
)
)
{
cortex_m.c:1878
cortex_m_assert_reset()
if
(
!
armv7m
->
debug_ap
)
{
cortex_m.c:1907
cortex_m_assert_reset()
mem_ap_write_u32
(
armv7m
->
debug_ap
,
DCB_DCRDR
,
0
)
;
cortex_m.c:1927
cortex_m_assert_reset()
retval2
=
mem_ap_write_atomic_u32
(
armv7m
->
debug_ap
,
DCB_DEMCR
,
cortex_m.c:1966
cortex_m_assert_reset()
retval3
=
mem_ap_write_atomic_u32
(
armv7m
->
debug_ap
,
NVIC_AIRCR
,
cortex_m.c:1972
cortex_m_assert_reset()
retval3
=
dap_dp_init_or_reconnect
(
armv7m
->
debug_ap
->
dap
)
;
cortex_m.c:1984
cortex_m_assert_reset()
mem_ap_read_atomic_u32
(
armv7m
->
debug_ap
,
NVIC_AIRCR
,
&
tmp
)
;
cortex_m.c:2011
cortex_m_deassert_reset()
armv7m
->
debug_ap
)
{
cortex_m.c:2013
cortex_m_deassert_reset()
int
retval
=
dap_dp_init_or_reconnect
(
armv7m
->
debug_ap
->
dap
)
;
cortex_m.c:2403
cortex_m_read_memory()
return
mem_ap_read_buf
(
armv7m
->
debug_ap
,
buffer
,
size
,
count
,
address
)
;
cortex_m.c:2417
cortex_m_write_memory()
return
mem_ap_write_buf
(
armv7m
->
debug_ap
,
buffer
,
size
,
count
,
address
)
;
cortex_m.c:2433
cortex_m_deinit_target()
if
(
!
armv7m
->
is_hla_target
&&
armv7m
->
debug_ap
)
cortex_m.c:2434
cortex_m_deinit_target()
dap_put_ap
(
armv7m
->
debug_ap
)
;
cortex_m.c:2481
cortex_m_profiling()
if
(
armv7m
&&
armv7m
->
debug_ap
)
{
cortex_m.c:2486
cortex_m_profiling()
retval
=
mem_ap_read_buf_noincr
(
armv7m
->
debug_ap
,
cortex_m.c:2748
cortex_m_examine()
if
(
!
armv7m
->
debug_ap
)
{
cortex_m.c:2751
cortex_m_examine()
retval
=
cortex_m_find_mem_ap
(
swjdp
,
&
armv7m
->
debug_ap
)
;
cortex_m.c:2757
cortex_m_examine()
armv7m
->
debug_ap
=
dap_get_ap
(
swjdp
,
cortex_m
->
apsel
)
;
cortex_m.c:2758
cortex_m_examine()
if
(
!
armv7m
->
debug_ap
)
{
cortex_m.c:2765
cortex_m_examine()
armv7m
->
debug_ap
->
memaccess_tck
=
8
;
cortex_m.c:2767
cortex_m_examine()
retval
=
mem_ap_init
(
armv7m
->
debug_ap
)
;
cortex_m.c:2873
cortex_m_examine()
armv7m
->
debug_ap
->
tar_autoincr_block
=
(
1
<
<
12
)
;
cortex_m.c:2961
cortex_m_dcc_read()
retval
=
mem_ap_read_buf_noincr
(
armv7m
->
debug_ap
,
buf
,
2
,
1
,
DCB_DCRDR
)
;
cortex_m.c:2975
cortex_m_dcc_read()
retval
=
mem_ap_write_buf_noincr
(
armv7m
->
debug_ap
,
buf
,
2
,
1
,
DCB_DCRDR
)
;
cortex_m.c:3136
handle_cortex_m_vector_catch_command()
retval
=
mem_ap_read_atomic_u32
(
armv7m
->
debug_ap
,
DCB_DEMCR
,
&
demcr
)
;
cortex_m.c:3173
handle_cortex_m_vector_catch_command()
retval
=
mem_ap_write_u32
(
armv7m
->
debug_ap
,
DCB_DEMCR
,
demcr
)
;
cortex_m.c:3176
handle_cortex_m_vector_catch_command()
retval
=
mem_ap_read_atomic_u32
(
armv7m
->
debug_ap
,
DCB_DEMCR
,
&
demcr
)
;
psoc6.c:940
handle_reset_halt()
mem_ap_write_atomic_u32
(
cm
->
debug_ap
,
NVIC_AIRCR
,
psoc6.c:944
handle_reset_halt()
mem_ap_write_atomic_u32
(
cm
->
debug_ap
,
NVIC_AIRCR
,
psoc6.c:950
handle_reset_halt()
dap_dp_init
(
cm
->
debug_ap
->
dap
)
;
psoc6.c:998
psoc6_handle_reset_to_entry()
mem_ap_write_atomic_u32
(
cm
->
debug_ap
,
psoc6.c:1004
psoc6_handle_reset_to_entry()
dap_dp_init
(
cm
->
debug_ap
->
dap
)
;
stm32l4x.c:1743
stm32l4_read_idcode()
armv7m
->
debug_ap
&&
armv7m
->
debug_ap
->
ap_num
==
1
)
{
stm32l4x.c:2086
stm32l4_probe()
if
(
armv7m
->
debug_ap
&&
armv7m
->
debug_ap
->
ap_num
==
1
)
Data Use
Functions writing
armv7m_common::debug_ap
Functions reading
armv7m_common::debug_ap
cortex_m_examine()
all items filtered out
armv7m_common::debug_ap
stm32l4_read_idcode()
stm32l4_probe()
handle_reset_halt()
psoc6_handle_reset_to_entry()
handle_arm_tpiu_swo_enable()
handle_tpiu_deprecated_config_command()
cortex_m_read_dhcsr_atomic_sticky()
cortex_m_load_core_reg_u32()
cortex_m_queue_reg_read()
cortex_m_fast_read_all_regs()
cortex_m_store_core_reg_u32()
cortex_m_write_debug_halt_mask()
cortex_m_clear_halt()
cortex_m_endreset_event()
cortex_m_examine_exception_reason()
cortex_m_debug_entry()
cortex_m_soft_reset_halt()
cortex_m_reset_lpc55sx_using_dm_ap()
cortex_m_reset_lpc55sx()
cortex_m_assert_reset()
cortex_m_deassert_reset()
cortex_m_read_memory()
cortex_m_write_memory()
cortex_m_deinit_target()
cortex_m_profiling()
cortex_m_examine()
cortex_m_dcc_read()
handle_cortex_m_vector_catch_command()
all items filtered out
Type of
armv7m_common::debug_ap
armv7m_common::debug_ap
adiv5_ap
all items filtered out