Re: [Openocd-development] TCL Memory tests

2011-06-03 Thread Shane Volpe
Oyvind,
Agreed about the speed and that is why I did not write a flash test.
If your RAM is working on your target your better to write a flash
test that resides in your target RAM.  However it is tough to test
your RAM if your not sure it works.  I had a board that had an issue
with the RAM and that is why I wrote these tests so I could figure out
what was wrong.
Regards,
Shane

On Fri, Jun 3, 2011 at 1:10 AM, Øyvind Harboe oyvind.har...@zylin.com wrote:
 My main concern about such a test would be that
 it doesn't run very quickly on the target. A great
 tool to have before moving on to running code on
 the target though!




 --
 Øyvind Harboe

 Can Zylin Consulting help on your project?

 US toll free 1-866-980-3434 / International +47 51 87 40 27

 http://www.zylin.com/zy1000.html
 ARM7 ARM9 ARM11 XScale Cortex
 JTAG debugger and flash programmer

___
Openocd-development mailing list
Openocd-development@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/openocd-development


[Openocd-development] TCL Memory tests

2011-06-02 Thread Shane Volpe
All,
I've been using openOCD for a little over a week now and I'm quite
impressed.  I've decided to write a series of memory tests for it
using the TCL interface. I've never used TCL before and I do not have
much experience with openOCD yet so I'm sure my implementation is less
than perfect. I've attached the memory tests to this email.  I'm
hoping others will find them useful and give me additional suggestions
or help in cleaning up the TCL code!  One thing I do not like is I had
to set a local variable in each test for the BUSSIZE as the global
variable TCL option did not seem to work for me.

Again the attached file is untested and written by a novice (me).
I will post any fixes or changes I make in the future.

The memory tests are a port (algorithms 100% copied) from the
following site and are public domain:
http://www.netrino.com/Embedded-Systems/How-To/Memory-Test-Suite-C
Regards,
Shane


memtest.tcl
Description: Tcl script
___
Openocd-development mailing list
Openocd-development@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/openocd-development


Re: [Openocd-development] TCL Memory tests

2011-06-02 Thread Øyvind Harboe
My main concern about such a test would be that
it doesn't run very quickly on the target. A great
tool to have before moving on to running code on
the target though!




--
Øyvind Harboe

Can Zylin Consulting help on your project?

US toll free 1-866-980-3434 / International +47 51 87 40 27

http://www.zylin.com/zy1000.html
ARM7 ARM9 ARM11 XScale Cortex
JTAG debugger and flash programmer
___
Openocd-development mailing list
Openocd-development@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/openocd-development