This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Hercules ECC Encoding

Hi, Team

Table 5-1 comes from TRM. what mean of the part which have red circle? what is the mean of 8/2 2/1 in table? Thank you.

Victor

  • Victor,

    This means that the ECC checksum bits are computed over an 82 bit vector.

    The 82 bit vector consists of [Addr[21:3], Data[31:0]]

    This is critical because not only does ECC this way detect bit flips, it also detects errors that
    are on the address bus. If for example one of the address lines is stuck low, then it will cause
    the wrong word to be read from Flash. Now if the ECC were only computed over the data bus
    like the generic CPU from ARM does, then reading the wrong address from the flash might go
    undetected because both the data and ECC over data could still be good; they would just be
    from a wrong address in flash.

    By adding the address to the ECC checksum equation - we've closed this gap.

    -Anthony