Re: [Yaffs] overwrite problem in yaffs2?

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Charles Manning
Date:  
To: yaffs
CC: Sohn Chung-MCG31424
Subject: Re: [Yaffs] overwrite problem in yaffs2?
On Tuesday 12 September 2006 00:47, Sohn Chung-MCG31424 wrote:
> Hello,
>
> I am using the latest yaffs2 release + Sergey's patch on Large page
> NAND.
>
> I got some data corruption on the yaffs2 filesystem when an application
> program overwrite data into the file. So I configured the yaffs2 code to
> check every page before
> it wrote on NAND flash. I also added code to stop the system if yaffs2
> tried to write
> on Nand flash that wasn't erased in yaffs_WriteNewChunkWithTagsToNAND.
>
> I wrote a quick overwrite test program to test this problem.
> While running the test, this message was showed up.
>
> Chunk 87680 not erased
> **>> yaffs chunk 87680 was not erased


I this could be a yaffs problem, I think it much more likely that this is a
lower-level driver problem.

-- CHarles