[Yaffs-archive] Re: using MEMWRITEOOB problem in NAND flash …

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Thomas Gleixner
Date:  
To: Paul Wong, linux-mtd, yaffs list
Subject: [Yaffs-archive] 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:


---------------------------------------------------------------------------------------
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 with the text "unsubscribe"
(without the quotes) as the subject.