IMX8DXL ECC Error Checking

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

IMX8DXL ECC Error Checking

Jump to solution
553 Views
chanks
Contributor II

We used the register programming aid to build a custom SCFW for our IMX8DXL which enables ECC on the entire 1GB of RAM.  However, it's unclear how the software would actually know an ECC error occurs.

  • Is there any way to know that a single-bit error was corrected in RAM?
  • Is there any way to be notified that an uncorrectable error occurred?
Tags (3)
0 Kudos
Reply
1 Solution
451 Views
pengyong_zhang
NXP Employee
NXP Employee

hi @chanks 

There are lots of ECC registers on RM file, and please refer it. About about corrected and uncorrectable errors you mentioned please see the corrected and uncorrected register.

pengyong_zhang_0-1723687459349.png

 

View solution in original post

0 Kudos
Reply
6 Replies
452 Views
pengyong_zhang
NXP Employee
NXP Employee

hi @chanks 

There are lots of ECC registers on RM file, and please refer it. About about corrected and uncorrectable errors you mentioned please see the corrected and uncorrected register.

pengyong_zhang_0-1723687459349.png

 

0 Kudos
Reply
445 Views
chanks
Contributor II
Thank you! It turns out I was looking at the March 2023 version of the reference manual which did not have these registers defined!
0 Kudos
Reply
491 Views
pengyong_zhang
NXP Employee
NXP Employee
0 Kudos
Reply
525 Views
pengyong_zhang
NXP Employee
NXP Employee

Hi, @chanks 

Please see the description of ECC register on the below link:

You can find the Related register get the ECC report content.

https://www.nxp.com/webapp/sps/download/preDownload.jsp?render=true

B.R

0 Kudos
Reply
482 Views
chanks
Contributor II

I've already looked through the DDR section of the RM. The only ECC registers that I see are the configuration registers ECCCFG0 and ECCCFG1.  What register am I missing that contains information on corrected and uncorrectable errors?

I see that there are two interrupts ECC_CORRECT_INT and ECC_NCORRECT_INT.  Is there anything in linux-imx that monitors these interrupts?

0 Kudos
Reply
511 Views
chanks
Contributor II
That download link doesn't work.
0 Kudos
Reply