Thanks for your inputs. Our code is not very big and I am trying to minimize the usage of RAM area and declare most constants in flash. I have checksum routine for flash. That way the usage of variables are minimized.
I plan to test blocks of memory and move the variables area into the tested memory area and back. Stack is going to be a challenge and I need to figure a way out.
Reason for the stringent requirement is because the micro is used in safety critical application & these requirements come from regulatory boards. Thanks for your inputs though...
SG
Hello SG,
Quote:
I plan to test blocks of memory and move the variables area into the tested memory area and back. Stack is going to be a challenge and I need to figure a way out.
If your stack usage does not exceed the size of the test block, perhaps it is only necessary to also appropriately change the stack pointer when you transfer the existing stack data to the holding block, and back again. I cannot see any problems, provided interrupts are disabled during the transfer process.
What is the strategy if you ever do detect an error? Do you need to continue operation, or is there a safe shut-down process?
Regards,
Mac
Wow. That seems extreme. How do you do that without shutting down the application?
SG wrote:We are required to do a walk pat test of the RAM area every 3 seconds.