SPRUHM9H October 2014 – May 2024 TMS320F28075 , TMS320F28075-Q1 , TMS320F28076
Error detection is done while reading the data from memory. The error detection is performed for data as well as address. For parity memory, only a single-bit error gets detected, whereas in case of ECC memory, along with a single-bit error, a double-bit error also gets detected. These errors are called correctable error and uncorrectable errors. The following are characteristics of these errors:
Correctable errors get corrected by the memory controller module and then correct data is given back as read data to the master. It is also written back into the memory to prevent double-bit error due to another single-bit error at the same memory address.
ECC/Parity for address is calculated for address offset only (based on RAM block size) of corresponding 32-bit aligned address. For example, in case of LSx RAM that are 4-KB RAM block, only 11 LSBs of 32-bit aligned address are used. So if address is 0x8F8F, address ECC (or Parity)is calculated for address 0x78E (11-bit offset of 32-bit aligned address). Similarly for 8-KB RAM block, 12-bit address offset is used.