spiffs
spiffs copied to clipboard
Question on SPIFFS_ERR_BAD_DESCRIPTOR(-10010) error
Hello spiffs team, I am a beginner to the file system. I am working on Giga device(GD25Q20B) NOR Flash(2M-bit)(256KB). The flash has
- Block size: 64kB
- Sector size : 4KB
- Page size : 256 bytes
I integrated spiffs with SPI low level driver but facing an issue with reading and writing into the file. Low level driver is working fine. While creating the file, the reading and writing is not happening.
Error log
page index byte len: 256
object lookup pages: 4
page pages per block: 256
page header length: 9
object header index entries: 52
object index entries: 61
available file descriptors: 2
free blocks: 0
mount res: 0
errno -10010
errno -10010
--> <--
Please let me know how to resolve this problem. @baboundu81 @igrr @maichaell Thanks in advance for your help. Example code: https://gist.github.com/saiprasadsamudrala/7f8a794786110565acd87222c069e735.
Hi @pellepl, Please let me know how to resolve this issue.