KE18F512VLH16 ECC Memory Cell Autocorrection

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

KE18F512VLH16 ECC Memory Cell Autocorrection

跳至解决方案
318 次查看
sean_dvorscak
Contributor III

It's understood that the HW provides automatic correction of single bit ECC errors. However, it's unclear where the corrections are being made.

When the hardware autocorrects a single bit ECC error, does it correct on both the read out and the memory cell, or just on the read out?

From the AN5335 example figure, is the Read-out Data being corrected from 0->1? That would mean we need to write back the corrected value to RAM to actually clear it within the memory cell.

sean_dvorscak_0-1786035276314.png

 

 

We are concerned if the data in the RAM memory cell is not corrected, a single bit error could degrade to a double bit error.

0 项奖励
回复
1 解答
285 次查看
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello @sean_dvorscak 

1. "When the hardware autocorrects a single bit ECC error, does it correct on both the read out and the memory cell, or just on the read out?"

->>The correction is performed only on readout; the SRAM cell contents are not written back.

2. "We are concerned if the data in the RAM memory cell is not corrected, a single bit error could degrade to a double bit error."

->>Yes, if you want to clear errors in the memory cells and prevent error accumulation, it is recommended that the software perform a read-correct-writeback operation.

 

Thank you.

 

BR

Alice

在原帖中查看解决方案

0 项奖励
回复
1 回复
286 次查看
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello @sean_dvorscak 

1. "When the hardware autocorrects a single bit ECC error, does it correct on both the read out and the memory cell, or just on the read out?"

->>The correction is performed only on readout; the SRAM cell contents are not written back.

2. "We are concerned if the data in the RAM memory cell is not corrected, a single bit error could degrade to a double bit error."

->>Yes, if you want to clear errors in the memory cells and prevent error accumulation, it is recommended that the software perform a read-correct-writeback operation.

 

Thank you.

 

BR

Alice

0 项奖励
回复
%3CLINGO-SUB%20id%3D%22lingo-sub-2402601%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EKE18F512VLH16%20ECC%20%E5%AD%98%E5%82%A8%E5%8D%95%E5%85%83%E8%87%AA%E5%8A%A8%E7%BA%A0%E9%94%99%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%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F%AE%E6%AD%A3%E5%90%8E%E7%9A%84%E5%80%BC%E5%86%99%E5%9B%9E%20RAM%EF%BC%8C%E6%89%8D%E8%83%BD%E7%9C%9F%E6%AD%A3%E6%B8%85%E9%99%A4%E5%86%85%E5%AD%98%E5%8D%95%E5%85%83%E4%B8%AD%E7%9A%84%E8%AF%A5%E5%80%BC%E3%80%82%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22sean_dvorscak_0-1786035276314.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22sean_dvorscak_0-1786035276314.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F393899i971C6CDB0F7D7D81%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22sean_dvorscak_0-1786035276314.png%22%20alt%3D%22sean_dvorscak_0-1786035276314.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3CP%3E%E6%88%91%E4%BB%AC%E6%8B%85%E5%BF%83%EF%BC%8C%E5%A6%82%E6%9E%9C%20RAM%20%E5%AD%98%E5%82%A8%E5%8D%95%E5%85%83%E4%B8%AD%E7%9A%84%E6%95%B0%E6%8D%AE%E6%B2%A1%E6%9C%89%E5%BE%97%E5%88%B0%E7%BA%A0%E6%AD%A3%EF%BC%8C%E5%8D%95%E6%AF%94%E7%89%B9%E9%94%99%E8%AF%AF%E5%8F%AF%E8%83%BD%E4%BC%9A%E6%BC%94%E5%8F%98%E6%88%90%E5%8F%8C%E6%AF%94%E7%89%B9%E9%94%99%E8%AF%AF%E3%80%82%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2402778%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20KE18F512VLH16%20ECC%20Memory%20Cell%20Autocorrection%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2402778%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%E4%BD%A0%E5%A5%BD%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F90401%22%20target%3D%22_blank%22%3E%40sean_dvorscak%3C%2FA%3E%3C%2FP%3E%0A%3CP%3E1.%E2%80%9C%3CSPAN%3E%E5%BD%93%E7%A1%AC%E4%BB%B6%E8%87%AA%E5%8A%A8%E7%BA%A0%E6%AD%A3%E5%8D%95%E4%B8%AA%E6%AF%94%E7%89%B9%E7%9A%84ECC%E9%94%99%E8%AF%AF%E6%97%B6%EF%BC%8C%E5%AE%83%E6%98%AF%E5%9C%A8%E8%AF%BB%E5%8F%96%E6%93%8D%E4%BD%9C%E5%92%8C%E5%AD%98%E5%82%A8%E5%8D%95%E5%85%83%E4%B8%8A%E9%83%BD%E8%BF%9B%E8%A1%8C%E7%BA%A0%E6%AD%A3%EF%BC%8C%E8%BF%98%E6%98%AF%E5%8F%AA%E5%9C%A8%E8%AF%BB%E5%8F%96%E6%93%8D%E4%BD%9C%E4%B8%8A%E8%BF%9B%E8%A1%8C%E7%BA%A0%E6%AD%A3%EF%BC%9F%3C%2FSPAN%3E%20%E2%80%9D%3C%2FP%3E%0A%3CP%3E-%26gt%3B%26gt%3B%E8%AF%A5%E6%A0%A1%E6%AD%A3%E4%BB%85%E5%9C%A8%E8%AF%BB%E5%8F%96%E6%97%B6%E6%89%A7%E8%A1%8C%EF%BC%9BSRAM%20%E5%8D%95%E5%85%83%E7%9A%84%E5%86%85%E5%AE%B9%E4%B8%8D%E4%BC%9A%E8%A2%AB%E5%86%99%E5%9B%9E%E3%80%82%3C%2F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