Re: [Openocd-development] Set of MIPS patches (big endian, FASTDATA, error propagation, optimizations...)

2011-04-05 Thread Andrew Lyon
On Mon, Apr 4, 2011 at 7:54 PM, Andrew Lyon andrew.l...@gmail.com wrote: On Mon, Apr 4, 2011 at 6:51 PM, Øyvind Harboe oyvind.har...@zylin.com wrote: Any objections to merging 1,2 and 4? I think #3 needs more discussion or cool-off. My objection is that we don't know why this makes things

Re: [Openocd-development] Set of MIPS patches (big endian, FASTDATA, error propagation, optimizations...)

2011-04-04 Thread Andrew Lyon
On Mon, Apr 4, 2011 at 2:51 PM, Drasko DRASKOVIC drasko.drasko...@gmail.com wrote: Hi all, here is a set of patched (separeted by the logical changes they introduce) that : 1) Correct endianess for big endian targets 2) Correct while(1) loop waiting for PrAcc to be 1 3) Change FASTDATA

Re: [Openocd-development] Set of MIPS patches (big endian, FASTDATA, error propagation, optimizations...)

2011-04-04 Thread Andrew Lyon
in 3.101150s (34.522 KiB/s) downloaded 109628 bytes in 1.105152s (96.872 KiB/s) downloaded 109628 bytes in 1.102143s (97.137 KiB/s) downloaded 109628 bytes in 1.101120s (97.227 KiB/s) Andy BR, Drasko On Mon, Apr 4, 2011 at 5:06 PM, Andrew Lyon andrew.l...@gmail.com wrote: On Mon, Apr 4, 2011

Re: [Openocd-development] Set of MIPS patches (big endian, FASTDATA, error propagation, optimizations...)

2011-04-04 Thread Andrew Lyon
size reached, sending queued commands (first_unsent: 0xb743dfac, cmd: 0xb7344f28) User : 406 778687 command.c:557 command_print(): 109628 bytes written at address 0xa040 Andy On Mon, Apr 4, 2011 at 5:50 PM, Andrew Lyon andrew.l...@gmail.com wrote: On Mon, Apr 4, 2011 at 4:21 PM, Drasko

Re: [Openocd-development] Set of MIPS patches (big endian, FASTDATA, error propagation, optimizations...)

2011-04-04 Thread Andrew Lyon
On Mon, Apr 4, 2011 at 6:51 PM, Øyvind Harboe oyvind.har...@zylin.com wrote: Any objections to merging 1,2 and 4? I think #3 needs more discussion or cool-off. My objection is that we don't know why this makes things better and it certainly seems to hit performance hard. -- Øyvind Harboe

Re: [Openocd-development] Set of MIPS patches (big endian, FASTDATA, error propagation, optimizations...)

2011-04-04 Thread Andrew Lyon
, Apr 4, 2011 at 8:21 PM, Drasko DRASKOVIC drasko.drasko...@gmail.com wrote: Does the patch #3 remove these warnings for you ? On Mon, Apr 4, 2011 at 6:02 PM, Andrew Lyon andrew.l...@gmail.com wrote: On Mon, Apr 4, 2011 at 4:55 PM, Drasko DRASKOVIC drasko.drasko...@gmail.com wrote: Hi Andy

Re: [Openocd-development] ft2232 jtag mips performance

2011-03-31 Thread Andrew Lyon
On Wed, Mar 30, 2011 at 4:37 PM, Drasko DRASKOVIC drasko.drasko...@gmail.com wrote: Hi all, I would like to ask again for the problems noted below. If it seems reasonable from the maintainers point of view, I'll prepare the patch. Otherwise I'll keep the implementation just for me, as the

Re: [Openocd-development] bugfix for step address mips_m4k

2011-03-29 Thread Andrew Lyon
On Tue, Mar 29, 2011 at 9:28 AM, Øyvind Harboe oyvind.har...@zylin.com wrote: Hi, I wasn't able to apply your patch. Is the attached patch correct? -- Øyvind Harboe Can Zylin Consulting help on your project? US toll free 1-866-980-3434 / International +47 51 87 40 27

[Openocd-development] mips breakpoints

2011-03-29 Thread Andrew Lyon
Hi, Any ideas why (software) breakpoints don't appear to work on mips? I have bigendian mips cpu which appears to not have hardware breakpoints, to test software bp I step into and through some code (uboot) to identify how the code runs, then set bp at address already seen when stepping, finally

[Openocd-development] bugfix for step address mips_m4k

2011-03-28 Thread Andrew Lyon
Hi, The patch below fixes step address on mips_m4k: diff --git a/src/target/mips_m4k.c b/src/target/mips_m4k.c index 8afee9c..78786a5 100644 --- a/src/target/mips_m4k.c +++ b/src/target/mips_m4k.c @@ -422,6 +422,8 @@ static int mips_m4k_step(struct target *target, int current, /* current

Re: [Openocd-development] bugfix for step address mips_m4k

2011-03-28 Thread Andrew Lyon
On Mon, Mar 28, 2011 at 11:31 AM, Øyvind Harboe oyvind.har...@zylin.com wrote: Any objections to committing? Could you also list the necessary patches here? Thanks! -- Øyvind Harboe Can Zylin Consulting help on your project? US toll free 1-866-980-3434 / International +47 51 87 40 27

Re: [Openocd-development] ft2232 jtag mips performance

2011-03-25 Thread Andrew Lyon
the same as it was written, but clearly in memory it is bitswapped. Andy If this does not work, you can forget any debugging... Best regards, Drasko On Thu, Mar 24, 2011 at 11:43 AM, Andrew Lyon andrew.l...@gmail.com wrote: On Wed, Mar 23, 2011 at 2:06 PM, Drasko DRASKOVIC drasko.drasko

Re: [Openocd-development] ft2232 jtag mips performance

2011-03-25 Thread Andrew Lyon
, but there is small chance. Which dongle are you using ? Its a guruplug jtag module http://www.globalscaletechnologies.com/p-28-guruplug-jtag.aspx Have you tried using libftxx instead of libftdi? Best regards, Drasko On Fri, Mar 25, 2011 at 11:52 AM, Andrew Lyon andrew.l...@gmail.com

[Openocd-development] compile failure due to recent cortex changes

2011-03-25 Thread Andrew Lyon
Hi, The recent cortex commits cause compile to fail: make[5]: Entering directory `/usr/src/openocd-git/src/target' /bin/sh ../../libtool --tag=CC --mode=compile gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../.. -I../../src -I../../src -DPKGDATADIR=\/usr/local/share/openocd\ -I../../jimtcl

Re: [Openocd-development] compile failure due to recent cortex changes

2011-03-25 Thread Andrew Lyon
On Fri, Mar 25, 2011 at 12:13 PM, Øyvind Harboe oyvind.har...@zylin.com wrote: Try: make distclean sh bootstrap ./configure --enable-maintainer-mode -- Øyvind Harboe Can Zylin Consulting help on your project? US toll free 1-866-980-3434 / International +47 51 87 40 27

Re: [Openocd-development] ft2232 jtag mips performance

2011-03-25 Thread Andrew Lyon
On Fri, Mar 25, 2011 at 12:07 PM, Drasko DRASKOVIC drasko.drasko...@gmail.com wrote: On Fri, Mar 25, 2011 at 1:02 PM, Andrew Lyon andrew.l...@gmail.com wrote: On Fri, Mar 25, 2011 at 11:40 AM, Drasko DRASKOVIC drasko.drasko...@gmail.com wrote: Hi Andy, thank you for these tests, it is very

Re: [Openocd-development] ft2232 jtag mips performance

2011-03-24 Thread Andrew Lyon
On Tue, Mar 22, 2011 at 2:20 PM, Andrew Lyon andrew.l...@gmail.com wrote: Hi, I am using a ft2232 based jtag device with a mips board and the performance is really terrible: 57344 bytes in 3119.897949s (0.018 kb/s) It seems to work ok in that I can halt, resume, read/write memory etc, but every

[Openocd-development] ft2232 jtag mips performance

2011-03-22 Thread Andrew Lyon
Hi, I am using a ft2232 based jtag device with a mips board and the performance is really terrible: 57344 bytes in 3119.897949s (0.018 kb/s) It seems to work ok in that I can halt, resume, read/write memory etc, but every operation is very slow, halting takes almost 3 seconds. I pulled the