Grand Central SDcard
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- wildwingma
- Posts: 2
- Joined: Tue Aug 11, 2020 10:24 pm
Grand Central SDcard
what is the max SDcard size for the Grand Central
- dastels
- Posts: 15658
- Joined: Tue Oct 20, 2015 3:22 pm
Re: Grand Central SDcard
The only related mention I see is "any size":
DaveMicro SD Card slot - removable storage of any size, connected to an SPI SERCOM (SDIO is not supported)
- User_UMjT7KxnxP8YN8
- Posts: 323
- Joined: Tue Jul 17, 2018 1:28 pm
Re: Grand Central SDcard
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:
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.
Please be positive and constructive with your questions and comments.