ERR_DETECT register in MPC8555's DDR Controller.

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

ERR_DETECT register in MPC8555's DDR Controller.

Jump to solution
1,920 Views
dijo
Contributor III

Hello,

We're planning to enable ECC in our system. (It's currently not enabled)

Wanted to understand more about the ERR_DETECT register in MPC8555's DDR Controller.

The spec states about 3 types of errors.

  1. multiple memory errors
  2. single and multi-bit ECC errors
  3. memory select errors.

Wanted to know the difference between the three.

Also, does this error imply a difference between the value in cache and RAM?

Or actual corruption in RAM?

Thanks

Dijo

Labels (1)
1 Solution
1,054 Views
LPP
NXP Employee
NXP Employee

Useful link: Error Correction and Error Handling on PowerQUICC III Processors

http://www.freescale.com/files/32bit/doc/app_note/AN3532.pdf

Memory select error is set if a LAW maoss an access address to DDR but the address doesn't hit any valid chip select space defined by the DDR memory bounds registers.

DDR ECC hardware is capable of correcting single-bit errors and detecting mlti-bit errors.

Multi-bit error sets ERR_DETECT[MBE] and causes exception to the core.

Single-bit error is corrected by the hardware and ERR_SBE[SBEC] counter is increased. This error is not visible to software unless the counter reaches the threshold ERR_SBE[SBET]. In this case, ERR_DETECT[SBE] is set and exception can be risen.

Multiple memory error bit ERR_DETECT[MME] will be set if ERR_DETECT[SBE] is already set a new SBE event happens.

ECC detects errors when data are read from the DDR memory. It detects data corruption in RAM.


Have a great day,
Pavel

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

View solution in original post

2 Replies
1,055 Views
LPP
NXP Employee
NXP Employee

Useful link: Error Correction and Error Handling on PowerQUICC III Processors

http://www.freescale.com/files/32bit/doc/app_note/AN3532.pdf

Memory select error is set if a LAW maoss an access address to DDR but the address doesn't hit any valid chip select space defined by the DDR memory bounds registers.

DDR ECC hardware is capable of correcting single-bit errors and detecting mlti-bit errors.

Multi-bit error sets ERR_DETECT[MBE] and causes exception to the core.

Single-bit error is corrected by the hardware and ERR_SBE[SBEC] counter is increased. This error is not visible to software unless the counter reaches the threshold ERR_SBE[SBET]. In this case, ERR_DETECT[SBE] is set and exception can be risen.

Multiple memory error bit ERR_DETECT[MME] will be set if ERR_DETECT[SBE] is already set a new SBE event happens.

ECC detects errors when data are read from the DDR memory. It detects data corruption in RAM.


Have a great day,
Pavel

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

1,054 Views
kaurnakarhv
Contributor II

Regarding the below, I have a query

Single-bit error is corrected by the hardware and ERR_SBE[SBEC] counter is increased. This error is not visible to software unless the counter reaches the threshold ERR_SBE[SBET]. In this case, ERR_DETECT[SBE] is set and exception can be risen.

On what basis should we select the threshold value?

0 Kudos