471,873 Members | 2,063 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,873 software developers and data experts.

ECC- Algorithm

I am currently working in a development of error detection and
correction algorithm. I found a sample ECC algorithm provided by
Samsung for NAND flash.

Please checkup the algorithm following link.

http://www.samsung.com/Products/Semi...te_256word.txt

The ECC algorithm detects all Single bit errors. It generates 3 ECC
(Parity code) bytes for a given data of 512bytes

We need to generate ECC codes for the original data and corrupted data.
We can generate ECC bytes using the function make_ecc_512(). Later we
need to compare them using the function.compare_ecc_512().

Problem:
It doesn't detects 0000 bits change to 1111 bit. & viceversa. (ie. Data
0x0000 changes to 0xFFFF is detected as NO_ERROR).

Reason:
The ECC generated for 0x0000 and 0xFFFF are the same.

Can anyone help me to resolve the issue.

Thanks in advance.

Regards,
Hari

Jul 26 '06 #1
1 11833
Hari wrote:
I am currently working in a development of error detection and
correction algorithm. I found a sample ECC algorithm provided by
Samsung for NAND flash.

Please checkup the algorithm following link.

http://www.samsung.com/Products/Semi...te_256word.txt

The ECC algorithm detects all Single bit errors. It generates 3 ECC
(Parity code) bytes for a given data of 512bytes

We need to generate ECC codes for the original data and corrupted data.
We can generate ECC bytes using the function make_ecc_512(). Later we
need to compare them using the function.compare_ecc_512().

Problem:
It doesn't detects 0000 bits change to 1111 bit. & viceversa. (ie. Data
0x0000 changes to 0xFFFF is detected as NO_ERROR).

Reason:
The ECC generated for 0x0000 and 0xFFFF are the same.

Can anyone help me to resolve the issue.

Thanks in advance.

Regards,
Hari
You are way off topic here. Probably, comp.programming would have been

closer to your goal.

Try this:
http://www.eccpage.com/

Jul 26 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

89 posts views Thread by Radioactive Man | last post: by
1 post views Thread by Massimiliano Malloni | last post: by
9 posts views Thread by marco.barulli | last post: by
109 posts views Thread by jacob navia | last post: by
3 posts views Thread by Arash Partow | last post: by
3 posts views Thread by rcoco | last post: by
reply views Thread by rcoco | last post: by
6 posts views Thread by sophia.agnes | last post: by
reply views Thread by zermasroor | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.