_FS_LOCK makes f_open return error in IDF 3.0

abcdcadb
Posts: 36
Joined: Mon Aug 07, 2017 1:28 am

Re: _FS_LOCK makes f_open return error in IDF 3.0

Postby abcdcadb » Tue Nov 28, 2017 5:05 am

Hi ESP_igrr ,

I read ff.h again and recognize that besides the error 16 (FR_LOCKED) that I am facing, there is the error 18:

Code: Select all

FR_TOO_MANY_OPEN_FILES,	/* (18) Number of open files > _FS_LOCK */
I guess the problem we discussed that should belong to this error, instead of error 16

if it is correct, i should change the approach.

any idea?

ESP_igrr
Posts: 2072
Joined: Tue Dec 01, 2015 8:37 am

Re: _FS_LOCK makes f_open return error in IDF 3.0

Postby ESP_igrr » Wed Nov 29, 2017 3:00 am

Sorry, I don't quite understand the question — do you want to know how to adjust the maximum number of open files? Or how to set FS_LOCK option?

abcdcadb
Posts: 36
Joined: Mon Aug 07, 2017 1:28 am

Re: _FS_LOCK makes f_open return error in IDF 3.0

Postby abcdcadb » Wed Nov 29, 2017 3:23 am

Code: Select all

Sorry, I don't quite understand the question — do you want to know how to adjust the maximum number of open files? Or how to set FS_LOCK option?
I mean that this error doesnt involve in FS_LOCK because FS_LOCK belongs to error 18

Who is online

Users browsing this forum: mensbufo and 99 guests