riscv-openocd/src
Paul Fertser 20a077eadb jtag/adi_v5_jtag: fix infinite recursion in jtagdp_transaction_endcheck()
Calling ahbap_debugport_init() is wrong here because the actions
performed by it might lead to jtagdp_transaction_endcheck errors thus
leading to infinite recursion.

The removed code is not needed now because target polling should lead
to reexamination automatically, and both cortex_a and cortex_m call
ahbap_debugport_init() as part of their target examine handler.

This was reported as a real life issue on IRC by Weaselweb with
Cortex-A target. Quitte reports similar results in some circumstances
(adapter_khz too high) with LPC17xx.

Change-Id: I7148022f76a1272b5262d251f2e807ffb1543547
Signed-off-by: Paul Fertser <fercerpav@gmail.com>
Reviewed-on: http://openocd.zylin.com/2697
Tested-by: jenkins
2015-04-14 12:39:02 +01:00
..
flash flash/nor/lpc2000: properly free working area used in get_lpc2000_part_id() 2015-04-14 12:36:57 +01:00
helper Tcl exception codes cleanup, shutdown command amendments 2015-04-14 12:11:48 +01:00
jtag jtag/startup.tcl: fix regression with autoselecting JTAG 2015-04-14 12:35:39 +01:00
pld update files to correct FSF address 2013-06-05 19:52:42 +00:00
rtos ChibiOS: fix crash on auto detection 2015-04-14 12:16:50 +01:00
server Tcl exception codes cleanup, shutdown command amendments 2015-04-14 12:11:48 +01:00
svf Openocd: svf: Add ability to ignore svf_check_tdo errors 2014-07-03 18:08:48 +00:00
target jtag/adi_v5_jtag: fix infinite recursion in jtagdp_transaction_endcheck() 2015-04-14 12:39:02 +01:00
transport transport: make 'transport select' auto-select the first available transport if not set 2015-03-25 21:32:49 +00:00
xsvf update files to correct FSF address 2013-06-05 19:52:42 +00:00
Makefile.am Makefile.am: link libusb-1.0 after libusb-0.1 to fix dependencies 2015-02-04 21:56:45 +00:00
hello.c update files to correct FSF address 2013-06-05 19:52:42 +00:00
hello.h update files to correct FSF address 2013-06-05 19:52:42 +00:00
main.c update files to correct FSF address 2013-06-05 19:52:42 +00:00
openocd.c Tcl exception codes cleanup, shutdown command amendments 2015-04-14 12:11:48 +01:00
openocd.h Fix some problems with the bin2char utility 2014-08-02 09:01:32 +00:00