From: Wolfgang Denk Date: Wed, 26 Apr 2006 12:05:20 +0200 Subject: [U-Boot-Users] Redundant environment expected behavior vs current In-Reply-To: Your message of "Tue, 25 Apr 2006 19:59:29 CDT." <444EC5F1.10205@orkun.us> Message-ID: <20060426100520.51967353AC4@atlas.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de In message <444EC5F1.10205@orkun.us> you wrote: > > I agree but we are already adding wear by writing the flag byte location > of that sector. Failure of the flag byte will make it unusable as well. One more comment on this: all we do is flipping a single bit from 1 to 0. This does NOT cause any additional flash wear, as it does not require any erase cycle. And what can fail? The bit might turn out to be not programmable any more. Than we have a flash error, which will be reported. Your device is defect then, and needs to be replaced, like with any other flash sector failing. Best regards, Wolfgang Denk -- Software Engineering: Embedded and Realtime Systems, Embedded Linux Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de "Engineering without management is art." - Jeff Johnson