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

RL-ARM File System problem during file creat

Hi all,

I am using RL_ARM to creat/modify file in SD card. My ARM processor is LPC2368.

After formatting from PC or from ARM processor (using fformat)the SD card, new files are creating fine and content are available.

But when previous file are available with same name & i am using fopen function with write mode ("w") then some cases new file is creating but not possible to access from Windows OS showing "file or directory corrupted and unreadable".

Please give some feedback.

Parents
  • I have a found a number of problems with FlashFS writing to SDCARDS over the past year, most of which have been due to directory corruption of one form or another.

    For instance until version 4.12 renaming a long file name could delete an entire subdirectory or a file.

    However finding the exact cause of a problem is time consuming and you need to be able to show it is Keil's problem for them to fix it. I have likely spent around a month or two on these issues for them, which is not something that you would expect from such a costly product.

    I also have to say we still appear to get directory corruption. For example we recently had a root directory which showed the files . and .. which I believe should only appear in subdirectories. We have also experienced files being put in a parent directory when the required subdirectories does not initially exist (most of the time the directory is created normally). Come to think of it these might actually be related problems!

    Basically it appears to have been very poorly tested and maybe still unreliable.

    In fact I personally feel I have performed much of the testing for them.

    Stuart.

Reply
  • I have a found a number of problems with FlashFS writing to SDCARDS over the past year, most of which have been due to directory corruption of one form or another.

    For instance until version 4.12 renaming a long file name could delete an entire subdirectory or a file.

    However finding the exact cause of a problem is time consuming and you need to be able to show it is Keil's problem for them to fix it. I have likely spent around a month or two on these issues for them, which is not something that you would expect from such a costly product.

    I also have to say we still appear to get directory corruption. For example we recently had a root directory which showed the files . and .. which I believe should only appear in subdirectories. We have also experienced files being put in a parent directory when the required subdirectories does not initially exist (most of the time the directory is created normally). Come to think of it these might actually be related problems!

    Basically it appears to have been very poorly tested and maybe still unreliable.

    In fact I personally feel I have performed much of the testing for them.

    Stuart.

Children