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):

  1. define MBED_LFS_READ_SIZE 256 set by library:littlefs
  2. define MBED_LFS_PROG_SIZE 256 set by library:littlefs
  3. define MBED_LFS_BLOCK_SIZE 8192 set by library:littlefs
  4. define MBED_LFS_LOOKAHEAD 8192 set by library:littlefs

Thanks in advance for any help you can give us! Cheers

Be the first to answer this question.