Hello,
Does the MARCH RAM test need to be a destructive test? I realize there's another RAM test that copies to another RAM location (STL_MARCH_TEST_testSafeRam()), however, why can't the RAM be saved to register before testing a RAM location and transferred back to the RAM location after testing the RAM location?
I am assuming that MARCH RAM test should first be performed on an unused memory area and STL_MARCH_TEST_testSafeRam is used to verify a used section of RAM with the unused RAM area given as the copy area. Is that correct?
What are PC_TEST_1 and PSA_CRC RAM types?
Could someone please give me some tips on using RAM test functions and allocating memory so I can easily test RAM. Is it possible to use STL_MARCH_TEST_testRam in boot.asm before initialized variables are loaded into RAM?
Thanks,
Stephen
Update:
Is it ok to call MarchC13N_test() directly?
Also, is it ok to test the following RAM areas?
RAM1 = 0x0000 to 0x1FFF
RAM2 = 0x5000 to 0xFFFF
With the following function calls:
if ( TEST_FAILED != MarchC13N_test(RAM1_START_ADDRESS,0x1FFF))
{
if (TEST_FAILED != MarchC13N_test(RAM2_START_ADDRESS,0xFFFF))
{
return;
}
}
RAMTestFailed();