[Openocd-development] cmd fast enable

2010-07-07 Thread Spencer Oliver
I think this cmd was removed a while back, seems to be in the texi still however. Cheers Spen ___ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.de/mailman/listinfo/openocd-development

[Openocd-development] [PATCH 4/4] zy1000: add JTAG transport and select it

2010-07-07 Thread Øyvind Harboe
Signed-off-by: Øyvind Harboe --- tcl/interface/zy1000.cfg |5 + 1 files changed, 5 insertions(+), 0 deletions(-) create mode 100644 tcl/interface/zy1000.cfg diff --git a/tcl/interface/zy1000.cfg b/tcl/interface/zy1000.cfg new file mode 100644 index 000..edb51fb --- /dev/null +++ b/t

[Openocd-development] [PATCH 3/4] transport: fix segfault in transport select

2010-07-07 Thread Øyvind Harboe
String compare against addresses in range 0 or so due to not checking if there was an active session first. Signed-off-by: Øyvind Harboe --- src/jtag/transport.c | 13 ++--- 1 files changed, 6 insertions(+), 7 deletions(-) diff --git a/src/jtag/transport.c b/src/jtag/transport.c index

[Openocd-development] [PATCH 1/4] transport: fix bug/typo in interface_transports command

2010-07-07 Thread Øyvind Harboe
Classic manifestation of weakness of dangling { formatting :-) Hard to spot these sort of mistakes visually. Signed-off-by: Øyvind Harboe --- src/jtag/adapter.c |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/src/jtag/adapter.c b/src/jtag/adapter.c index 15b3ddc..37e6e

[Openocd-development] [PATCH 2/4] transport: selection startup fix

2010-07-07 Thread Øyvind Harboe
selection of transport should happen at the same stage regardless of how many transports an interface supports. Signed-off-by: Øyvind Harboe --- src/jtag/transport.c | 17 + 1 files changed, 5 insertions(+), 12 deletions(-) diff --git a/src/jtag/transport.c b/src/jtag/transpor

[Openocd-development] Download speed AT91SAM7S256

2010-07-07 Thread Andreas Schmidt
Hello guys, I'm using an OLIMEX AT91SAM7S256 Header board with 18,432MHz crystal. In my OpenOCD config script I have set the JTAG speed to 2000kHz while using the OLIMEX USB-OCD JTAG interface. Here ist my interface config for OpenOCD interface ft2232 ft2232_device_desc "Olimex OpenOCD JTAG"

Re: [Openocd-development] Download speed AT91SAM7S256

2010-07-07 Thread Øyvind Harboe
1. try with the master branch 2. try to cut gdb out of the equation to verify that normal flash commands perfom with decent speed 3. I don't know offhand what the expected speed is for flashing that part at 6MHz, but downloading into RAM using gdb load @ 6MHz using zy1000 would be ca. 250kBytes/s

Re: [Openocd-development] Download speed AT91SAM7S256

2010-07-07 Thread Spencer Oliver
On 07/07/2010 19:20, Andreas Schmidt wrote: But I get only download speeds of 1kB/sec. Why is this so slow? How can I speed up the download? My start-script from Eclipse (Zylin Embedded CDT) looks like this: init-commands: target remote localhost: monitor reset_halt monitor gdb_breakpoint_o

Re: [Openocd-development] Download speed AT91SAM7S256

2010-07-07 Thread Andreas Schmidt
Am 07.07.2010 20:42, schrieb Spencer Oliver: On 07/07/2010 19:20, Andreas Schmidt wrote: But I get only download speeds of 1kB/sec. Why is this so slow? How can I speed up the download? My start-script from Eclipse (Zylin Embedded CDT) looks like this: init-commands: target remote localhost:33

Re: [Openocd-development] Download speed AT91SAM7S256

2010-07-07 Thread Øyvind Harboe
Did you see this? NOTE! Severe performance degradation without fast memory access enabled. Type 'help fast'. -- Øyvind Harboe US toll free 1-866-980-3434 / International +47 51 63 25 00 http://www.zylin.com/zy1000.html ARM7 ARM9 ARM11 XScale Cortex JTAG debugger and flash programmer _

Re: [Openocd-development] Download speed AT91SAM7S256

2010-07-07 Thread Andreas Schmidt
Am 07.07.2010 21:45, schrieb Øyvind Harboe: Did you see this? NOTE! Severe performance degradation without fast memory access enabled. Type 'help fast'. Well you're right! If I enable fast_memory_access I get download speeds of 3kB/sec. If I change the JTAG clock to 6000kHz in the inte