error in working with SD card using SPI in STM32F4
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-04-15 12:09 PM
Hello,
I want to work with SD card using SPI in STM32 but it is not working. I tried many things but it didn't work. It was working fine when I tried it 4-5 months ago. What is the problem now? I am referencing sample code from here: https://controllerstech.com/sd-card-using-spi-in-stm32/
Then i referred to other sample code. The problem still continues. "(fresh != FR_OK)" is correct, so I have an error in mounting the SD card. I also tried another SD card. Have you any idea?
- Labels:
-
SPI
-
STM32F4 Series
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-04-15 2:12 PM
Debug the DISKIO layer, if the basic functionality of a block device isn't working it's not something you can fix looking at top-level code. FatFS is pretty solid/stable, so focus on the data you give it to work with.
Up vote any posts that you find helpful, it shows what's working..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-04-16 11:09 AM
Just a warning... ControllersTech is a site made by an absolutely incompetent amateur and is full of broken code.
