Page 2 of 2

Re: STM32SD on WeAct H563 return Begin not ready

Posted: Sat Feb 08, 2025 2:01 pm
by GonzoG
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.
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.
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
at the beginning of your sketch should work.

Re: STM32SD on WeAct H563 return Begin not ready

Posted: Sat Feb 08, 2025 2:34 pm
by fpiSTM
ExFatFS is not released yet. Added last week so you need to use the git repo to get it.