Hello,
C6678 has DDR3 memory which is 2Gbyte and 36 bit including 4 bit ECC.
Could you tell me how to use ECCADDRx register? I consider as below.
It becomes the following default map.
8000_0000 ~ FFFF_FFFF -> Logical 32bit address (2GB)
8_0000_0000 ~ 8_7FFF_FFFF -> Physical 36bit address
Then I think upper physical address in binary.
8 0 0 0 0
1000_0000_0000_0000_0000
...*_****_****_****_***.
8 7 F F F
1000_0111_1111_1111_1111
...*_****_****_****_***.
After that, I extract '*' indicated bit. ([32-17] of 33-bit address for ECC)
ECC_STRT_ADDR_1: 0x0000
ECC_END_ADDR1: 0x3FFF
Regards