Beware that this post is related to an SDK in maintenance mode
More Info: Consider nRF Connect SDK for new designs

Porting LittleFs on Nicla Sense ME: nRF52832

Hi,

We use nRF5 SDK v17.1.0 for custom application (bare-metal / without os). We are trying to port littlefs for External 2MB FLASH connected via QSPI.

Please let me know the configurations required and examples i can refer for the same.

Regards,

Ijaz

Parents Reply
  • Hi Sigurd,

    When I try to mount the filesystem, returns LFS_ERR_CORRUPT (-84, "Corrupted").

    When I try to format and remount, returns -28 (no space left on device).

    I have rechecked block device configuration and block device operations. 

    Block Device Config:

    .read_size = 256 bytes,
    .prog_size = 256 bytes,
    .block_size = 32000, (32k)
    .block_count = 64, /* 2 Mbyte external flash */
    .lookahead_size = 128 bytes,
    .cache_size = 256 bytes,
    .block_cycles = 500,

    Regards,

    Ijaz

Children
Related