Hi,
I'm looking for the source code for Hamming code and BCH8 (ECC algorithms used by AM335x).
Thanks.
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.
Hi,
I'm looking for the source code for Hamming code and BCH8 (ECC algorithms used by AM335x).
Thanks.
Hi Ashraf,
Are you looking for the ECC source code for the U-Boot, or Linux kernel, or just a general source code to use as a reference.
The ECC source code for U-Boot and kernel is included in the U-Boot and kernel's sources respectively, which are included in our SDK.
You can also take a look at the StarterWare example "NAND_Flashing_Tool", file "AM335X_ecc.c" for example functions for the BCH and Hamming algorithms.
Best regards,
Miroslav
Hi.
I'm looking for the source codes, too.
I need to load user's raw data in our control software, add spare area including AM335x compatible ECC and write them all into user's nand flash devices on a mass-production line. But the file referred in previous post does not contain necessary algorithm...
Thanks and best regards
Jozef