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.

Software verification of ECC on OMAP35x

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.