Hi,
On the TMS570LS3137, when using the TCRAM ECC features, it seems that when a single bit error is detected and corrected once, if a subsequent 1bit error happens for the same memory location,
the status flags are not set. Even a double bit error will not be detected if on the same memory location(no interrupt will be generated, and the status flag is not set).
For detection(1bit or 2bit) to reoccur, it needs to happen to a different memory location before it can be detected on the first location.
Is this behavior normal or did I misconfigured the DSP ?
// First configure and then enable the ECC Checks
// RAMOCCUR register must be cleared before setting the threshold
regTcRam1.ramOccur.bit.sErrOccur = 0u;
regTcRam2.ramOccur.bit.sErrOccur = 0u;
regTcRam1.ramThreshold.bit.threshold = 1u;
regTcRam2.ramThreshold.bit.threshold = 1u;
// Disable single bit error interrupt.
regTcRam1.ramIntCtrl.bit.sErrEn = 0u;
regTcRam2.ramIntCtrl.bit.sErrEn = 0u;
// Enables ECC detection
regTcRam1.ramCtrl.bit.eccDetEn = 0x1;
regTcRam2.ramCtrl.bit.eccDetEn = 0x1;
Regards,