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

How to store data in de2 SDcard

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 I
50 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.
Altera_Forum
Honored Contributor I
50 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 !
Altera_Forum
Honored Contributor I
50 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
Altera_Forum
Honored Contributor I
50 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 !:)
Reply