MPC5744, can't inject a SRAM correctable ECC error

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

MPC5744, can't inject a SRAM correctable ECC error

893 Views
Jamber_H
Contributor III

Hi,

I want inject a SRAM correctable ECC error by config the dcr E2EECSR0. I can set the E2EECSR0, but can't generate a SR_CE in MEMU, what's the reason about it? Does it have relation with aligment or link command file?

2021-04-12_225824.png

 Best regards

Jamber

0 Kudos
4 Replies

857 Views
petervlna
NXP TechSupport
NXP TechSupport

Hello,

The fault will be reported in SR_CE as manual express.

petervlna_1-1618555597651.png

My problem is I can set the dcr E2EECSR0 to 0x1001, but MEMU can't detect a SR_CE.

Set the example accordingly and run it:

petervlna_0-1618555221261.png

I was just talking to the demo code author and there is not known issue with it.

The fault is also reported in FCCU NCFSx register.

Best regards,

Peter

0 Kudos

881 Views
petervlna
NXP TechSupport
NXP TechSupport

Hello,

I am quite confused here.

It looks like you are talking bout 2 different things.

1.ECC single bit error in RAM

petervlna_0-1618314928053.png

 

2. E2E ECC protection

petervlna_1-1618315131771.png

 

So which one you want to inject? ECC on RAM array?

Best regards,

Peter

 

0 Kudos

871 Views
Jamber_H
Contributor III

Hi Peter,

What I want to do is shown in this figure. Is there some misunderstand about SR_CE injection and detection with me?

2021-04-13_203929.png

 Best Regards

Jamber

0 Kudos

879 Views
Jamber_H
Contributor III

Hi Peter,

By setting the dcr E2EECSR0 to 0x1001, it can generate a single ECC error for next CPU external write access, and it will be detected by MEMU for the next CPU read access.

My problem is I can set the dcr E2EECSR0 to 0x1001, but MEMU can't detect a SR_CE.

My code references the excemple:

https://community.nxp.com/t5/MPC5xxx-Knowledge-Base/Example-MPC5744P-1b-2b-RAM-ECC-error-injection-G...

0 Kudos