What ECC algorithm needs to be used for S34ML04G2?

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
EtAl_1569471
Level 1
Level 1

Hi,

We are using the S34ML04G2 NAND Flash. Its datasheet says it is a "4-bit ECC" memory, which I don't fully understand what it means. I am wondering what ECC algorithm I need to implement in the CPU for that Flash: is a normal Hamming algorithm ok? Or is it mandatory to use a BCH algorithm?

Thanks.

0 Likes
1 Solution
BacemD_61
Employee
Employee
50 replies posted 50 sign-ins 25 replies posted

Hello,

Hamming code is able to correct 1-bit ECC at maximum so it does not fulfill the S34ML04G2 needs..

For 4-Bit ECC, you will have to use BCH algorithm instead which is the most popular and most used algorithm.

The BCH is nowadays supported by almost all ECC engines of NAND controllers.

Best regards,

Bacem Daassi

------

Customer Application Engineering

Flash Business Unit

Cypress Semiconductor Corp.

View solution in original post

0 Likes
1 Reply
BacemD_61
Employee
Employee
50 replies posted 50 sign-ins 25 replies posted

Hello,

Hamming code is able to correct 1-bit ECC at maximum so it does not fulfill the S34ML04G2 needs..

For 4-Bit ECC, you will have to use BCH algorithm instead which is the most popular and most used algorithm.

The BCH is nowadays supported by almost all ECC engines of NAND controllers.

Best regards,

Bacem Daassi

------

Customer Application Engineering

Flash Business Unit

Cypress Semiconductor Corp.

0 Likes