In yaffs_IsBlockBad() a test is made for the number of bits in each byte. The original test for 0xFF is #if'd out. The test for failure is less than 7. Shouldn't this be 8? What am I missing? JM --------------------------------------------------------------------------------------- This mailing list is hosted by Toby Churchill open software (www.toby-churchill.org). If mailing list membership is no longer wanted you can remove yourself from the list by sending an email to yaffs-request@toby-churchill.org with the text "unsubscribe" (without the quotes) as the subject.