cancel
Showing results for 
Search instead for 
Did you mean: 

stm32f103 sdio+fatfs interface project not working....

Bnaga
Associate II

Dear Members,

I am interfacing SD card (2 gb , 4 gb , 16 gb) micro SD cards. Microcontroller Used STM32F103RCT6 With SDIO + FATFS. I am trying to Create the New Word Document,To SD Card...But It Fails. Somebody help me To Do Further To Solve my problems..

3 REPLIES 3

Rather than using CubeMX to generate unworking code, perhaps look at some of the HAL examples demonstrating SDIO on the EVAL series boards, and port those to your platform?

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
Bnaga
Associate II

No , I tried STM CUBE MX GENERATED CODE ..

IF POSSIBLE PLEASE PROVIDE THE OTHER ANY EXAMPLE OF SDIO+FATFS FOR SD CARD 2 GB CARD ......( I USED SCAN DISK 2 GB, MICRO SD CARD 4GB) NOT WORKING.

PROVIDE ME THE EXAMPLE CODE FOR STM32F103RCT6 ...?????

I AM STRUCK IN THIS PAST ONE MONTH , I UNABLE MOVE FURTHER MY PROJECT.....

A month in, I'd probably fire you.

STM32Cube_FW_F1_V1.7.0\Drivers\BSP\STM3210E_EVAL\stm3210e_eval_sd.c

STM32Cube_FW_F1_V1.7.0\Projects\STM3210E_EVAL\Applications\FatFs\FatFs_uSD\readme.txt

Get a board with known working hardware, review the software in that context, and port into your own target.

Review the code and the schematic design.

I could create a worked example for a given target board, but there would be costs involved, I'm a commercial embedded developer.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..