2014/10/08(水)memory test

メモリテストプログラム

いわゆるPCのmemtestがそう。
PCとは異なるアーキテクチャでも、特に組込み危機でも必要となるでしょう。
この記事は、メモ代わりに記載するだけで本体に価値はありません・・・。
(オフラインで資料を作る際に参考にさせていただいた時のメモ)

メモリテストの目的や達成目標を明確にすることで、必要十分なものを選択しましょう。
(過去の踏襲…とか、非論理的なシゴトは決してしないように、なぁ。)

参考

メモリテストに関するよい記事

http://www.barrgroup.com/Embedded-Systems/How-To/Memory-Test-Suite-C

掲示板には20年の職人が来ている

http://stackoverflow.com/questions/3729544/free-implementation-of-march-memory-testing-algorithm
>Memory testing with cache
>Permalink Submitted by krishnakoyalmannam on Thu, 2011-05-19 02:00.
When you are testing external DDR2 memory on a multicore system,
 with a shared Level 2 Cache,
 each core could be assigned a dedicated section of memory to test and all the cores memory tests in parallel.
This causes the L2 cache to result in more cache miss than cache hit,
 thereby resulting in increased DRAM bus transactions,
 which could be very useful during HW Board BringUp.
And yes, the ground bounce and cross-talk tests do check for signal integrity problems. There is also MARCH-B and MARCH-C memory testing algorithms that sweep memory with random patterns in one direction and sweep in the reverse direction, so, a cache flush would be required before starting the reverse sweep. And finally, an XOR test to uncover memory cell faults, would make the suite of memory tests quite comprehensive providing greater coverage.

マーチアルゴリズム:LSIテスト用だなぁ

http://www.ece.uc.edu/~wjone/
http://www.ece.uc.edu/~wjone/Memory.pdf