Hi,
I am using an SD card as external memory to access images and text files. I have come across an issue that I do not quite understand how I could solve.
1. I have two text files A is 1.2kB and B is 1.5kB. When I access the A, I am able to read all the strings on there and when I try to access the B, I am not able to retrieve a few strings in the end.
2. I tried looking at both files and counting the characters with spaces and found out that I was able to read the same number of characters from file B as that of file A.
3. I tried doing it the other way around and I was able to read all the strings on File B and then File A.
I think I am having issues with memory allocation but I am not sure how to solve it.
If anyone here came across a similar issue and can give me some pointers, I'd much appreciate it.
Thank you,
BMD
I am using an SD card as external memory to access images and text files. I have come across an issue that I do not quite understand how I could solve.
1. I have two text files A is 1.2kB and B is 1.5kB. When I access the A, I am able to read all the strings on there and when I try to access the B, I am not able to retrieve a few strings in the end.
2. I tried looking at both files and counting the characters with spaces and found out that I was able to read the same number of characters from file B as that of file A.
3. I tried doing it the other way around and I was able to read all the strings on File B and then File A.
I think I am having issues with memory allocation but I am not sure how to solve it.
If anyone here came across a similar issue and can give me some pointers, I'd much appreciate it.
Thank you,
BMD