<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.arm.com/utility/feedstylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>File System programming</title><link>https://community.arm.com/developer/tools-software/tools/f/keil-forum/33691/file-system-programming</link><description> 
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</description><dc:language>en-US</dc:language><generator>Telligent Community 10</generator><item><title>RE: File System programming</title><link>https://community.arm.com/thread/64469?ContentTypeID=1</link><pubDate>Thu, 04 Feb 2016 20:15:34 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:9277e447-efd7-4c2f-a124-11bb74b6668b</guid><dc:creator>Surekha B</dc:creator><description>&lt;p&gt;&lt;p&gt;
Thanks ,for reply.&lt;/p&gt;

&lt;p&gt;
Have u seen my one thread which i have posted one 2day back with
title:&lt;br /&gt;
File system programming.&lt;/p&gt;

&lt;p&gt;
Do you help me on that.&lt;/p&gt;

&lt;p&gt;
My nand flash data gets all blank(all directories are lost) after
power on , some times if any of my one file stored in nand flash
directory gets corrupted.&lt;/p&gt;

&lt;p&gt;
heres is my all directories before data get corrupted:&lt;/p&gt;

&lt;p&gt;
File System Directory...&lt;br /&gt;
FILE.TXT 27 01.01.2011 12:00&lt;br /&gt;
SETTING &amp;lt;DIR&amp;gt; 01.01.2011 12:00&lt;br /&gt;
Default_setup &amp;lt;DIR&amp;gt; 01.01.2011 12:00&lt;br /&gt;
Method_setup &amp;lt;DIR&amp;gt; 01.01.2011 12:00&lt;br /&gt;
Report_template &amp;lt;DIR&amp;gt; 01.01.2011 12:00&lt;br /&gt;
Calibration_Results &amp;lt;DIR&amp;gt; 01.01.2011 12:00&lt;br /&gt;
Verification_Results &amp;lt;DIR&amp;gt; 01.01.2011 12:00&lt;br /&gt;
User_Security 01.01.2011 12:00&lt;br /&gt;
Group_Security &amp;lt;DIR&amp;gt; 01.01.2011 12:00&lt;br /&gt;
Delete_group &amp;lt;DIR&amp;gt; 01.01.2011 12:00&lt;br /&gt;
LIST &amp;lt;DIR&amp;gt; 01.01.2011 12:00&lt;br /&gt;
Cal_result &amp;lt;DIR&amp;gt; 01.01.2011 12:00&lt;br /&gt;
Product_setup &amp;lt;DIR&amp;gt; 01.01.2011 12:00&lt;br /&gt;
EHT5P_RESULTS &amp;lt;DIR&amp;gt; 01.01.2011 12:00&lt;br /&gt;
Test_result &amp;lt;DIR&amp;gt; 01.01.2011 12:00 1 File(s) 27 bytes 14 Dir(s)
503.037.952 bytes free.&lt;/p&gt;

&lt;p&gt;
File System Directory...&lt;br /&gt;
. &amp;lt;DIR&amp;gt; 01.01.2011 12:00&lt;br /&gt;
.. &amp;lt;DIR&amp;gt; 01.01.2011 12:00&lt;br /&gt;
PRODUCT.TXT 328 01.01.2011 12:00&lt;br /&gt;
VXGCH.TXT 328 01.01.2011 12:00&lt;br /&gt;
VGCU.TXT 328 01.01.2011 12:00&lt;br /&gt;
VCH.TXT 328 01.01.2011 12:00&lt;br /&gt;
GHNJ.TXT 328 01.01.2011 12:00&lt;br /&gt;
VVBH.TXT 328 01.01.2011 12:00&lt;br /&gt;
GGH.TXT 328 01.01.2011 12:00&lt;br /&gt;
BBN.TXT 328 01.01.2011 12:00&lt;br /&gt;
CCVVGVJ.TXT 328 01.01.2011 12:00&lt;br /&gt;
BBNJ.TXT 328 01.01.2011 12:00 10 File(s) 3.280 bytes 2 Dir(s)
503.037.952 bytes free.&lt;/p&gt;

&lt;p&gt;
File System Directory...&lt;br /&gt;
. &amp;lt;DIR&amp;gt; 01.01.2011 12:00&lt;br /&gt;
.. &amp;lt;DIR&amp;gt; 01.01.2011 12:00&lt;br /&gt;
VID list.txt 11 01.01.2011 12:00&lt;br /&gt;
report template list.txt 28 01.01.2011 12:00&lt;br /&gt;
user list.txt 17 01.01.2011 12:00&lt;br /&gt;
group list.txt 18 01.01.2011 12:00&lt;br /&gt;
CID list.txt 48 01.01.2011 12:00&lt;br /&gt;
product list.txt 65 01.01.2011 12:00&lt;br /&gt;
method list.txt 65 01.01.2011 12:00&lt;br /&gt;
TID list.txt 283 01.01.2011 12:00 8 File(s) 535 bytes 2 Dir(s)
503.037.952 bytes free.&lt;/p&gt;

&lt;p&gt;
but,after any of one file system operation gets hanged or anything
data file corrupted(internally on driver what is going on i don&amp;#39;t
know, as i am writing on application code) ,why all files and
directory&amp;#39;s are not found.&lt;/p&gt;

&lt;p&gt;
it gives me no directory&amp;#39;s found.&lt;/p&gt;

&lt;p&gt;
Please ,Please help on out.or suggest some check.&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>