The ECCM module can protect
up to four regions of memory with ECC.
Single error correct double
error detect algorithm is implemented.
Each 32 Bytes data is
protected by 4 SECDED Bytes.
Each region start address has
to be 4K aligned.
Region size has to be a 4K
multiple.
Single transaction cannot
cross 4K boundary, it is not allowed for single transaction to cross from
one ECCM region to another.
The ECCM is calculated on
either 32byte or 36 byte blocks with or without the block address. Adding
the block address provides the ability to deal with bit hits in the serial
interface.
The ECCM module formats the
block data from the OTFA_L, generates ECC codes, packs MAC+Data+ECC,
reformats the address and sends this to FLASH controllers.