Hi,
I'm tring to use w25q16 chip with little fs. I use this library for STM v1.20.0
So everything works with SPI I can find the chip etc. I've implemented lfs like this
I'm able to format the chip and mount. But as soon as I try to create a file (size 757 bytes) I got lfs.c:691:error: No more free space 0x18
What I'm doing wrong? I've also try to change block_size and block_count to 4096 and 32, but with this conf, I'm not able to format and mount I got error -28 for formating part.
Hi, I'm tring to use w25q16 chip with little fs. I use this library for STM v1.20.0 So everything works with SPI I can find the chip etc. I've implemented lfs like this
I'm able to format the chip and mount. But as soon as I try to create a file (size 757 bytes) I got
lfs.c:691:error: No more free space 0x18
What I'm doing wrong? I've also try to change
block_size
andblock_count
to 4096 and 32, but with this conf, I'm not able to format and mount I got error -28 for formating part.