Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
16 years ago

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???

4 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    --- 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's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    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's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    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 !:)