using MEMWRITEOOB problem in NAND flash device

Paul Wong paul.wong at digitalview.com
Sat Apr 19 00:18:41 EDT 2003


Thanks. I got it.

Paul
----- Original Message -----
From: "Thomas Gleixner" <tglx at linutronix.de>
To: "Paul Wong" <paul.wong at digitalview.com>;
<linux-mtd at lists.infradead.org>; "yaffs list" <yaffs at toby-churchill.org>
Sent: Saturday, April 19, 2003 12:14 AM
Subject: Re: using MEMWRITEOOB problem in NAND flash device


> On Friday 18 April 2003 17:06, Paul Wong wrote:
> >  Hi All,
> >      I want to restore the oob[5] using ioctl(..,MEMWRITEOOB,..) in NAND
> >  flash device, but it is failure to write anything. Is any protected
> >  condition in NAND.C?
> You _CANNOT_ write a 0 bit to 1 on a FLASH chip. This works the other way
> round. If you want to restore your block, remove the santity check in
erase
> function of nand.c.
>
> Last answer to this
>
> --
> Thomas
> ________________________________________________________________________
> linutronix - competence in embedded & realtime linux
> http://www.linutronix.de
> mail: tglx at linutronix.de
>
>
> --------------------------------------------------------------------------
-------------
> This mailing list is hosted by Toby Churchill open software
(www.toby-churchill.org).
> If mailing list membership is no longer wanted you can remove yourself
from the list by
> sending an email to yaffs-request at toby-churchill.org with the text
"unsubscribe"
> (without the quotes) as the subject.
>
>




More information about the linux-mtd mailing list