riscv-openocd/src/target
Jiri Kastner cac446ca6b dap_dp_init: remove loop
current loop sounds to me like 'we don't know what we do, let's do it ten times, maybe we will have luck'.
should be enough to 'ping' debug port using reading CRTL_STAT.

tested on cortex-a8, snapdragon, jetson k1, cortex-r5, cortex-r4

Change-Id: Ibc62ac1eca06c141f4fccd5de7b11350ca1f35fd
Signed-off-by: Jiri Kastner <cz172638@gmail.com>
Tested-by: Jiri Kastner <cz172638@gmail.com>
Reviewed-on: http://openocd.zylin.com/3193
Tested-by: jenkins
Reviewed-by: Tomas Vanek <vanekt@fbl.cz>
Reviewed-by: Liviu Dudau <liviu@dudau.co.uk>
Reviewed-by: Paul Fertser <fercerpav@gmail.com>
2016-12-08 12:25:52 +00:00
..
openrisc Make #include guard naming consistent 2016-05-24 22:30:55 +01:00
xscale Remove FSF address from GPL notices 2016-05-24 22:30:01 +01:00
Makefile.am Support for Freescale LS102x SAP 2016-06-23 07:37:36 +01:00
adi_v5_jtag.c adi_v5_jtag: clear sticky overrun condition in WAIT timeout 2016-08-09 14:36:13 +01:00
adi_v5_swd.c swd: Add support for connect_assert_srst for SWD. 2016-07-04 23:44:02 +01:00
algorithm.c Remove FSF address from GPL notices 2016-05-24 22:30:01 +01:00
algorithm.h Make #include guard naming consistent 2016-05-24 22:30:55 +01:00
arm.h flash/nor: Add erased_value to drivers and pass it to targets 2016-10-30 20:30:48 +00:00
arm7_9_common.c Fix usage of timeval_ms() 2016-07-19 10:45:16 +01:00
arm7_9_common.h Make #include guard naming consistent 2016-05-24 22:30:55 +01:00
arm7tdmi.c Remove FSF address from GPL notices 2016-05-24 22:30:01 +01:00
arm7tdmi.h Make #include guard naming consistent 2016-05-24 22:30:55 +01:00
arm9tdmi.c Remove FSF address from GPL notices 2016-05-24 22:30:01 +01:00
arm9tdmi.h Make #include guard naming consistent 2016-05-24 22:30:55 +01:00
arm11.c Fix resume when core state has been modified 2016-08-09 14:28:43 +01:00
arm11.h Make #include guard naming consistent 2016-05-24 22:30:55 +01:00
arm11_dbgtap.c Fix usage of timeval_ms() 2016-07-19 10:45:16 +01:00
arm11_dbgtap.h Make #include guard naming consistent 2016-05-24 22:30:55 +01:00
arm720t.c Fix usage of timeval_ms() 2016-07-19 10:45:16 +01:00
arm720t.h Make #include guard naming consistent 2016-05-24 22:30:55 +01:00
arm920t.c Fix usage of timeval_ms() 2016-07-19 10:45:16 +01:00
arm920t.h Make #include guard naming consistent 2016-05-24 22:30:55 +01:00
arm926ejs.c Fix usage of timeval_ms() 2016-07-19 10:45:16 +01:00
arm926ejs.h Make #include guard naming consistent 2016-05-24 22:30:55 +01:00
arm946e.c Remove FSF address from GPL notices 2016-05-24 22:30:01 +01:00
arm946e.h Make #include guard naming consistent 2016-05-24 22:30:55 +01:00
arm966e.c Remove FSF address from GPL notices 2016-05-24 22:30:01 +01:00
arm966e.h Make #include guard naming consistent 2016-05-24 22:30:55 +01:00
arm_adi_v5.c dap_dp_init: remove loop 2016-12-08 12:25:52 +00:00
arm_adi_v5.h Make #include guard naming consistent 2016-05-24 22:30:55 +01:00
arm_disassembler.c Remove FSF address from GPL notices 2016-05-24 22:30:01 +01:00
arm_disassembler.h Make #include guard naming consistent 2016-05-24 22:30:55 +01:00
arm_dpm.c Fix resume when core state has been modified 2016-08-09 14:28:43 +01:00
arm_dpm.h cortex_a: remove partnum magic from arp_examine and dbginit 2016-12-08 12:25:35 +00:00
arm_jtag.c Remove FSF address from GPL notices 2016-05-24 22:30:01 +01:00
arm_jtag.h Make #include guard naming consistent 2016-05-24 22:30:55 +01:00
arm_opcodes.h Make #include guard naming consistent 2016-05-24 22:30:55 +01:00
arm_semihosting.c semihosting armv7a: Add support for ARMv7-A 2016-11-04 21:21:50 +00:00
arm_semihosting.h Make #include guard naming consistent 2016-05-24 22:30:55 +01:00
arm_simulator.c Remove FSF address from GPL notices 2016-05-24 22:30:01 +01:00
arm_simulator.h Make #include guard naming consistent 2016-05-24 22:30:55 +01:00
armv4_5.c flash/nor: Add erased_value to drivers and pass it to targets 2016-10-30 20:30:48 +00:00
armv4_5.h Make #include guard naming consistent 2016-05-24 22:30:55 +01:00
armv4_5_cache.c Remove FSF address from GPL notices 2016-05-24 22:30:01 +01:00
armv4_5_cache.h Make #include guard naming consistent 2016-05-24 22:30:55 +01:00
armv4_5_mmu.c Remove FSF address from GPL notices 2016-05-24 22:30:01 +01:00
armv4_5_mmu.h Make #include guard naming consistent 2016-05-24 22:30:55 +01:00
armv7a.c semihosting armv7a: Add support for ARMv7-A 2016-11-04 21:21:50 +00:00
armv7a.h semihosting armv7a: Add support for ARMv7-A 2016-11-04 21:21:50 +00:00
armv7a_cache.c Remove FSF address from GPL notices 2016-05-24 22:30:01 +01:00
armv7a_cache.h Make #include guard naming consistent 2016-05-24 22:30:55 +01:00
armv7a_cache_l2x.c Remove FSF address from GPL notices 2016-05-24 22:30:01 +01:00
armv7a_cache_l2x.h Make #include guard naming consistent 2016-05-24 22:30:55 +01:00
armv7m.c flash/nor: Add erased_value to drivers and pass it to targets 2016-10-30 20:30:48 +00:00
armv7m.h flash/nor: Add erased_value to drivers and pass it to targets 2016-10-30 20:30:48 +00:00
armv7m_trace.c Remove FSF address from GPL notices 2016-05-24 22:30:01 +01:00
armv7m_trace.h Make #include guard naming consistent 2016-05-24 22:30:55 +01:00
avr32_ap7k.c Remove FSF address from GPL notices 2016-05-24 22:30:01 +01:00
avr32_ap7k.h Make #include guard naming consistent 2016-05-24 22:30:55 +01:00
avr32_jtag.c Remove FSF address from GPL notices 2016-05-24 22:30:01 +01:00
avr32_jtag.h Make #include guard naming consistent 2016-05-24 22:30:55 +01:00
avr32_mem.c Remove FSF address from GPL notices 2016-05-24 22:30:01 +01:00
avr32_mem.h Make #include guard naming consistent 2016-05-24 22:30:55 +01:00
avr32_regs.c Remove FSF address from GPL notices 2016-05-24 22:30:01 +01:00
avr32_regs.h Make #include guard naming consistent 2016-05-24 22:30:55 +01:00
avrt.c Remove FSF address from GPL notices 2016-05-24 22:30:01 +01:00
avrt.h Make #include guard naming consistent 2016-05-24 22:30:55 +01:00
breakpoints.c breakpoints: Add missing space in error message 2016-10-17 09:21:14 +01:00
breakpoints.h Make #include guard naming consistent 2016-05-24 22:30:55 +01:00
cortex_a.c cortex_a: remove partnum magic from arp_examine and dbginit 2016-12-08 12:25:35 +00:00
cortex_a.h cortex_a: remove partnum magic from arp_examine and dbginit 2016-12-08 12:25:35 +00:00
cortex_m.c cortex_a/r/m: fix handling of un-examined cores 2016-11-04 21:25:11 +00:00
cortex_m.h Make #include guard naming consistent 2016-05-24 22:30:55 +01:00
dsp563xx.c Remove FSF address from GPL notices 2016-05-24 22:30:01 +01:00
dsp563xx.h Make #include guard naming consistent 2016-05-24 22:30:55 +01:00
dsp563xx_once.c Remove FSF address from GPL notices 2016-05-24 22:30:01 +01:00
dsp563xx_once.h Make #include guard naming consistent 2016-05-24 22:30:55 +01:00
dsp5680xx.c Remove FSF address from GPL notices 2016-05-24 22:30:01 +01:00
dsp5680xx.h Make #include guard naming consistent 2016-05-24 22:30:55 +01:00
embeddedice.c Remove FSF address from GPL notices 2016-05-24 22:30:01 +01:00
embeddedice.h Make #include guard naming consistent 2016-05-24 22:30:55 +01:00
etb.c Remove FSF address from GPL notices 2016-05-24 22:30:01 +01:00
etb.h Make #include guard naming consistent 2016-05-24 22:30:55 +01:00
etm.c Remove FSF address from GPL notices 2016-05-24 22:30:01 +01:00
etm.h Make #include guard naming consistent 2016-05-24 22:30:55 +01:00
etm_dummy.c Remove FSF address from GPL notices 2016-05-24 22:30:01 +01:00
etm_dummy.h Make #include guard naming consistent 2016-05-24 22:30:55 +01:00
fa526.c Remove FSF address from GPL notices 2016-05-24 22:30:01 +01:00
feroceon.c Remove FSF address from GPL notices 2016-05-24 22:30:01 +01:00
hla_target.c Remove FSF address from GPL notices 2016-05-24 22:30:01 +01:00
image.c Replace "daemon" with "server" in user-visible strings 2016-11-05 17:44:01 +00:00
image.h Make #include guard naming consistent 2016-05-24 22:30:55 +01:00
lakemont.c Remove FSF address from GPL notices 2016-05-24 22:30:01 +01:00
lakemont.h Make #include guard naming consistent 2016-05-24 22:30:55 +01:00
ls1_sap.c Support for Freescale LS102x SAP 2016-06-23 07:37:36 +01:00
mips32.c flash/nor: Add erased_value to drivers and pass it to targets 2016-10-30 20:30:48 +00:00
mips32.h flash/nor: Add erased_value to drivers and pass it to targets 2016-10-30 20:30:48 +00:00
mips32_dmaacc.c Remove FSF address from GPL notices 2016-05-24 22:30:01 +01:00
mips32_dmaacc.h Make #include guard naming consistent 2016-05-24 22:30:55 +01:00
mips32_pracc.c Fix usage of timeval_ms() 2016-07-19 10:45:16 +01:00
mips32_pracc.h Make #include guard naming consistent 2016-05-24 22:30:55 +01:00
mips_ejtag.c Remove FSF address from GPL notices 2016-05-24 22:30:01 +01:00
mips_ejtag.h Make #include guard naming consistent 2016-05-24 22:30:55 +01:00
mips_m4k.c mips: Added #define for scan_delay legacy mode default value 2016-10-04 11:41:34 +01:00
mips_m4k.h Make #include guard naming consistent 2016-05-24 22:30:55 +01:00
nds32.c Remove FSF address from GPL notices 2016-05-24 22:30:01 +01:00
nds32.h Make #include guard naming consistent 2016-05-24 22:30:55 +01:00
nds32_aice.c Remove FSF address from GPL notices 2016-05-24 22:30:01 +01:00
nds32_aice.h Make #include guard naming consistent 2016-05-24 22:30:55 +01:00
nds32_cmd.c Remove FSF address from GPL notices 2016-05-24 22:30:01 +01:00
nds32_cmd.h Make #include guard naming consistent 2016-05-24 22:30:55 +01:00
nds32_disassembler.c Remove FSF address from GPL notices 2016-05-24 22:30:01 +01:00
nds32_disassembler.h Make #include guard naming consistent 2016-05-24 22:30:55 +01:00
nds32_edm.h Make #include guard naming consistent 2016-05-24 22:30:55 +01:00
nds32_insn.h Make #include guard naming consistent 2016-05-24 22:30:55 +01:00
nds32_reg.c Remove FSF address from GPL notices 2016-05-24 22:30:01 +01:00
nds32_reg.h Make #include guard naming consistent 2016-05-24 22:30:55 +01:00
nds32_tlb.c Remove FSF address from GPL notices 2016-05-24 22:30:01 +01:00
nds32_tlb.h Make #include guard naming consistent 2016-05-24 22:30:55 +01:00
nds32_v2.c nds32: Fix typo in debug log 2016-10-04 11:49:59 +01:00
nds32_v2.h Make #include guard naming consistent 2016-05-24 22:30:55 +01:00
nds32_v3.c nds32: Fix typo in debug log 2016-10-04 11:49:59 +01:00
nds32_v3.h Make #include guard naming consistent 2016-05-24 22:30:55 +01:00
nds32_v3_common.c Remove FSF address from GPL notices 2016-05-24 22:30:01 +01:00
nds32_v3_common.h Make #include guard naming consistent 2016-05-24 22:30:55 +01:00
nds32_v3m.c nds32: Fix typo in debug log 2016-10-04 11:49:59 +01:00
nds32_v3m.h Make #include guard naming consistent 2016-05-24 22:30:55 +01:00
oocd_trace.c Remove FSF address from GPL notices 2016-05-24 22:30:01 +01:00
oocd_trace.h Make #include guard naming consistent 2016-05-24 22:30:55 +01:00
quark_d20xx.c Remove FSF address from GPL notices 2016-05-24 22:30:01 +01:00
quark_x10xx.c Remove FSF address from GPL notices 2016-05-24 22:30:01 +01:00
register.c Remove FSF address from GPL notices 2016-05-24 22:30:01 +01:00
register.h Make #include guard naming consistent 2016-05-24 22:30:55 +01:00
smp.c Remove FSF address from GPL notices 2016-05-24 22:30:01 +01:00
smp.h Make #include guard naming consistent 2016-05-24 22:30:55 +01:00
startup.tcl Add -defer-examine option to target create command 2016-12-08 12:24:11 +00:00
target.c Add -defer-examine option to target create command 2016-12-08 12:24:11 +00:00
target.h Add -defer-examine option to target create command 2016-12-08 12:24:11 +00:00
target_request.c Remove FSF address from GPL notices 2016-05-24 22:30:01 +01:00
target_request.h Make #include guard naming consistent 2016-05-24 22:30:55 +01:00
target_type.h flash/nor: Add erased_value to drivers and pass it to targets 2016-10-30 20:30:48 +00:00
testee.c Remove FSF address from GPL notices 2016-05-24 22:30:01 +01:00
trace.c Remove FSF address from GPL notices 2016-05-24 22:30:01 +01:00
trace.h Make #include guard naming consistent 2016-05-24 22:30:55 +01:00
x86_32_common.c x86_32_common: Fix typo in function name 2016-10-04 11:49:52 +01:00
x86_32_common.h Make #include guard naming consistent 2016-05-24 22:30:55 +01:00
xscale.c Make OpenOCD build using -Og. 2016-11-04 21:10:30 +00:00
xscale.h Make #include guard naming consistent 2016-05-24 22:30:55 +01:00