Re: [Openocd-development] help with config for Seagate DockStar please

2011-05-01 Thread Eric Cooper
On Thu, Apr 28, 2011 at 08:49:27PM -0400, Eric Cooper wrote: > The Feroceon chip also has an L2 cache. I added some code to > invalidate this when setting breakpoints, and now the target at > least halts at the right place. But openocd doesn't notice it (I > had to use poll to find out that it's

Re: [Openocd-development] help with config for Seagate DockStar please

2011-04-28 Thread Mike Dunn
On 04/28/2011 05:49 PM, Eric Cooper wrote: > On Wed, Apr 27, 2011 at 05:33:50PM -0700, Mike Dunn wrote: >> On 04/27/2011 03:12 PM, Eric Cooper wrote: >>> I think it must still be executing the unmodified instruction out of >>> the i-cache. Shouldn't openocd flush that when it sets a software >>> b

Re: [Openocd-development] help with config for Seagate DockStar please

2011-04-28 Thread Eric Cooper
On Wed, Apr 27, 2011 at 05:33:50PM -0700, Mike Dunn wrote: > On 04/27/2011 03:12 PM, Eric Cooper wrote: > > I think it must still be executing the unmodified instruction out of > > the i-cache. Shouldn't openocd flush that when it sets a software > > breakpoint? > > Yes, 'should' being the operat

Re: [Openocd-development] help with config for Seagate DockStar please

2011-04-27 Thread Mike Dunn
On 04/27/2011 03:12 PM, Eric Cooper wrote: > > I'm using: > GNU gdb (Sourcery G++ Lite 2010q1-188) 7.0.50.20100218-cvs > >> BTW, be careful using openocd through telnet while gdb is connected. Openocd >> assumes exclusive use of one or the other, and does things like clear all >> existing brea

Re: [Openocd-development] help with config for Seagate DockStar please

2011-04-27 Thread Eric Cooper
On Wed, Apr 27, 2011 at 12:12:12PM -0700, Mike Dunn wrote: > On 04/27/2011 09:42 AM, Eric Cooper wrote: > > 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

Re: [Openocd-development] help with config for Seagate DockStar please

2011-04-27 Thread Mike Dunn
On 04/27/2011 09:42 AM, Eric Cooper wrote: > 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

[Openocd-development] help with config for Seagate DockStar please

2011-04-27 Thread Eric Cooper
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 RA