Part Number: TMS320C6748
We are building system with the C6746 together with the S34ML04G104Bxx01 nand flash. We are trying to preprogram the nand flash with a chip programmer but we are not sure what to do with the ECC in the spare area. The chip programmer that we are thinking of using only gives us a few options regarding the spare area usage and I am not sure is any of them matches the way TI is expecting them. Can you provide us some info on this? Is there a way that is known to TI that can be used to preprogram the nand flash so it will work with the C6746/C6748?
Below is the list of options that our chip programmer provides:
ECC - Hamming (by Samsung): Double error found single error correction Hamming algorithm is employed to ensure data area reliability. Algorithm parameters are specified by Samsung - look at http://www.samsung.com/global/business/semiconductor/products/flash/downloads/applicationnote/ecc_algorithm_for_web_512b.pdf.
ECC - Hamming (2 x 256 Byte Frame) variant 1: Hamming ECC algorithm uses the same computational kernel as is specified for SmartMedia cards. It splits page into frames with 256 bytes in size, produces 3 bytes of control data and is capable to cover 1 single bit error per frame. Spare area layout is compatible with that one commonly used in Linux MTD driver. Also, control data bytes ordering respects Linux ordering.
ECC - Hamming (2 x 256 Byte Frame) variant 2: This ECC algorithm is identical to previous one (variant 1), but uses SmartMedia card original control data bytes ordering. It means, bytes ECC[0] and ECC[1] are switched in their respective positions.
My understanding is that none of this is what TI is using.
Regards,
Charles