NAND programming bug in Linux 2.6.8?

Thomas Gleixner tglx at linutronix.de
Fri Oct 15 08:05:14 EDT 2004


On Fri, 2004-10-15 at 13:50, Mikael Starvik wrote:
> >1. As we do only full page reads, this will never happen. The READ1 code
> >could go away complete.
> 
> Hmm. I could swear that I have seen it at least once since my NAND model
> complained about it but now I can't repeat it.

Can you add a BUG() in there ? If it ever happens again we can figure
out where it's called from.

> >2. If you want to read the second half of the page, then it's completely
> >correct to issue the READ1 command, because the column address is
> >shifted right by 1 later. The READ1 command selects the second half of
> >the page whether the chip is in 8 or in 16 bit mode.
> 
> Ok, good! My Samsung datasheet (K9F2816U0C) is very vague on this point. In
> the programming examples for the 16 bit device only READ0 and READ_OOB is
> mentioned (while for the 8-bits device READ1 is also mentioned).

Yeah, its not neccecary for 16 bit, as the column address always fits
into 8bit.

tglx






More information about the linux-mtd mailing list