Spansion FFS resource usage

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
RaTh_2806906
Level 1
Level 1

Hi all,

I'm up to replacing our own flash file system with one that has more features.

I came across the Spansion FFS and would like to compare it to littleFs and SPIFFs.

I searched through a lot of the documents that I received about the Spansion FFS but could not find anything on the resources (program / data memory / RAM) that is being used.

I am using a TIVA Cortex-M4F processor and would like to access a S25FL127S by SPI (1 data wire, only).

Could someone give me a direction, please?

Best regards,

Rainer

0 Likes
1 Solution

Hi Rainer,

Thank you for your response.

As per our measurement before, if you use whole 128Mb for FFS, the minimum RAM consumption is:

7KB (BD) + 7KB (FS) + 5KB (stack) = 19KB

Regards,

Apurva

View solution in original post

0 Likes
5 Replies
Apurva_S
Moderator
Moderator
Moderator
100 likes received 500 replies posted 250 solutions authored

Hi Rainer,

Thank you for contacting Cypress Semiconductor.

I am not clear about your query. Are you requesting for the Cypress FFS package or are you requesting for a code example that demonstrates the FFS package usage?

Regards,

Apurva

0 Likes

Dear Apurva,

I have the code but like to know which amount of RAM and  program memory is being used in the processor.

Some call it a footprint. Just like this, e.g.

http://elm-chan.org/fsw/ff/doc/appnote.html#memory

Just to check if it's feasible for my project before I integrate and compile it.

Best regards,

Rainer

0 Likes

Hi Rainer,

Thank you for your response.

As per our measurement before, if you use whole 128Mb for FFS, the minimum RAM consumption is:

7KB (BD) + 7KB (FS) + 5KB (stack) = 19KB

Regards,

Apurva

0 Likes

Thanks Apurva,

do you also have a rough idea on the program memory footprint?

Best regards,

Rainer

0 Likes

Hi Rainer,

The program memory will consume roughly 108KB (based on rough calculation).

Best Regards,

Apurva

0 Likes