What is _mem_test actually doing?

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

What is _mem_test actually doing?

ソリューションへジャンプ
1,166件の閲覧回数
njk909
Contributor II

What is _lwmem_test, _mem_test, _mem_test_all, etc..., actually doing?  Is it testing the RAM for hard/soft errors?  Is it doing something that would actually be comparable to a real RAM test like a GALPAT, walkpat, or march test?  I am using the MCF52259 with MQX.  I have a requirement to implement a RAM test on bootup, and am trying to figure out if this would cover it or if I need something more.

0 件の賞賛
返信
1 解決策
1,004件の閲覧回数
c0170
Senior Contributor III

Hello Nathan Kohler,

Although I was checking mem.c file which is in next release of the MQX (4.0), you can find following functions, which I'll bring up, in kernel folder. There's a function to verify memory which is an address test, named _mem_verify

The function _mem_test_pool is the one you mentioned, bit similar approach is implemented in _lwmem_test function. They check internal memory structures for errors. Check the source code, I believe they are no help for your need and you will have to write your own routines to check memory patterns.

Regards,

MartinK

元の投稿で解決策を見る

0 件の賞賛
返信
1 返信
1,005件の閲覧回数
c0170
Senior Contributor III

Hello Nathan Kohler,

Although I was checking mem.c file which is in next release of the MQX (4.0), you can find following functions, which I'll bring up, in kernel folder. There's a function to verify memory which is an address test, named _mem_verify

The function _mem_test_pool is the one you mentioned, bit similar approach is implemented in _lwmem_test function. They check internal memory structures for errors. Check the source code, I believe they are no help for your need and you will have to write your own routines to check memory patterns.

Regards,

MartinK

0 件の賞賛
返信