Hello,
We have a requirement to check RAM - as fast as possible - (cache disabled).
The RAM check must check the entire RAM and perform the following:
1. Fill entire RAM with pattern 1 (ie: 55h)
2. Read/verify pattern 1 while writing pattern 2 (ie: AAh)
3. Read/verify pattern 2 while writing pattern 3 (ie: FFh)
4. Read/verify pattern 3 while writing pattern 4 (ie: 0)
5. Read/verify pattern 4.
Question: What is the fastest way to do this and how long would it take to for say a 256MB RAM (assume RAM is faster than OMAP processor (ie: faster than 300 MHz)).
Without fully knowing all the methods available to do this we started with an approach that makes 32 bit reads and writes using the ARM. first pass we estimate 27 seconds. (Compiler generated assy code roughly 123 cycles X 256M/4 X 1/cpu speed (cpu speed = 300 MHz).
However - there may be faster ways to do this - any ideas?
Thank you
wes