0

Grand Central SDcard
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

Grand Central SDcard

by wildwingma on Sat Sep 18, 2021 5:05 pm

what is the max SDcard size for the Grand Central

wildwingma
 
Posts: 2
Joined: Tue Aug 11, 2020 10:24 pm

Re: Grand Central SDcard

by dastels on Sat Sep 18, 2021 9:21 pm

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

dastels
 
Posts: 7514
Joined: Tue Oct 20, 2015 3:22 pm

Re: Grand Central SDcard

by User_UMjT7KxnxP8YN8 on Sun Sep 19, 2021 2:58 pm

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 26 times

User_UMjT7KxnxP8YN8
 
Posts: 255
Joined: Tue Jul 17, 2018 1:28 pm

Please be positive and constructive with your questions and comments.