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

Thomas Gleixner tglx@linutronix.de
Fri, 18 Apr 2003 18:14:06 +0200


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.