Page 1 of 1

Using FS file System

Posted: Tue Apr 23, 2019 11:59 am
by SeeCwriter
Using file FileSystemUtils.cpp from one of the examples to manage files on the flash memory of a NANO, I get error F_ERR_TASKNOTFOUND. What does that mean?

v2.8.7 of the tools.

Re: Using FS file System

Posted: Tue Apr 23, 2019 1:55 pm
by sulliwk06
If I'm not mistaken, I think that means you haven't called f_enterfs within that task yet

Re: Using FS file System

Posted: Tue Apr 23, 2019 2:59 pm
by SeeCwriter
That's what HCC's documentation says that I found online.

It turns out I was using the wrong file system library. There is more than one file system with NB modules. One is for SD/MM cards, that requires a call to f_enterFS and uses an F for a function prefix. The other is for a file system on the same flash as the program, which Is what I use. And those file system functions use FS as the prefix. I grabbed the wrong library. (see EFFS-STD-SpeedTest). Dummkopf!!