2018-06-14 12:48 AM
I am using stm32F411RE discovery kit. i generate a code with the cubeMX4.25, the 4GB SDHC card is working fine but when i tried with the 256MB SD Card it was not working. I am getting error 'FR_NOT_READY' in f_mount function.
Other SD Cards (4GB and 16GB) are successfully mounted and file can be written/read.
#fatfs-sdio #sd-card #fr_not_ready #f_mount-sdcard #sdio-fatfs #stm32f4-sdio #stm32f411e-disco #f_mount2018-06-26 06:12 AM
Hello
durmil
,I recommend you to follow these documents:
https://community.st.com/0D50X00009bMM7JSAW
https://community.st.com/0D50X00009bMM8bSAG
With Regards,
Imen.
2018-06-26 06:32 AM
Dear Imen,
Thank you for the prompted response.
We also need the USB feature so the USB + (SDIO + DMA) are conflicting to each other. so, Can it possible this without DMA.
We have configured with 4bit SDIO + FatFs R0.12.
While the cubeMx generated code showing some errors so the _FFCONF is changed with 32020.
Regards,
Durmil Makwana
2018-06-26 09:17 AM
Dear
durmil
,
Getting the “FR_NOT_READY�? error means that the SD_initialize() call failed for some reason.
It is done in the ‘sd_diskio.c’ file.
How is you doing the test?, As far as I know, the STM32411-Disco board doesn’t have any uSD port.
C
an you please attache your ioc file, I
will check your issue and come back to you.
With Regards,
Imen
2018-06-26 10:01 AM
2018-06-26 10:27 PM
Hello
,Please find the attachment for .ioc file of my project.
Because of USB module we don't want to use DMA in my code so we have configured the project without DMA.
my basic requirementis256MB SD Card using 4bit SDIO.
Regards,
Durmil Makwana
________________ Attachments : CubeMxSDIOInterface.ioc.zip : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006HxTM&d=%2Fa%2F0X0000000ayU%2FrYjglQX91MYCtnE1NRKbrrFNoZojDFz7cwO4BWWdC5I&asPdf=false2018-06-30 03:34 AM
Hello,
We Found a problem with SD Card Socket there is all data pins are shorted in the module. now we can read write in 4GB and 16GB card with DMA and Without DMA using 4bit and 1bit modes. 4GB(SDHC class-4) Card is working at 2MHz frequecy and the 16GB(class-10) Card is working at 500KHz.
In the Hardware we have pulled up the lines with the 47K resistors.
But still the problem is same that the 256MB Card is not working at any frequencies - (from 300KHz to 8MHz).
Is there any changes required specific for 256MB Memory Card.
We are using this memory card to store the data.
2018-06-30 09:38 AM
2018-06-30 09:58 AM
2018-06-30 11:26 AM