1 Reply Latest reply on May 13, 2019 10:09 PM by SudheeshK_26

    Memory Requirements of SpansionFS + Block Driver + SLLD

    LonPalmer

      Hi,

       

      I've been trying to fit the SpansionFS + BlockDriver + SLLD on a Cortex M0+ with 32kb of RAM and can't seem to make it fit.  The .bss region is always about 50k over even when I reduce the Fat and Lim cache num to their minimum values.

       

      What's the minimum size RAM needed to run the SpansionFS + Block Driver + SLLD?

       

      Thanks!

        • 1. Re: Memory Requirements of SpansionFS + Block Driver + SLLD
          SudheeshK_26

          Hi Lon Palmer,

           

          Can you configure our FFS package as below and check if the memory consumption reduces?

           

          FTL/Format.h (to fit with S25FL512S): (Please change the values according to the Cypress flash device that you use)

          • FTL_DEVICE_TYPE = FTL_DEVICE_NOR
          • EBLOCK_SIZE = 0x40000 (256KB)
          • NUMBER_OF_ERASE_BLOCKS = 256

          FTL/source/include/ftl_if_ex.h (to fit with PSoC 5LP RAM/ROM resource):

          • CACHE_RAM_BD_MODULE = FTL_TRUE
          • CACHE_MINIMUM_RAM = FTL_TRUE

          FileSystem/custionfs.h (to fit with PSoC 5LP RAM/ROM resource):

          • IONFS_CPATH -> undefined
          • IONFS_CDATA -> undefined
          • IONFS_WB -> undefined
          • FAT_HEAP_SIZE = 2048
          • LIM_CACHE_NUM = 1
          • FAT_CACHE_NUM = 2

           

          Which is the Cypress flash device that you use in your application?

           

          Thanks and Regards,

          Sudheesh