NAND ECC capabilities

Steve deRosier derosier at gmail.com
Thu Jan 8 09:14:48 PST 2015


Hi Ricard,



On Thu, Jan 8, 2015 at 12:32 AM, Ricard Wanderlof
<ricard.wanderlof at axis.com> wrote:
>
> I'd say yes, but the ECC threshold should be per 512 byte ECC block (which
> seems to be the correct term rather than 'sector'), rather than per page.
> Are you sure that the threshold is set to 4 (see
> /sys/devices/virtual/mtd/mtd<n>/bitflip_threshold )?
>

Yep, bitflip_threashold is set to 4.  I'm thinking of changing it to 3
anyway as you suggested.

Actually I'm beginning of thinking about changing it to 1024 size
sectors, with 12-bit /sector correction and setting the threshold at
10.  The problem there is upgrading devices already out in the wild,
that doesn't sound like an easy process in our particular case. Maybe
later when I have my head wrapped around the problem a bit I'll ask a
question on that.

Thanks,
- Steve


PS sorry about the typo of your name in my response to Jeff.  My
fingers flew over the "h" automatically and I hit send before I
noticed.



More information about the linux-mtd mailing list