This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TMS570LS3137: TMS570LS3137 checkRAMECC double bit error verification

Part Number: TMS570LS3137
Other Parts Discussed in Thread: HALCOGEN

Hi All,

i have doubt regarding verification of double bit ecc error generated in checkRAMECC API code generated by HALCOGEN version 4.7. Below is the code section from checkRAMECC:

/* Force a double bit error in both the banks */
_coreDisableRamEcc_();
tcramA2bitError ^= 3U;
tcramB2bitError ^= 3U;
_coreEnableRamEcc_();

/* Read the corrupted data to generate double bit error */
ramread = tcramA2bit;
ramread = tcramB2bit;

regread = tcram1REG->RAMUERRADDR;
regread = tcram2REG->RAMUERRADDR;

How is the code verifying tha double bit error is generated?

Thanks,

Kalyan