Announcement

Collapse
No announcement yet.

text files

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • text files

    Hi

    I have some doubt about read text files from sd card.

    I'm developing a code that is reading 4 different text files. The program works perfect but when i want to read another file then the display doesn't read anything.
    The 5th files is reading the same way of ather ones. For other hand if I dont read 5th file but i call twice the function that reads one of the file then the program doesnt read anything.

    is there any limitations of reading text files?

    Thanks
    Jordi

  • #2
    Hi again

    I was debugging the problem and i figured out some curious behaivour.
    I saved the program in flash and the program works.
    Could be possible that i am close to the limit of ram?
    Now my program in ram is:
    Code program: 25365
    Ram size: 1172

    Total: 26537


    Jordi

    Comment


    • #3
      Sounds like that could be it, try checking that the handle to the incorrectly handled file is not 0 and that mem_Heap() indicates a reasonable amount of memory left.
      Mark

      Comment

      Working...
      X