Hello,
I want to write uboot.bin to nandflash with the lauterbach debugger. That works but i can not write the 4-bit BCH-ECC to the spare-area.
A solution would be to generate the ECC on the PC an write it with the debugger into the nandflash spare area. But i did not find a tool to generate the 4-bit BCH ECC.
I tried to make one by myself but did not find a detailed description about calculating the ECC. Informations like used polynom ... would be neccessary.
Thank you for your help.