Hi
Devlopement Environment : Processor : TMS570LS20216 (Cortex R4), Code Composer Studio : 4.2.0.10018, TMS470 C/C++ CODE GENERATION TOOLS 4.6.3
I am working on the code for ECC RAM check. I have read the similar posts related to RAM ECC check and the SPNA126.pdf application note. I am little confused after reading the posts and the application note. I am not able to test the RAM ECC logic. Below are my queries.
1. In some posts, it was mentioned that SPNA126.pdf need some updations in documentation. Where can i get the latest version of SPNA126.pdf ?
2. The intial driver code that i am using is from the HALcogen. I assume that _memoryInit_ asm function intializes the entire RAM memory to zero. This is same as step1 mentioned in the section 3.4 of SPNA126.pdf. Is that correct ?
3. The sample code available for the RAM ECC testing is for the CCS version 3. Is there any sample code available for the above development enviroment mentioned ?
4. In the application note, step 3 of section 3.4 is as below ." write data to specific RAM location" . But i understand that RAM ECC checking will be done by corrupting ECC bits not the RAM memory. Is that my understanding correct ? If so let me know how to corrupt the ECC memory to test the ECC check ?
5. TRM mentions about the RAM ECC even Register (0xFFFF_F800) and odd register (0xFFFF_F900). What are these ? Do i need to enable/disable registers in both locations as a part of step 2 of section 3.4 of ECC application note ?
6. How to enable the ECC error interrupt ?
7. How to introduce the single and double bit error ? And how to verify that error is occured ?