cancel
Showing results for 
Search instead for 
Did you mean: 

STM32 sd card high capacity

Cesar cfg
Associate II
Posted on April 03, 2013 at 10:38

Hi everybody

I am working with stm32 to store data into a micro sdcard (64 Mega  Bytes) and everything works fine but when i decided to work  with sdcard(4 G  Bytes) i found a problem in sdcard initialization.

#no-crystal-ball
4 REPLIES 4
Andrew Neil
Evangelist
Posted on April 03, 2013 at 11:09

''i found a problem in sdcard initialization''

Well, thanks for the information!

If you want people to give suggestions to fix this ''problem'', do you not thing that it would be necessary for them to know what this ''problem'' is, exactly?

And what steps you have taken to debug it so far?

http://www.catb.org/~esr/faqs/smart-questions.html#beprecise

Posted on April 03, 2013 at 11:16

ST supplied code has known deficiencies, like representing byte offsets with 32-bit values. I've addressed these before.

There are some more subtle DMA issues with Ultra (SDXC) cards, and the standard format of 64GB+ cards is ExFat
Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
Cesar cfg
Associate II
Posted on April 03, 2013 at 11:49

I  use the spi to connect to my sdcard. 

my problem is that the function MSDGetresponse return MSD_RESPONSE_FAILURE.I think that a timeout is happen. 

Cesar cfg
Associate II
Posted on April 03, 2013 at 12:56

Clive1 

I think that i should change the functions MSDReadBuffer and MSDwritebuffer.Do you have any idea how i can change it.