at the moment I'm working with an i.MX6 processor. Particularly I'm interested in NAND programming. I have the option to program a NAND Flash via boundary scan. Therefore I have to write software that encodes data with the ECC that is used by ROM Code. For example, if ROM Code ECC is set to BCH8, my software have to encode data with BCH8 too. Thus the ROM Code can read the data / ECC that is programmed to the NAND Flash.
To encode data with my software I need the generator polynomials that are used by the hardware ECC unit. Does somebody know the generator polynomials, that are used by the hardware ECC unit for BCH2 - 40 ?
If you would like any further information, please ask me.