STM32F217VG + MicroSD + SDIO + FatFs problem
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2014-05-07 1:42 AM
Posted on May 07, 2014 at 10:42
Hi,
I've a problem with my STM32F217VG. I need to use fat filesystem on MicroSD card (2 GB) to read/write/create files.I tried to use Chan FatFs module but it didn't working at all ...I use SD card in SDIO mode.When I debug: I call the sub ''f_mount'' and return an error! I follow the problem inside : ''disk_initialize'' >> ''SD_Init'' >> ''SD_PowerON'' >> ''CmdResp3Error'' return always ''SD_CMD_RSP_TIMEOUT'' ... with or without MicroSD !!!! I'm desperate :-(((1. I don't know if the subs ''SD_Init'', ''SD_PowerON''... are the right ones! Where I can find the correct sub for my STM32F217 ?2. What could be the problem ?Thanks. #stm32 #sdio-fatfs
Labels:
- Labels:
-
SDIO-SDMMC
This discussion is locked. Please start a new topic to ask your question.
2 REPLIES 2
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2014-05-07 3:08 AM
Posted on May 07, 2014 at 12:08
Did you checked that SDcard is connected to the MCU using the same pins that are configured in the software ?
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2014-05-14 6:27 AM
Posted on May 14, 2014 at 15:27Thanks for your reply.The problem was related to the files ''*.h'' that I used.I downloaded the file ''stm32cubef2.zip'' and I found all the necessary files. Thanks again
