-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SPIFFS operation becomes faulty when reaching around 80% of usage. #2701
Comments
Most likely the spiffs implementation like to work with full pages. |
Well, the same behavior was for previous implementation with full pages... |
Was it? Didn't know about that. Is there a update to the spiffs library? |
I observed same behaviour for commit 825dea2 - so preceding modifications to SPIFFS setup. It would be nice if other users can confirm or deny this find. |
When attempting to upload a file to SPIFFS I encounter the error above when attempting to exceed 75% (3 of 4 pages) on my RDV4. |
Recreating the bug on a pm3 X with 2mb spi, the bug begins at 79% capacity |
@hornet-hacker thanks for the feedback! Which commit you used for testing? |
@hornet-hacker this is after my changes, so could you please make a test on commit 825dea2 please? |
Testing at: 7082302 |
Describe the bug
As observed in #2700 (and 825dea2) when SPIFFS usage reaches about 80% the operation of the memory become erroneous
To Reproduce
Steps to reproduce the behavior:
mem spiffs wipe
script run init_rdv4
Expected behavior
It shall be possible to use most of the SPIFFS memory without such an error.
Screenshots
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: