8000 Appropriate configuration for writing to NOR Flash · Issue #1107 · littlefs-project/littlefs · GitHub
[go: up one dir, main page]

Skip to content
Appropriate configuration for writing to NOR Flash #1107
@hhuynh222

Description

@hhuynh222

I have 512Mb Nor Flash where I need to create at least 9 files, each of which have different write sizes ranging from 24 bytes to 7000 bytes. What would the optimal configuration be to achieve this?

This is what I currently have:

.read_size = 256,
.prog_size = 256,
.block_size = 4096,
.block_count = 16384,
.block_cycles = 100,

// Caching and performance optimization
.cache_size = 4096,
.lookahead_size = 2048, 

.compact_thresh = 0,
.read_buffer = READ_BUFFER,
.prog_buffer = PROG_BUFFER,
.lookahead_buffer = LOOKAHEAD_BUFFER,

Is this correct or should read_size and prog_size = 1?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0