using MEMWRITEOOB problem in NAND flash device

Thomas Gleixner tglx at linutronix.de
Fri Apr 18 12:14:06 EDT 2003


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




More information about the linux-mtd mailing list