Hi All
I am looking into the ECC Data Correction Diagnostic Mode 7: DIAG_MODE = 7.
In the document says:The value in the DATA_INV_PAR register will be XORed with the current ECC to give a bad
ECC value to the CPU.
how that happened?
I mean if the 64bits data is all zero. and the correct ecc is 0x0c , in the code generated by halcogen, the DATA_INV_PAR is 0x01, after XORed operation, the returned ecc is 0x0D, how the CPU judge data value: 0x00 and ecc code 0x0D has an one bit error?
and if I read from other location of memory, will the test still work? if I read from 0x20000030U instead of 0x20000000U.
and why this single bit error is an "a zero was read as a one" not "a one was read as a zero"?
and can I use esm status to see if the error can be detected?
Any reply will be appreciated
Best Regards
Leo