[quote="jaclaz"]
ka8712 wrote:
Would these documents from Samsung help at all?
http://www.elnec.com/sw/samsung_ecc_algorithm_for_256b.pdf
http://www.elnec.com/sw/samsung_ecc_algorithm_for_512b.pdf
Sorry, but no. The samsung algorithm is pretty primitive and has nothing to do with BCH (which is the algorithm used, for sure).
[quote="jaclaz"]
ka8712 wrote:
This:
http://www.infradead.org/pipermail/linux-mtd/2004-March/009500.html
says that it exists C code for the algorithm
...
jaclaz
My problem is not the lack of source code or code templates, there are many many examples around and you can implement the algorithm itself quite easily if you have understood how it works.
It's more about how to retrieve the parametersthe algorithm uses. There are a lot of things that you need to know, e.g. block size, ecc size, bit order, polynome size, number of passes of the shift registers, input/output scrambling etc.
Maybe rs8191 can give us some hints <img src="images/smiles/icon_wink.gif" alt="Wink" title="Wink" /> ...
↧