AnsweredAssumed Answered

ECC RAM Error Injection on MPC5644A

Question asked by Tuna Ayan on Dec 3, 2015
Latest reply on Dec 15, 2015 by Tuna Ayan

Dear Community Users,

 

I am using mpc5644A EVB kit with CW 10.6

 

I have a problem with ECC Ram check. I tried to follow AN5200 application note but it was not work for me.

 

So basically i am doing below operation;

 

#define ECSM_ECR_ERNCR_MASK    0x02 // RAM Noncorrectable

 

//INIT

ECSM.ECR.R = (uint8_t)ECSM_ECR_ERNCR_MASK ; // non-correctable RAM ECC error

 

//FORCE TO GENERATE ERROR

ECSM.EEGR.R = (uint16_t)(ECSM_EEGR_FR1NCI_MASK | 1);

 

//GENERATE WRONG READ OP

test[0] = 0xCAFEBEEF;

 

//FOUND ECC ERROR

test_read = test[0]; 

 

In that line, i assume that ECSM.ESR.B.RNCE must be "1". But this register seems "0".

 

I am doing that operation with debug mode. Is it important? How can i inject a RAM error to system?

 

Thanks all.

Outcomes