Can anyone give a reference for a 4-bit ECC algorithm?
I need to implement one for an embedded Nand Flash driver.
Your best bet is probably a Reed Solomon Code. Here is a pretty good explanation of how they work, and here is some code that actually implements the algorithm. It isn't commented very well, sorry about that. Some google action will turn up more.
Good luck.
There are reference implementations readily available for NAND Flash. Check out the implementations in the U-boot and Linux kernel repos.
drivers/mtd/nand/ is the path you want in the repos.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With