NAND data recovery on MX25 NFC with ECC

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

NAND data recovery on MX25 NFC with ECC

1,064 Views
alexyang
NXP Employee
NXP Employee

Customer LGE wants to recover NAND data with ECC algorithm on PC side, do you have the S/W program for PC to recover NAND data?

The program is to validate the written data on NAND with actual wrong bit and to check what block is bad.

LGE got dumped data from NAND on LGE board with MX25 and the data includes all both main and spare(includes ecc values).

And LGE wants to get the recovered data thru processing ECC algoritm based on main and spare data.

The recovered data will be compare with orignal data in order to validate NAND.

LGE got a bad MIB(Entry audio product) set from VolksWagen and the set is not available with boot failure

So LGE must analyze the reason of boot failure for the bad set and LGE is going to validate NAND now.

Thanks in advance,

BRs,

Alex Yang (Korea MPU FAE)

Labels (1)
Tags (3)
0 Kudos
Reply
1 Reply

760 Views
Yuri
NXP Employee
NXP Employee

Please look at some hints regarding the NAND below.

Hope it helps.

1.

From section 36.5.6 (Reed-Solomon Error Correcting Code Engine) of the i.MX25

Reference Manual :

"The ECC is always calculated per 512 bytes. If memory with 2-Kbyte (or 4-Kbyte)

page size is used, the ECC is calculated 4 (or 8) times, respectively. NAND

Flash with larger page sizes is filled with repeated writes of 512 bytes data

followed by spare data:

512 bytes main + spare bytes + 512 bytes main + spare bytes + 512 bytes main +

spare bytes + ..."

ECC is always calculated for each 512-byte section separately.

2.

Table 36-4 (Spare Area Buffer Organization) of the RM shows the spare layout.

3.

The ECC algorithm may be found at MX25 Nand Flash Controller ECC generator polynomial -blog archive


Have a great day,
Yuri

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos
Reply