This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

File System programming

Hi,everyone

I am working on lpc1788 with nand flash interface, In my application i have face the problem related to file system ,My nand flash data gets corrupted, no data is available in nand flash.
In my application, i am continuously open file , data read from file , sometimes appending data , and sometimes erase the data (not completely only last time appended data apprx.20 bytes) and again append the data ,and close the file,such operation i am doing 100 times,

In my application,after gathering all data i saved it to another file ,delete that file ,and for next RUN part again creating same name file ,doing the same operation for 100 times.

And i am doing such operation for 10 file ,data writing and appending operation done by one by one file .And also after any single file operations i have taken care for file close.

i want to know whether there is any limitation for file opening,writing, closing related .

someone please help me out,or give me some suggestion on this ,i am not experty on RTOS and file system.why my nand flash gets corrupted, what are the possibilities for nand flash corruption.

Thanks.

0