I've looked through STM32SD and ported FatFS code and there is support for exFAT (used for >= 64GB cards), but it might not be enabled by default.imk wrote: Sat Feb 08, 2025 12:17 am So I put the 64Gb SD card in the board again and sd.begin returns false.
Hence it seems that the STM32SD library does not support 64Gb cards .
Thanks for all your help IMK.
You may need to set it to use ffconf_default_68300.h config, because I think it defaults to 80286 or 32020 which do not have exFat enabled.
Adding
Code: Select all
#define FF_DEFINED 868300