Reduce RAM footprint in SpansionFS for Cypress S25FL064L 8MB Flash Memory

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

cross mob
SoBi_4818781
Level 1
Level 1

We presently have been using the SpansionFS for the Cypress S25FL064L Chip in our embedded system for a few years now.  However, we need to add some additional application features and need more RAM.   Are there some features/options within the library we can change to reduce its RAM memory usage?  Our application is not threaded and at the most we have only 3 files open at a time.  In fact, we rarely need to access the chip. 

Thanks,

Bill

0 Likes
1 Solution
Apurva_S
Moderator
Moderator
Moderator
100 likes received 500 replies posted 250 solutions authored

Hi Bill,

Can you please confirm if you have all the documentation that comes with the FFS package?

If yes, you can go over the explanation of the following parameters and try to reduce your RAM usage by setting them to desired setting -

  • CACHE_RAM_BD_MODULE
  • CACHE_MINIMUM_RAM
  • IONFS_CPATH
  • IONFS_CDATA
  • IONFS_WB
  • FAT_HEAP_SIZE
  • LIM_CACHE_NUM
  • FAT_CACHE_NUM

- Apurva

View solution in original post

0 Likes
1 Reply
Apurva_S
Moderator
Moderator
Moderator
100 likes received 500 replies posted 250 solutions authored

Hi Bill,

Can you please confirm if you have all the documentation that comes with the FFS package?

If yes, you can go over the explanation of the following parameters and try to reduce your RAM usage by setting them to desired setting -

  • CACHE_RAM_BD_MODULE
  • CACHE_MINIMUM_RAM
  • IONFS_CPATH
  • IONFS_CDATA
  • IONFS_WB
  • FAT_HEAP_SIZE
  • LIM_CACHE_NUM
  • FAT_CACHE_NUM

- Apurva

0 Likes