Skip to contentSkip to conversation

NAND Write fails

DISCUSSION ahgu 1 participant 1 message Sep 12, 2005 Memory technology devices (MTD)

lore
Share & tools
lore

ahgu

author
#0 lore raw

There is problem with the recover function in the latest CVS 2 days ago. Instead of using the breakme in the wbuf.c
I put something like this in the nand.c, the lowest write function.

after write, in the verification:
if(data dont match || block==###)
return error.

I got the driver to crash in case like this. Has anyone seen this condition?

Also, is there a design document for the wbuf.c? I have trouble understanding the jffs2_flash_writev function.

thanks
Andrew