RCM6700 FileSytem Error

I’m using the example FileSystem\ FAT\ updpages.c
After loading some files, if I turn off and on the rcm6700, the FAT is corrupted and lose some files.
I do not know why, who can help me?
I have to save the web interface on serial flash.
Thanks All.

You need to have a battery connected to the RCM6700 to backup the internal RAM if you are using the FAT libraries. I think there is a pair of pins on the dev kit board to allow you do this.