* using MEMWRITEOOB problem in NAND flash device
@ 2003-04-18 15:06 Paul Wong
2003-04-18 16:14 ` Thomas Gleixner
0 siblings, 1 reply; 3+ messages in thread
From: Paul Wong @ 2003-04-18 15:06 UTC (permalink / raw)
To: linux-mtd, yaffs list
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?
Thanks.
Paul
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: using MEMWRITEOOB problem in NAND flash device
2003-04-18 15:06 using MEMWRITEOOB problem in NAND flash device Paul Wong
@ 2003-04-18 16:14 ` Thomas Gleixner
2003-04-19 4:18 ` Paul Wong
0 siblings, 1 reply; 3+ messages in thread
From: Thomas Gleixner @ 2003-04-18 16:14 UTC (permalink / raw)
To: Paul Wong, linux-mtd, yaffs list
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@linutronix.de
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: using MEMWRITEOOB problem in NAND flash device
2003-04-18 16:14 ` Thomas Gleixner
@ 2003-04-19 4:18 ` Paul Wong
0 siblings, 0 replies; 3+ messages in thread
From: Paul Wong @ 2003-04-19 4:18 UTC (permalink / raw)
To: tglx, linux-mtd, yaffs list
Thanks. I got it.
Paul
----- Original Message -----
From: "Thomas Gleixner" <tglx@linutronix.de>
To: "Paul Wong" <paul.wong@digitalview.com>;
<linux-mtd@lists.infradead.org>; "yaffs list" <yaffs@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@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@toby-churchill.org with the text
"unsubscribe"
> (without the quotes) as the subject.
>
>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2003-04-19 4:18 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-04-18 15:06 using MEMWRITEOOB problem in NAND flash device Paul Wong
2003-04-18 16:14 ` Thomas Gleixner
2003-04-19 4:18 ` Paul Wong
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox