cfi_cmdset_0001.c: Excessive erase suspends

Anders Grafström grfstrm at
Thu Apr 17 16:38:42 EDT 2008

With recent kernels I've been seeing a lot of these
"Newly-erased block contained word 0xffff0000 at offset 0x00180000"
on a board using Intel 28F640J5 flash chips.

It looks like the errors are caused by large amounts of erase suspends.
Each erase gets suspended around 8500 times and in some extreme cases
a lot more. The erase ends without any error bits set but it turns out
that it has failed.

It seems like some flash chips have a limit on the number of times that
the erase can be suspended. I have not seen any information on the Intel
chips but a Spansion AppNote says 5,980 times for some of their devices
before running the risk of an erase fail.

So I'm guessing that erase suspends need to be paced somehow?


More information about the linux-mtd mailing list