STM32SD on WeAct H563 return Begin not ready

Post here first, or if you can't find a relevant section!
GonzoG
Posts: 491
Joined: Wed Jan 15, 2020 11:30 am
Answers: 36
Location: Prudnik, Poland

Re: STM32SD on WeAct H563 return Begin not ready

Post 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.
fpiSTM
Posts: 1944
Joined: Wed Dec 11, 2019 7:11 pm
Answers: 108
Location: Le Mans
Contact:

Re: STM32SD on WeAct H563 return Begin not ready

Post by fpiSTM »

ExFatFS is not released yet. Added last week so you need to use the git repo to get it.
Post Reply

Return to “General discussion”