Other Parts Discussed in Thread: NOWECC, UNIFLASH
Hello,
I have several questions about ECC generation iside CPU.
1) I generate ECC using nowECC tool with the following params:
nowECC.exe -r4 -l -F021 16M_ADD -i <input > -o <output>
But, the output file I get differs from the one, generated by CPU. It has no mirroring of two bytes in DWORD:
generated:
68 1C 7B 03 0F 10 E6 CC 02 7A 14 8A 71 0A FB F7 1D 9F CE 88 26 92 D5 5E 13 AE 93 3B B7 2C 25 2E C5 4D E3 76 05 9B 94 4A B3 D0 CE E8 5D 09 38 A0 29 B8 C7 C6 D5 6C 09 63 A8 EF 6C C7 E8 5B 70 AE 42 1F F4 B6 1C CB DA 81 5D C3 63 76 71 01 C4 09 B3 D7 67 39 98 28 05 B8 80 9E CF DA EF B1 90 B2
actual:
68 1C 68 1C 0F 10 0F 10 02 7A 02 7A 71 0A 71 0A 1D 9F 1D 9F 26 92 26 92 13 AE 13 AE B7 2C B7 2C C5 4D C5 4D 05 9B 05 9B B3 D0 B3 D0 5D 09 5D 09 29 B8 29 B8 D5 6C D5 6C A8 EF A8 EF E8 5B E8 5B 42 1F 42 1F 1C CB 1C CB 5D C3 5D C3 71 01 71 01 B3 D7 B3 D7 98 28 98 28 80 9E 80 9E EF B1 EF B1
The question is: how to generate the same data?
2) When I update flash using flash loader, ECC data is updated automatically or not? For all flash areas? Or it needs some code to be executed?
Many thanks.