Wear levelling FATFS performance really slow even for reading?

doglike
Posts: 63
Joined: Fri Aug 18, 2017 4:21 pm

Re: Wear levelling FATFS performance really slow even for reading?

Postby doglike » Mon Mar 16, 2020 9:32 am

Important hint:
You have to make sure that there is always only one process/task that is accessing LittleFs at the same time.
Otherwise you will get error-codes, malfunction or even a complete crash.

SPIFFS and FFat are more robust in that cases.

vonnieda
Posts: 145
Joined: Tue Nov 07, 2017 3:42 pm

Re: Wear levelling FATFS performance really slow even for reading?

Postby vonnieda » Tue Mar 17, 2020 3:34 pm

Yes - personally I use ESP-IDF's VFS layer so I can use POSIX style file calls, and on each of those wrappers I've added a mutex check.

Jason

Who is online

Users browsing this forum: No registered users and 195 guests