IMX8DXL ECC Error Checking

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

IMX8DXL ECC Error Checking

跳至解决方案
1,950 次查看
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?
标记 (3)
0 项奖励
回复
1 解答
1,848 次查看
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 项奖励
回复
6 回复数
1,849 次查看
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 项奖励
回复
1,842 次查看
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 项奖励
回复
1,888 次查看
pengyong_zhang
NXP Employee
NXP Employee
0 项奖励
回复
1,922 次查看
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 项奖励
回复
1,879 次查看
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 项奖励
回复
1,908 次查看
chanks
Contributor II
That download link doesn't work.
0 项奖励
回复