Re: [Openocd-development] sw breakpoints in flash

2011-04-28 Thread Xiaofan Chen
On Tue, Apr 26, 2011 at 9:36 PM, Øyvind Harboe wrote: > On Tue, Apr 26, 2011 at 3:19 PM, Xiaofan Chen wrote: >> On Tue, Apr 26, 2011 at 9:05 PM, Øyvind Harboe >> wrote: Like this one? http://www.segger.com/cms/jlink-flash-breakpoints.html >>> >>> Yep. :-) >>> >>> They say performance

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] assignment of tasks to mwh, load_image, write_bank

2011-04-28 Thread Rodrigo Rosa
found it. used "flash write_image". On Thu, Apr 28, 2011 at 10:33 AM, Rodrigo Rosa wrote: > > hi, > i'm working on support for the dsp5680xx. > i've got the basic running, but i'm not sure what function should be assigned > to each task. > i can write to ram and to data sectors, and also to flash

[Openocd-development] assignment of tasks to mwh, load_image, write_bank

2011-04-28 Thread Rodrigo Rosa
hi, i'm working on support for the dsp5680xx. i've got the basic running, but i'm not sure what function should be assigned to each task. i can write to ram and to data sectors, and also to flash. the procedure for writing to flash requires running a program from ram, to which i send the data tha

Re: [Openocd-development] [PATCH] adapter speed: require init script setting and centralize activation from drivers to core.c

2011-04-28 Thread Jonas Hoerberg
On Thursday, April 28, 2011 12:38 PM, Øyvind Harboe [mailto:oyvind.har...@zylin.com] wrote: > > I haven't been able to test, but this does indeed seem > like what we need. > > Testing anyone? > > Do we want to do away with "adapter_speed" as user visible command entirely? > > The error messag

Re: [Openocd-development] [PATCH] adapter speed: require init script setting and centralize activation from drivers to core.c

2011-04-28 Thread Øyvind Harboe
I haven't been able to test, but this does indeed seem like what we need. Testing anyone? Do we want to do away with "adapter_speed" as user visible command entirely? The error message should use adapter_khz instead of "adapter_speed". -- Øyvind Harboe Can Zylin Consulting help on your projec

Re: [Openocd-development] cortex_a :smp feature

2011-04-28 Thread Øyvind Harboe
Merged. Thanks! I got some more off list test results so thanks to everybody who tested! If you could find some time to provide a patch for openocd.texi to document this, then I believe you'd find it to be a good investment. More people would try it and it is more likely that more work and maint

[Openocd-development] [PATCH] adapter speed: require init script setting and centralize activation from drivers to core.c

2011-04-28 Thread Jonas Hoerberg
Note: completely untested --- Signed-off-by: Jonas Hörberg --- src/jtag/core.c | 15 +++ src/jtag/drivers/amt_jtagaccel.c |6 -- src/jtag/drivers/ft2232.c|6 -- src/jtag/drivers/gw16012.c |5 - src/jtag/drivers/jlink.c |5