openocd/src/target
Salvador Arroyo c185a5b724 pic32mx: false pending at low core clock
To show up the fail try to step with the core clock set to 31.25Khz
and with a ftdi/hs adapter or with a wiggler, -not with ft2232-.
The scan frequency should be set to 300Khz or higher, at lower frequency probably will not fail.

The code exits with error because the pracc address is at 0x0.

It also fails when using the "all" register, but in this case the code works without any message because the
pracc address is at 0xff202004 when it fails.

I never saw this fail with the core clock set to 500Khz or higher, but ...

The workaround simply puts a 1 ms delay after the execution of the DERET instruction.

Change-Id: I38e8c01a9c39aedd3282140543b83a0844d8ad29
Signed-off-by: Salvador Arroyo <sarroyofdez@yahoo.es>
Reviewed-on: http://openocd.zylin.com/1139
Tested-by: jenkins
Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk>
2013-04-02 15:12:03 +00:00
..
xscale Remove annoying end-of-line whitespace from most src/* 2009-09-21 18:40:55 +00:00
adi_v5_jtag.c Add abort when JTAG-DP transaction times out. 2013-04-02 15:10:25 +00:00
adi_v5_swd.c build: cleanup src/target directory 2012-02-06 11:00:36 +00:00
algorithm.c build: cleanup src/target directory 2012-02-06 11:00:36 +00:00
algorithm.h build: cleanup src/target directory 2012-02-06 11:00:36 +00:00
arm_adi_v5.c arm_adi_v5: fix mem_ap_read_buf_u32() JTAG nastiness.. 2013-04-02 15:09:40 +00:00
arm_adi_v5.h arm_adi_v5: fix mem_ap_read_buf_u32() JTAG nastiness.. 2013-04-02 15:09:40 +00:00
arm_disassembler.c build: fix clang warnings 2012-08-24 16:51:00 +00:00
arm_disassembler.h build: add helper/types.h to config.h 2012-05-21 16:15:26 +00:00
arm_dpm.c build: cleanup src/target directory 2012-02-06 11:00:36 +00:00
arm_dpm.h cortex_a : optimize apb read/write access. 2013-03-15 15:50:42 +00:00
arm_jtag.c build: cleanup src/target directory 2012-02-06 11:00:36 +00:00
arm_jtag.h build: cleanup src/target directory 2012-02-06 11:00:36 +00:00
arm_opcodes.h cortex_a : optimize apb read/write access. 2013-03-15 15:50:42 +00:00
arm_semihosting.c build: cleanup src/target directory 2012-02-06 11:00:36 +00:00
arm_semihosting.h ARM: remove semihosting globals 2009-12-04 16:51:48 -08:00
arm_simulator.c build: fix clang warnings 2012-08-24 16:51:00 +00:00
arm_simulator.h build: add helper/types.h to config.h 2012-05-21 16:15:26 +00:00
arm.h armv7m: use generic arm::core_mode 2013-02-02 16:21:41 +00:00
arm7_9_common.c arm7_9: Fix broken halfword/byte memory reads 2012-08-29 06:23:47 +00:00
arm7_9_common.h arm7_9: Fix broken halfword/byte memory reads 2012-08-29 06:23:47 +00:00
arm7tdmi.c arm7_9: Fix broken halfword/byte memory reads 2012-08-29 06:23:47 +00:00
arm7tdmi.h build: cleanup src/target directory 2012-02-06 11:00:36 +00:00
arm9tdmi.c arm7_9: Fix broken halfword/byte memory reads 2012-08-29 06:23:47 +00:00
arm9tdmi.h build: cleanup src/target directory 2012-02-06 11:00:36 +00:00
arm11_dbgtap.c build: cleanup src/target directory 2012-02-06 11:00:36 +00:00
arm11_dbgtap.h build: cleanup src/target directory 2012-02-06 11:00:36 +00:00
arm11.c target: Add default implementation of bulk_write_memory 2013-03-15 15:56:25 +00:00
arm11.h build: cleanup src/target directory 2012-02-06 11:00:36 +00:00
arm720t.c build: cleanup src/target directory 2012-02-06 11:00:36 +00:00
arm720t.h build: cleanup src/target directory 2012-02-06 11:00:36 +00:00
arm920t.c build: cleanup src/target directory 2012-02-06 11:00:36 +00:00
arm920t.h build: cleanup src/target directory 2012-02-06 11:00:36 +00:00
arm926ejs.c build: cleanup src/target directory 2012-02-06 11:00:36 +00:00
arm926ejs.h build: cleanup src/target directory 2012-02-06 11:00:36 +00:00
arm946e.c arm946e: add icache/dcache manipulation commands. 2012-08-01 21:20:32 +00:00
arm946e.h arm946e: cleanup C0.C cache type reg access 2012-08-01 21:18:37 +00:00
arm966e.c build: cleanup src/target directory 2012-02-06 11:00:36 +00:00
arm966e.h build: cleanup src/target directory 2012-02-06 11:00:36 +00:00
armv4_5_cache.c build: cleanup src/target directory 2012-02-06 11:00:36 +00:00
armv4_5_cache.h build: add helper/types.h to config.h 2012-05-21 16:15:26 +00:00
armv4_5_mmu.c build: cleanup src/target directory 2012-02-06 11:00:36 +00:00
armv4_5_mmu.h build: cleanup src/target directory 2012-02-06 11:00:36 +00:00
armv4_5.c armv7m: use generic arm::core_mode 2013-02-02 16:21:41 +00:00
armv4_5.h build: cleanup src/target directory 2012-02-06 11:00:36 +00:00
armv7a.c arch: Added ARMv7R and Cortex-R4 support 2013-03-15 15:54:05 +00:00
armv7a.h arch: Added ARMv7R and Cortex-R4 support 2013-03-15 15:54:05 +00:00
armv7m.c armv7m: update to use correct register core_cache 2013-02-25 11:57:09 +00:00
armv7m.h armv7m: use generic arm read/write_core_reg 2013-02-02 16:22:12 +00:00
avr32_ap7k.c target: Add default implementation of bulk_write_memory 2013-03-15 15:56:25 +00:00
avr32_ap7k.h build: add helper/types.h to config.h 2012-05-21 16:15:26 +00:00
avr32_jtag.c build: add helper/types.h to config.h 2012-05-21 16:15:26 +00:00
avr32_jtag.h build: cleanup src/target directory 2012-02-06 11:00:36 +00:00
avr32_mem.c build: cleanup src/target directory 2012-02-06 11:00:36 +00:00
avr32_mem.h build: cleanup src/target directory 2012-02-06 11:00:36 +00:00
avr32_regs.c build: cleanup src/target directory 2012-02-06 11:00:36 +00:00
avr32_regs.h build: cleanup src/target directory 2012-02-06 11:00:36 +00:00
avrt.c build: cleanup src/target directory 2012-02-06 11:00:36 +00:00
avrt.h build: cleanup src/target directory 2012-02-06 11:00:36 +00:00
breakpoints.c build: cleanup src/target directory 2012-02-06 11:00:36 +00:00
breakpoints.h build: add helper/types.h to config.h 2012-05-21 16:15:26 +00:00
cortex_a.c target: fix broken Cortex-R4 support 2013-03-15 18:00:49 +00:00
cortex_a.h build: cleanup src/target directory 2012-02-06 11:00:36 +00:00
cortex_m.c target: Add default implementation of bulk_write_memory 2013-03-15 15:56:25 +00:00
cortex_m.h hla: fix watchpoints not being set 2012-12-23 21:46:02 +00:00
dsp563xx_once.c build: cleanup src/target directory 2012-02-06 11:00:36 +00:00
dsp563xx_once.h build: cleanup src/target directory 2012-02-06 11:00:36 +00:00
dsp563xx.c target: Add default implementation of bulk_write_memory 2013-03-15 15:56:25 +00:00
dsp563xx.h build: cleanup src/target directory 2012-02-06 11:00:36 +00:00
dsp5680xx.c target: Add default implementation of bulk_write_memory 2013-03-15 15:56:25 +00:00
dsp5680xx.h doxygen: remove warnings 2012-04-10 12:12:39 +00:00
embeddedice.c build: cleanup src/target directory 2012-02-06 11:00:36 +00:00
embeddedice.h build: cleanup src/target directory 2012-02-06 11:00:36 +00:00
etb.c build: cleanup src/target directory 2012-02-06 11:00:36 +00:00
etb.h build: cleanup src/target directory 2012-02-06 11:00:36 +00:00
etm_dummy.c build: cleanup src/target directory 2012-02-06 11:00:36 +00:00
etm_dummy.h build: cleanup src/target directory 2012-02-06 11:00:36 +00:00
etm.c build: cleanup src/target directory 2012-02-06 11:00:36 +00:00
etm.h build: cleanup src/target directory 2012-02-06 11:00:36 +00:00
fa526.c build: cleanup src/target directory 2012-02-06 11:00:36 +00:00
feroceon.c build: cleanup src/target directory 2012-02-06 11:00:36 +00:00
hla_target.c target: Add default implementation of bulk_write_memory 2013-03-15 15:56:25 +00:00
image.c build: cleanup src/target directory 2012-02-06 11:00:36 +00:00
image.h build: cleanup src/target directory 2012-02-06 11:00:36 +00:00
Makefile.am target: add deprecated target name support 2012-12-23 21:45:23 +00:00
mips_ejtag.c pic32mx: false pending at low core clock 2013-04-02 15:12:03 +00:00
mips_ejtag.h mips: code clean up in mips_m4k_debug_entry() function 2012-11-16 12:40:34 +00:00
mips_m4k.c mips_m4k: Fixed mips_m4k_resume code for smp targets 2012-12-11 13:11:07 +00:00
mips_m4k.h build: add helper/types.h to config.h 2012-05-21 16:15:26 +00:00
mips32_dmaacc.c build: cleanup src/target directory 2012-02-06 11:00:36 +00:00
mips32_dmaacc.h build: cleanup src/target directory 2012-02-06 11:00:36 +00:00
mips32_pracc.c mips: patch mips32_pracc_exec_write() 2012-11-16 12:42:36 +00:00
mips32_pracc.h mips: optimize CP0 read/write code 2012-11-16 12:40:55 +00:00
mips32.c Minor bug fixes in Mips32 code 2012-04-10 12:09:55 +00:00
mips32.h mips: optimize mips_ejtag_step_disable() code 2012-11-16 12:40:14 +00:00
oocd_trace.c build: cleanup src/target directory 2012-02-06 11:00:36 +00:00
oocd_trace.h build: cleanup src/target directory 2012-02-06 11:00:36 +00:00
register.c build: add helper/types.h to config.h 2012-05-21 16:15:26 +00:00
register.h build: cleanup src/target directory 2012-02-06 11:00:36 +00:00
smp.c gdbserver: use common hexify/unhexify routines 2013-02-26 20:49:49 +00:00
smp.h build: cleanup src/target directory 2012-02-06 11:00:36 +00:00
startup.tcl target: enable TARGET_EVENT_EXAMINE_* events 2012-05-21 16:20:07 +00:00
target_request.c target_request: fix warning, do not set local variable to value it already has 2012-03-11 21:12:10 +00:00
target_request.h build: cleanup src/target directory 2012-02-06 11:00:36 +00:00
target_type.h target: Remove read_memory_imp 2013-03-13 12:36:09 +00:00
target.c target: Retire target_bulk_write_memory() 2013-03-15 15:56:35 +00:00
target.h target: Retire target_bulk_write_memory() 2013-03-15 15:56:35 +00:00
testee.c target: further shrink Jim-awareness 2009-12-13 12:52:23 -08:00
trace.c build: cleanup src/target directory 2012-02-06 11:00:36 +00:00
trace.h build: add helper/types.h to config.h 2012-05-21 16:15:26 +00:00
xscale.c target: Add default implementation of bulk_write_memory 2013-03-15 15:56:25 +00:00
xscale.h build: cleanup src/target directory 2012-02-06 11:00:36 +00:00