Part Number: AM5K2E02
Other Parts Discussed in Thread: 66AK2E05
Now we have DDR3 running on our custom board, I need to enable ECC and test that it is working.
The DDR3 starts at address 0x8000_0000
I have tried setting the ECC enable bit in the ECCCTRL register. i.e set value 0x8000_0000 at 0x2101_0110
My test has been to enable ECC, write a word in the DDR3 memory, then disable ECC and change one bit at that location.
I expect that after re-enabling ECC and trying to read the location, it should be corrected and ONE_BIT_ECC_ERR_CNT (0x2101_0130) incremented.
I have also tried to follow the example ecc_test_app that is provided with the pdk_k2e_4_0_9 distribution to get an interrupt. According to the AM5K2E0x documentation, the DDR3_ERR interrupt is number 388. This doesn't match any of the interrupt numbers in the distribution.
Please can you help me find the correct settings.
thanks
Dan