Fixed, thanks! The problem was that we didn't have our access timing right on the NAND FLASH for the tags/ecc data (was OK for the main page data), and so the first byte of the tags data was being corrupted. Cheers, Robin Charles Manning wrote: > On Tuesday 27 March 2007 02:54, Robin Iddon wrote: > >> Hi, >> >> We have recently ported Yaffs to a ATMEL AT91SAM9261EK using a Samsung >> K9F2G08U0M 2Gbit NAND FLASH device. >> >> We're running C straight on the processor for this application, so no >> O/S to speak of. >> >> We have provided the various routines YAFFS needs to run on this >> platform and it does appear to be working, so thanks! >> > > This can be rather deceptive. Stuff that is almost working can often appear to > be working when in fact there are still things broken. >