Page 1 of 1

EFFS - F_ERR_NOMOREENTRY Error when drive is NOT full.

Posted: Fri Apr 10, 2015 12:53 pm
by jfox21381
I'm working on a project where I'm recording motions to multiple files and then playing them back. I frequently will be merging between two motion files, so while one is playing back, I will open another. Merge the output between the two files and then close the first file. This works great, but eventually I start getting a F_ERR_NOMOREENTRY error when trying to open the second file. The first file opens and starts playing, but when I try to open the merge file I get that error. The document says this error is caused by the volume being full. So I started displaying the usage stats before each call to open a file. I found that my available drive space doesn't change and I have plenty of it, so I shouldn't be getting that error. I am also taken care to be sure I call f_close() on my file references when I am done with them. Has anyone else run into this issue and know of a solution?

Re: EFFS - F_ERR_NOMOREENTRY Error when drive is NOT full.

Posted: Fri Apr 10, 2015 1:13 pm
by dciliske
It would look like you're running out of available open file entries. If there are no available entries, f_open will return F_ERR_NOMOREENTRY. Check the return value of f_close and verify that it is always F_NO_ERROR. If this is the case, it would appear that you have a file handle leak, where you're losing track of open files.

-Dan