Programmable Devices
CPLDs, FPGAs, SoC FPGAs, Configuration, and Transceivers
21600 Discussions

Read a SD Card with a DE0.

Altera_Forum
Honored Contributor II
1,531 Views

Good Afternoom,  

 

 

I would like to know, how i can access a card memory.. 

 

 

My application is very simple, i want to read a text stored in the card memory, Perform a function with string and store the new string in the card in a different file. 

 

But i am new in this world of fpga and vhdl, someone can help me? 

 

 

 

 

 

 

0 Kudos
1 Reply
Altera_Forum
Honored Contributor II
653 Views

Altera university program offers an sd card IP controller in spi mode. Is that good for you? If you want a faster communication protocol - like 4 wire - then you need to create your own sd card controller or buy a license for a premade core (the SD card communication protocol is really complicated). Additionally, to read txt files you need to have a FAT file system interpreter in your C code.  

 

I've been working on an open source 4 wire sd card controller (http://www.alteraforum.com/forum/showthread.php?t=48229), its not complete yet. You can find open source FAT file system code as well and use it as part of your stack.
0 Kudos
Reply