Problem writing to NOR flash

Dmitry A. Fedorov D.A.Fedorov at inp.nsk.su
Mon Jul 26 11:00:47 EDT 2004


On 26 Jul 2004, Andy Hawkins wrote:

> > > Have you had any problems writing to NOR?
> > 
> > No, after upgrade from the MTD snapshot.
> > There were problems with erase (ioctl call did not wait of
> > completion of erase operation) and jffs2 did not allowed to
> > write. Now it works properly.
> 
> Ah, should have been more clear. This is a 'raw' write to the NOR
> device. It appears that it's crashing inside do_xxlock_oneblock in
> cfi_cmdset_0002.c (where it does the 'cfi_write').
> There's a comment at the top of the code saying that it's very chip
> specific, and hasn't been tested on an interleaved device (which I think
> mine is).

I have use the same cmdset (exactly) but single (interleave 1) 16 bit
wide chip Am29LV640. No problems yet with backported code.





More information about the linux-mtd mailing list