I think the problem is in YAFFS unlink & readdir implementation. Please see the attached test program. It should list & remove all files in working directory. Try create/touch some file in directory and run this program. If current directory contain >192 files, the second readdir will not list all files. Joe.C