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.
Solved! Go to Solution.
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
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