I'm a JTAG newbie and could use some help configuring openocd for use
with a Seagate DockStar, a Marvell Kirkwood (feroceon) board similar
to the Sheevaplug.

The setup "mostly" works: I can halt, resume, and single-step the
target reliably from the openocd telnet client.  I can load images
into RAM and run them.

Here's what doesn't work:

1. In gdb, I can step and continue, but I can't halt.  Once I've
continued, typing ^C does nothing.  (Typing it a second time just
makes gdb offer to quit.)  I can still halt from the openocd telnet
client.

2. Breakpoints don't work.  I can set one in either the telnet client
or gdb without any error message.  But when I continue execution, the
program never halts at the breakpoint.

I've attached my simple-minded config file.  I'd appreciate any
suggestions on what to try next.  Thanks.

-- 
Eric Cooper             e c c @ c m u . e d u
# Seagate DockStar

# This configuration is for the TIAO Universal Wiggler
# with both the nTRST and nSRST lines connected.

interface parport
parport_cable wiggler

source [find target/feroceon.cfg]

feroceon.cpu configure -work-area-phys 0x6000000 -work-area-size 65536

arm7_9 dcc_downloads enable
arm7_9 fast_memory_access enable

# this assumes the hardware default peripherals location before U-Boot moves it
nand device feroceon.flash orion feroceon.cpu 0xd8000000

init
jtag_reset 0 1
halt
_______________________________________________
Openocd-development mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to