This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

RM48L730: Flash ECC Calculation

Part Number: RM48L730

Hi,

I want to calculate ECC for Flash F021 using my own script:

According to SPNU503  : "Each ECC[x] bit represents the XOR of all the data bits marked with x in the same row & For Odd parity, XOR a 1 to the row’s XOR result. For even Parity, use the row’s XOR result directly."

and using the given examples in SPNA126 I did not get the same results :

 

DATA: 0x954f6d2f2992a9b6        MY_ECC : 0x52     SPNA126_ECC: 0xAA
DATA: 0x2f92b288d3e1a7bd       MY_ECC : 0x25     SPNA126_ECC: 0xDD
DATA: 0x5d80c176a04cfed0       MY_ECC : 0xf9      SPNA126_ECC: 0x01

DATA : 0x0000000000000000    MY_ECC : 0x0c

 

can you provide the algorithm of the ECC function ?

thank you in adavance !