RE: [Yaffs] Re: power fail testing

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Sergei Sharonov
Date:  
To: manningc2, yaffs
New-Topics: Re: [Yaffs] Re: power fail testing --> seperate writes
Subject: RE: [Yaffs] Re: power fail testing
> Two things that can be done to improve the situation at the low level:
> 1) Ensure that the whole page write is being done as a single
> write at the mtd level (ie. writing the data and oob as separate
> operations is not good).


Hmm... I would think separate writes would be a good idea - then we
have a guarantee that data write has completed. That is if crc on tags
is good then no power failure has occurred during data write. On the
other
hand if we do a write in one gulp then valid crc on tags does not prove
that data is ok. So:
1. In case of separate writes:
- no need to check ecc on data at scan time
- must check erase status before write (we do that anyway) since data
may
be written and oob not. Come to think of it we have to do it only on
first allocation.
2. In case of a single write:
- good crc on tags does not guarantee good ecc on data since it may be
a partial write.

So what is the problem with two separate writes (data and oob)?

Sergei
----------------------------------------------------------------------
This e-mail, including any attached files, may contain confidential and privileged information for the sole use of the intended recipient. Any review, use, distribution, or disclosure by others is strictly prohibited. If you are not the intended recipient (or authorized to receive information for the intended recipient), please contact the sender by reply e-mail and delete all copies of this message.