FPGA, SoC, And CPLD Boards And Kits
FPGA Evaluation and Development Kits
5925 Discussions

How to store data in de2 SDcard

Altera_Forum
Honored Contributor II
1,284 Views

Anyone tried this?? 

 

I want to read and write data to the sdcard but i dont know how.... 

 

Anyone could point me in the right direction???
0 Kudos
4 Replies
Altera_Forum
Honored Contributor II
295 Views

 

--- Quote Start ---  

Anyone tried this?? 

 

I want to read and write data to the sdcard but i dont know how.... 

 

Anyone could point me in the right direction??? 

--- Quote End ---  

 

 

I´m sure there are SOPC ready IP´s in the SOPC Builder. So you can build your own NIOS CPU with a sd-card IP and then you can open it and handle it like a file.
0 Kudos
Altera_Forum
Honored Contributor II
295 Views

hi miki ! you can explain for me how to write data to sdcard ? 

 

i don't know function of : 

 

short int alt_up_sd_card_fopen(char *name, bool create) 

 

you can give me example about char *name ? 

 

i shall thank you alot ! 

sorry for poor my english !
0 Kudos
Altera_Forum
Honored Contributor II
295 Views

Hi,  

 

this pdf shows you what you have to do to use the IP-Core succesfully. There are also examples. I think you can copy them. 

 

I hope this will help you. 

 

ftp://ftp.altera.com/up/pub/university_program_ip_cores/90/sd_card_interface_for_sopc_builder.pdf
0 Kudos
Altera_Forum
Honored Contributor II
295 Views

Thank you for your help !:-P i have consider the pdf,but it seems to be short with beginer as me. when i look at the example in SD/MMC SPI Core of El Camino, i could understand it.And now,i can write code for my project ! 

say good bye to you !:)
0 Kudos
Reply