> -----Original Message----- > From: yaffs-bounces@lists.aleph1.co.uk [mailto:yaffs- > bounces@lists.aleph1.co.uk] On Behalf Of hgh > Sent: Friday, 23 May 2008 6:17 PM > To: yaffs@lists.aleph1.co.uk > Subject: [Yaffs] about retiring block > > hi,all > I am a fresher ,just have read the code for a few week. > As I know, the OOB can only be programmed once. But > yaffs_RetireBlock will modify it directly, right? > How that happen? Yaffs1 does do multiple writes to the OOB. This is permissible by single-level flash - you can clear bits at any time, but to set them needs an erase cycle - and Yaffs1 only does that once in the lifetime of the block (to retire it). Yaffs2 does not do multiple writes to the OOB, because it supports multi-level flash (MLC). James