hi,
i want to know about Ecc.
In reference manual,
The ECC is calculated over the sum of memory data and memory location address. However only data is written in the memory along with the ECC(address is excluded).
Is that mean, if memory = 3, and address = 0x00000001
1. write interface
- write 3(data) in 0x00000001(address)
- compute Ecc_1 ( data + address = 0x00000004)
2. Read interface
- recompute Ecc_2 ( Read data + address of Read data = 0x00000004)
- compare Ecc_1 and Ecc_2
- if (Ecc_1 != Ecc_2)
Then Ecc Error occured!
I understand like this, it is right?
It is more complex. ECC is calculated generated from the polynomial, it is not simple sum.
During checking it is not needed to recalculate and compare as according polynomial it can be checked directly.
But it is unimportant for users, so it is not openly documented.