AnsweredAssumed Answered

Is a SPI driver for FatFS available for SD cards greater than 4GB?

Question asked by brown.euan on Sep 10, 2015
Can anyone tell me if a SPI driver exists to link with FATFs that supports SDHC/SDXC cards. i.e. greater than 4GB.

The examples supplied in the STCube only seems to support SDSC <4GB.
I see that clive1 has patched the SDIO example in the link below but I am looking for a SPI version.
https://my.st.com/public/STe2ecommunities/mcu/Lists/cortex_mx_stm32/Flat.aspx?RootFolder=%2Fpublic%2FSTe2ecommunities%2Fmcu%2FLists%2Fcortex_mx_stm32%2FSTM32%20sdio%20sdhc%204gb%20problem&FolderCTID=0x01200200770978C69A1141439FE559EB459D7580009C4E14902C3CDE46A77F0FFD06506F5B&currentviews=6546

If it doesn't exist then I will have to patch the existing example but I would obviously like to avoid this.

I am developing on the STM32F030R8-Discovery which uses the stm32_adafruit_sd.c driver to interface with the FATFs as starting point.

Outcomes