- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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!
Solved! Go to Solution.
- Tags:
- spansionfs
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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