Grand Central SDcard

Please tell us which board you are using.
For CircuitPython issues, ask in the Adafruit CircuitPython forum.

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
wildwingma
 
Posts: 2
Joined: Tue Aug 11, 2020 10:24 pm

Grand Central SDcard

Post by wildwingma »

what is the max SDcard size for the Grand Central

User avatar
dastels
 
Posts: 15653
Joined: Tue Oct 20, 2015 3:22 pm

Re: Grand Central SDcard

Post by dastels »

The only related mention I see is "any size":
Micro SD Card slot - removable storage of any size, connected to an SPI SERCOM (SDIO is not supported)
Dave

User avatar
User_UMjT7KxnxP8YN8
 
Posts: 323
Joined: Tue Jul 17, 2018 1:28 pm

Re: Grand Central SDcard

Post by User_UMjT7KxnxP8YN8 »

Max SD card capacity doesn't seem to be limited by the hardware but it does depend on your choice of file system. FAT32 can handle cards up to 32 GB and files up to 4 GB. If you need to go larger, you need the exFAT file system. Version 2 of Bill Greiman's SDFat library, upon which the Adafruit SDFat fork appears to be based, supports FAT16, FAT32 and exFAT https://github.com/greiman/SdFat. Not sure about the Adafruit fork, but if you're just starting development you can go with Bill's current version.

From his README.md file:
SdFat Version 2 supports FAT16/FAT32 and exFAT SD cards. It is mostly backward compatible with SdFat Version 1 for FAT16/FAT32 cards.
exFAT supports files larger than 4GB so files sizes and positions are type uint64_t for classes that support exFAT.
exFAT has many features not available in FAT16/FAT32. exFAT has excellent support for contiguous files on flash devices and supports preallocation.
Max SD Card Size for Various File Systems.jpg
Max SD Card Size for Various File Systems.jpg (113.5 KiB) Viewed 373 times

Locked
Please be positive and constructive with your questions and comments.

Return to “Metro, Metro Express, and Grand Central Boards”