Hi Øyvind,

So you achieved 100kbytes/sec on an LPC1778 ... Wow, can you share your config 
file? Did you use the ZY1000 for this test. I am using just a 
Cheap FT2232D based JTAG device ... Is it the hardware that is the limitation 
here, or the software?

Regarding flashing, I am using the " mon flash write_image erase unlock 
file.elf 0 elf" command from GDB, I don't know if that is executing on the 
target..

Cheers,
Bernie


------------------------------------------------------------------------------------------
Hiding the Truth with "Political Correctness" is the same as Lying ... BRM

-----Original Message-----
From: Øyvind Harboe [mailto:[email protected]] 
Sent: Tuesday, 19 October 2010 7:23 a.m.
To: Bernard Mentink
Cc: Freddie Chopin; [email protected]
Subject: Re: [Openocd-development] STM32 flash write speed

I measured ca. 100kBytes/s w/ZY1000 and
MCB1700/LPC1768.

The ZY1000 has the advantage of low latency between OpenOCD and the JTAG 
interface, whereas a USB interface has a 1ms roundtrip time.

Generally to improve performance of high latency devices, your best bet is to 
do some profiling and figure out whether it's possible to rewrite the OpenOCD 
higher level code to issue longer clock/in out sequences.

If you don't have working area memory set up, or your flash algorithm does not 
execute on the target, then that can easily explain pitiful performance. Again 
a low latency interface would do comparably better here...

--
Ø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
_______________________________________________
Openocd-development mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to