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.

TMS570LS3137 Flash ECC Abort

Other Parts Discussed in Thread: TMS570LS3137

Hello,

Some questions regarding ATCM ECC aborts.

1) If the contents of a flash location is read as data (i.e., during a CRC calculation), and that location has an ECC error, will the abort still be considered an ATCM ECC error?

2) If ECC is disabled via the Aux Control Register, will an abort be generated for an ECC error?

3) If ECC is disabled via the Aux Control Register, will ESM flags be set for ECC errors?

Thanks, Charlie Johnston

  • Hello Charles,

    1) If the contents of a flash location is read as data (i.e., during a CRC calculation), and that location has an ECC error, will the abort still be considered an ATCM ECC error?

    Yes. it will be considered.

    2) If ECC is disabled via the Aux Control Register, will an abort be generated for an ECC error?

    No, if ECC is disabled then then there is no abort for an uncorrectable ECC error.

    3) If ECC is disabled via the Aux Control Register, will ESM flags be set for ECC errors?

    It depends on which part of the flash you are reading from. If you are reading the flash content from address 0x0 to 3MB in TMS570LS3137 then this is done via the ATCM interface. If the ECC is disabled then you will not see ESM flags set for any ECC error. However, if you are reading the special regions of the flash such as OTP, EEprom, ECC space then these reads happens through flash wrapper's bus2 interface. The flash wrapper has a built-in ECC to check for ECC error if the ECC checking (done via the EDACEN field of the FEDACCTRL1 register in the flash wrapper) is enabled.

  • Hi Charles,

    Thanks for your quick reply.  That's exactly what I needed.

    Charlie Johnston