AnsweredAssumed Answered

Fatfs SD card on STM32152L-Discovery board

Question asked by chai.jianlong on Aug 27, 2012
Latest reply on Aug 28, 2012 by Clive One

I am working on read,write to a SD card using SPI method on board STM32152L-Discovery board. Now I can create a folder, create a file, and read, write. But when I want to get the capacity of the SD card, no matter I use 1GB SD card or 2 GB SD card, I get DeviceSize 2037672302, CardCapacity 1380012885, CardBlockSize 12628。
Any ideas?

Thank you.