Part Number:RM48L530
Hi
Our application uses the Halcogen generated selftests (run in sys_startup.c). Among these tests are the PBIST test, followed by a memoryInit. Unfortunately we have defined sections in the _no_init sections of the RAM that holds information required by the application which is lost due to these tests.
So typically the sequence would be:
1. Application detects some Fatal program error trapped by some exception handler
2. Error data is stored in _no_init RAM section
3. A software reset is generated
4. Application starts selftests (PBIST and memoryInit)
5. Application examines cause of exception by reading RAM and then reporting to the user.
The problem is that step 4 destroys our error info in the RAM. A revised approach would be:
1. Application detects some Fatal program error trapped by some exception handler
2. Error data is stored in _no_init RAM section
3. A software reset is generated
4. Application Backs up the RAM section with error info somewhere
5. Application starts selftests (PBIST and memoryInit)
6. Application restores the RAM section from the backed up version.
7. Application examines cause of exception by reading RAM and then reporting to the user.
So what are my options for a temporary backup area? I know I can use flash eeprom, but am having troubles.
I read somewhere that someone wanted to use one of the Perhipheral RAM, Is this possible?