Page 1 of 1

Example SDC STM32F3

Posted: Tue Dec 24, 2013 1:15 am
by NOOB
Hello,

I’m trying to make the example of the ARMCM3-STM32F107-FATFS work on a STM32F3.
Does someone have experience with this?
Or can somebody give me example code perhaps? One of the errors I have is “too few arguments to function 'f_mount’ ”

Thanks in advance

Re: Example SDC STM32F3

Posted: Tue Dec 24, 2013 8:40 am
by Giovanni
Hi,

You don't five enough info for a meaningful answer, basically it is possible, you need:
1) Attach an SD connector to an SPI using very short wires (most fail here....).
2) Adapt one of the FatFS demos using the driver MMC_SPI to the F3 by changing the paths in the Makefile.
3) Create your board files including all the definitions you need.
4) Adapt the main.c application.

NOOB wrote:One of the errors I have is “too few arguments to function 'f_mount’ ”


This does not tell me anything except that probably you have too few arguments to function f_mount()...

Giovanni