This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

YAFFS NAND write problem

I am having a problem with a yaffs partition I made on a dm355 board. It doesn't seem to write the files to the nand partition. I can write to the nand without any problems, so I think it is a yaffs issue. I am new to yaffs and I am not sure what might be the problem. Here is an example of what happens.

 

root@dm355-evm:/# mount /nand

yaffs: dev is 32505862 name is "mtdblock6" rw

yaffs: passed flags ""

root@dm355-evm:/# touch /nand/helloworld.txt

root@dm355-evm:/# echo Good Day Sir > /nand/helloworld.txt

root@dm355-evm:/# cat /nand/helloworld.txt

Good Day Sir

root@dm355-evm:/# ls /nand

helloworld.txt  lost+found

root@dm355-evm:/# umount /nand

root@dm355-evm:/# ls /nand

root@dm355-evm:/# mount /nandyaffs: dev is 32505862 name is "mtdblock6" rw

yaffs: passed flags ""

root@dm355-evm:/# ls /nand

lost+found

root@dm355-evm:/#

My files seem to not get written to the nand and when I unmount the partition they disappear. Does anyone have an idea on what the problem might be?

 

Thanks,
~Steve