This is really a followup to the file_fopen() hang
issue first reported by nocciolone.
I am currently using EFSL 0.2.6 with the LPC SD card
support, on an Olimex LPC-P2148 demo board.
After using the EFSL library for a bit, I have run
into a major snag. I am using ls_openDir() and ls_next
() to run through a large directory of MP3 files on a
1GB SD card. When a file is found, an attempt is made
to open it, and if successful, close it. Usually
file_fopen() will fail on opening the 36th file. I can
extend this somewhat by increasing IOMAN_NUMBUFFER.
If I change IOMAN_NUMBUFFER from 6 to 16, I can
usually get to the 80th file before a hang.
My testing indicates that file_fopen() hangs in the
call to dir_findinCluster() because ioman_getSector()
returns an IOMAN_ERR_NOMEMORY error. I'm not sure why
this occurs yet, but I'm still working on it.
Other than this issue, I've been successful in getting
files to play, if I can open them. I haven't tried
For interest sake, I am getting about 360KB/s transfer
rates on this ARM7 running at 60MHz.
I've attached my code, so that you can try this.