OpenOCD on Beaglebone Black

Hello everyone,

This is my first post ever on this board and I am also fairly new to the world of JTAG debugging, I have used a few commercial products before but I would like to make the switch to OpenOCD and I am experiencing a lot of failures so far. I have tried to attach to my Beaglebone Black using a Flyswatter2 and the kit that they provide and most of my results look something like this:

$ ./openocd -f interface/ftdi/flyswatter2.cfg -f

board/ti_beaglebone_with_fs2.cfg -c init -c “reset init”

Open On-Chip Debugger 0.10.0-dev-00149-g8229d52 (2015-12-23-11:37)

Licensed under GNU GPL v2

For bug reports, read

http://openocd.org/doc/doxygen/bugs.html

Warn : Interface already configured, ignoring

adapter speed: 16000 kHz

Info : auto-selecting first available session transport “jtag”. To

override use ‘transport select ’.

Warn : target name is deprecated use: ‘cortex_a’

trst_and_srst separate srst_gates_jtag trst_push_pull srst_open_drain

connect_deassert_srst

Info : clock speed 16000 kHz

Info : JTAG tap: am335x.jrc tap/device found: 0x2b94402f (mfg: 0x017,

part: 0xb944, ver: 0x2)

Info : JTAG tap: am335x.dap enabled

Warn : Timeout (1000ms) waiting for ACK=OK/FAULT in JTAG-DP transaction

  • aborting

Info : JTAG tap: am335x.jrc tap/device found: 0x2b94402f (mfg: 0x017,

part: 0xb944, ver: 0x2)

Info : JTAG tap: am335x.dap enabled

Error: JTAG-DP OVERRUN - check clock, memaccess, or reduce jtag speed

Error: MEM_AP_CSW 0x2800060, MEM_AP_TAR 0x0

Error: JTAG-DP OVERRUN - check clock, memaccess, or reduce jtag speed

Error: MEM_AP_CSW 0x2800060, MEM_AP_TAR 0x0

Error: JTAG-DP OVERRUN - check clock, memaccess, or reduce jtag speed

Error: MEM_AP_CSW 0x2800060, MEM_AP_TAR 0x0

Error: JTAG-DP OVERRUN - check clock, memaccess, or reduce jtag speed

Error: MEM_AP_CSW 0x2800060, MEM_AP_TAR 0x0

Error: JTAG-DP OVERRUN - check clock, memaccess, or reduce jtag speed

Error: MEM_AP_CSW 0x2800060, MEM_AP_TAR 0x0

Error: JTAG-DP OVERRUN - check clock, memaccess, or reduce jtag speed

Error: MEM_AP_CSW 0x2800060, MEM_AP_TAR 0x0

Error: JTAG-DP OVERRUN - check clock, memaccess, or reduce jtag speed

Error: MEM_AP_CSW 0x2800060, MEM_AP_TAR 0x0

Error: JTAG-DP OVERRUN - check clock, memaccess, or reduce jtag speed

Error: MEM_AP_CSW 0x2800060, MEM_AP_TAR 0x0

Error: JTAG-DP OVERRUN - check clock, memaccess, or reduce jtag speed

Error: MEM_AP_CSW 0x2800060, MEM_AP_TAR 0x0

Error: JTAG-DP OVERRUN - check clock, memaccess, or reduce jtag speed

Error: MEM_AP_CSW 0x2800060, MEM_AP_TAR 0x0

Error: Target not examined yet

in procedure ‘reset’

in procedure ‘ocd_bouncer’

I have tried to reduce the adapter speed with some success, where the device actually reboots but all hell breaks loose once the kernel starts at which point I get error messages similar to the ones above.

I am not really sure where to start as those error messages are still a little obscure to me, would anyone have any ideas/thoughts/suggestions? I’d be willing to dig in the source and make some adjustments if need be, but right now I’m a little bit too clueless to do so!

Thanks in advance.

Francois