OpenOCD with BeagleBoard and Flyswatter

Has anyone had any luck with using OpenOCD with the Beagleboard and the Flyswatter (tincantools.com).

I’ve tried this with version openocd svn revision 2291

I am able to start the openocd deamon:

./src/openocd -s /Users/fred/Documents/openocd/trunk/tcl -f interface/flyswatter.cfg -f board/ti_beagleboard.cfg

But when I telnet to 4444 and issue the omap3_dbginit command, I get lots of errors. I’ve tried various combinations of connecting power, but always get the same results:

telnet localhost 4444

Trying ::1…

telnet: connect to address ::1: Connection refused

Trying fe80::1…

telnet: connect to address fe80::1: Connection refused

Trying 127.0.0.1…

Connected to localhost.

Escape character is ‘^]’.

Open On-Chip Debugger

omap3_dbginit

JTAG tap: omap3530.jrc tap/device found: 0x0b7ae02f (mfg: 0x017, part: 0xb7ae, ver: 0x0)

JTAG Tap/device matched

AHBAP Cached values: dp_select 0x0, ap_csw 0xa2000012, ap_tar 0xffffffff

SWJ-DP STICKY ERROR

Read MEM_AP_CSW 0x2800052, MEM_AP_TAR 0xe000ed00

AHBAP Cached values: dp_select 0x0, ap_csw 0xa2000012, ap_tar 0xffffffff

SWJ-DP STICKY ERROR

Read MEM_AP_CSW 0x2800052, MEM_AP_TAR 0xe000ed00

Block read error address 0xe000ed00, count 0x1

AHBAP Cached values: dp_select 0x10, ap_csw 0xa2000002, ap_tar 0xe000edf0

SWJ-DP STICKY ERROR

Read MEM_AP_CSW 0x2800042, MEM_AP_TAR 0xe000edf0

TargetName Type Endian TapName State


0* omap3.cpu cortex_m3 little omap3530.dap unknown

0x54011314 0000000b …

0x54011314 00000001 …

AHBAP Cached values: dp_select 0x10, ap_csw 0xa2000002, ap_tar 0xe000edf0

SWJ-DP STICKY ERROR

The AHBAP error repeats forever.