Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
7 years, 9 months ago.
AT25 Blockdevice with LittleFS
Hi! We are trying to run LittleFs with an AT25SF321 block device. For some reason it fails when trying to create a file, we always get the same error: lfs error:479: Corrupted dir pair at 3 2
On the same page, we are not sure what the best values for the config are (these are the ones we are using at the moment):
- define MBED_LFS_READ_SIZE 256 set by library:littlefs
- define MBED_LFS_PROG_SIZE 256 set by library:littlefs
- define MBED_LFS_BLOCK_SIZE 8192 set by library:littlefs
- define MBED_LFS_LOOKAHEAD 8192 set by library:littlefs
Thanks in advance for any help you can give us! Cheers