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
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 = 0xCAFEBEEF;
//FOUND ECC ERROR
test_read = test;
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?