I have a client with continuous issue with ECC corrections on NAND flash on their product which uses OMAP35x. We have implemented scrubbing on the flash but that seems to have limited success.
To thoroughly test out a factory flashing tool, u-boot and linux drivers properly, I would like to use/write a utility to exercise specific single and multiple bit ECC corrections (in this case either 8bit BCH or Hamming single bit) to ensure that the software is handling the corrections properly.
Has anyone written a tool like this before? I would prefer to have a third party calculation of the ECC codes rather than use the hardware itself to generate/verify its own codes.