Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Altera_Forum
Honored Contributor I
1,167 Views

SD Card for SOPC with Fat32

Hello, 

 

I have a Cylone II board with a Micro SDCardon it. I would use a Fat32 formated Card und Quarts 9.0 SP2. Are there some IP Core forte SOPC builder to save some data (no Pictures) on this Card? 

 

Thanks for your help.
0 Kudos
4 Replies
Altera_Forum
Honored Contributor I
57 Views

The "Serial Peripheral Interface (SPI)" IP can give you low level access to and SD card. However, it's got no awareness of data structure - such as FAT32. If you want to store data in such a way as to be FAT32 compliant you'll have to look at doing so in software - and quite a lot of it. 

 

Cheers, 

Alex
Altera_Forum
Honored Contributor I
57 Views

Hello Alex, 

 

of course that is an good idea. Actual i start to Transfer the generic Fat from this site 

 

http://elm-chan.org/fsw/ff/00index_e.html 

 

on my NiosII. 

 

Has anybody tryed this before? 

 

Thanks 

Andreas
Altera_Forum
Honored Contributor I
57 Views

Hello, 

 

it is not easy. My SD-Card doesn't answer. 

 

Can anybody help me how I can test my communication with the sd-card? 

 

Thanks
Altera_Forum
Honored Contributor I
57 Views

Have you found this page (from the same site you had found)? 

 

http://elm-chan.org/docs/mmc/mmc_e.html 

 

Pay attention to the Initialization Procedure for SPI Mode (assuming that's how you're trying to access your SD card). Have you put your SD card into SPI mode? I won't respond until you do. 

 

Cheers, 

Alex
Reply