views:

113

answers:

1

Can anyone give a reference for a 4-bit ECC algorithm?

I need to implement one for an embedded Nand Flash driver.

+4  A: 

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.

Adam Shiemke