All,
According to the Keil website the FlashFS library supports the following SD memory cards:
"....and SD/MMC/SDHC Memory Cards."
I have a requirement for SDXC card support (>32GB). Does anybody know if this LIB is capable of supporting up to 2TB memory?
It seems to me that it would (except for maybe some 32 bit variable problems), because the addressing of SDHC is done by 512 byte 'units' to circumvent the addressing issues with earlier SDSC cards. This method suggets that for up to 2TB (current SDXC spec requirements) a 32 bit variable will suffice (ie: So 2TB : (2,199,023,255,552 / 512) = 4294967296 (-1) (0xFFFFFFFF) which fits in a UINT32).
Many thanks. -S
Follow up FYI:
I have tested both a 32GB SDHC (1st test) card and a 64GB SDXC card (2nd test) on the FLASH FS library and it seems even though I formatted the 64GB with the /FAT32 option that it does NOT detect the proper size of the card when the DIR command is executed. The SDIO interface was used.
So, it seems that there IS a problem with any SD Card greater than 32GB with this library as it currently is written (the eval board and code used was out of the /Keil450/ARM/Boards/ST/STM3220G-EVAL\RL\FlashFS directory).
Here are the results:
+-----------------------------------------------------------------------+ | SD/MMC Card File Manipulation example | | command ------------------+ function ---------------------------------+ Cmd> dir File System Directory... TEST 31.890 01.01.2011 12:00 1 File(s) 31.890 bytes 31.906.988.032 bytes free. +-----------------------------------------------------------------------+ | SD/MMC Card File Manipulation example | | command ------------------+ function ---------------------------------+ Cmd> format /fat32 Format Flash Memory Card? [Y/N] Memory Card Formatted. Card Label is /fat32 Cmd> dir File System Directory... No files... 29.497.458.688 bytes free.