Hi Paul, On 11/04/14 15:41, Paul Fertser wrote: > On Fri, Apr 11, 2014 at 03:25:18PM +1000, Greg Ungerer wrote: >> I just tried using a git head of openocd, and it seems to not work as >> well as my older openocd on this target. >> >> Although I can still connect, I can't access memory, getting errors like: > ... > > Can you please provide -d3 log for that? > > Any chance of finding the offending commit with bisection? Or at least > comparing -d3 logs for working and non-working version?
Diffing the -d3 logs looks similar up to this point. A working run on openocd-0.7.0 ends with: Debug: 3545 13576 arm_dpm.c:92 dpm_mcr(): MCR p15, 0, r0, c1, c0, 0 Debug: 3546 13576 cortex_a.c:467 cortex_a8_write_dcc(): write DCC 0x00c53078 Debug: 3547 13576 cortex_a.c:224 cortex_a8_exec_opcode(): exec opcode 0xee100e15 Debug: 3548 13578 cortex_a.c:224 cortex_a8_exec_opcode(): exec opcode 0xee010f10 Debug: 3549 13588 cortex_a.c:224 cortex_a8_exec_opcode(): exec opcode 0xee100e15 User : 3550 13608 command.c:549 command_print(): 0x00000000: 00000000 00000000 00000000 01010101 80808080 00000000 80808080 00000000 User : 3551 13608 command.c:549 command_print(): 0x00000020: 00000000 01010101 00000000 01010101 5555aaaa 5555aaaa 5555aaaa 5555aaaa User : 3552 13608 command.c:549 command_print(): 0x00000040: 00600000 00600000 006afff0 006fb620 ee3f1f31 e3811801 ee2f1f31 ee3f1f51 User : 3553 13608 command.c:549 command_print(): 0x00000060: e3c11502 e3811402 e3811302 e3811202 ee2f1f51 e10f0000 e3c0001f e38000d3 Debug: 3554 13608 log.c:422 keep_alive(): keep_alive() was not invoked in the 1000ms timelimit (4174). This may cause trouble with GDB connections. But on a git head from a few days ago (openocd-0.8.0-rc1) gives: Debug: 3564 16888 arm_dpm.c:92 dpm_mcr(): MCR p15, 0, r0, c1, c0, 0 Debug: 3565 16888 cortex_a.c:462 cortex_a8_write_dcc(): write DCC 0x00c53078 Debug: 3566 16888 cortex_a.c:219 cortex_a8_exec_opcode(): exec opcode 0xee100e15 Debug: 3567 16889 cortex_a.c:219 cortex_a8_exec_opcode(): exec opcode 0xee010f10 Debug: 3568 16890 cortex_a.c:1959 cortex_a8_read_apb_ab_memory(): Reading APB-AP memory address 0x0 size 4 count32 Debug: 3569 16894 cortex_a.c:219 cortex_a8_exec_opcode(): exec opcode 0xee100e15 Warn : 3572 17905 adi_v5_jtag.c:239 jtagdp_transaction_endcheck(): Timeout (1000ms) waiting for ACK=OK/FAULT in JTAG-DP transaction - aborting Debug: 3573 17906 adi_v5_jtag.c:271 jtagdp_transaction_endcheck(): jtag-dp: CTRL/STAT error, 0xf0000003 Debug: 3574 17906 adi_v5_jtag.c:291 jtagdp_transaction_endcheck(): MEM-AP Cached values: ap_bank 0x0, ap_csw 0xa2000002, ap_tar 0xc230108c Error: 3575 17906 adi_v5_jtag.c:295 jtagdp_transaction_endcheck(): JTAG-DP OVERRUN - check clock, memaccess, or reduce jtag speed Debug: 3576 17907 adi_v5_jtag.c:315 jtagdp_transaction_endcheck(): jtag-dp: CTRL/STAT 0xf0000001 Error: 3577 17908 adi_v5_jtag.c:331 jtagdp_transaction_endcheck(): MEM_AP_CSW 0x800000c2, MEM_AP_TAR 0xc230108c Error: 3578 17908 arm_adi_v5.c:467 mem_ap_read(): Failed to read memory and, additionally, failed to find out where Debug: 3579 17909 adi_v5_jtag.c:271 jtagdp_transaction_endcheck(): jtag-dp: CTRL/STAT error, 0xf0000021 ...many more errors... This is after issuing a "mdw 0 0x20" command. Regards Greg ------------------------------------------------------------------------------ Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is the definitive new guide to graph databases and their applications. Written by three acclaimed leaders in the field, this first edition is now available. Download your free book today! http://p.sf.net/sfu/NeoTech _______________________________________________ OpenOCD-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/openocd-devel
