Nios® V/II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® V/II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++
12612 Discussions

Need a SD Card demonstration in NIOS II

Altera_Forum
Honored Contributor II
1,326 Views

hello,everyone 

In the DE2_SD_Card_Audio project, the designs uses a Nios II system to demonstrate how to read from the SD card.But the software in NIOS II has not involved to the file memory operation,only has realized the signal succession.Now I am making a topic about the video gathering and return back,needs the video which gathers to save to the SD card ,and reads out the video from it. I did not know how to edit the code about SD card , who has SD card examples? 

Thanks!
0 Kudos
6 Replies
Altera_Forum
Honored Contributor II
360 Views

 

--- Quote Start ---  

originally posted by william88@Jul 11 2006, 10:54 PM 

hello,everyone 

in the de2_sd_card_audio project, the designs uses a nios ii system to demonstrate how to read from the sd card.but the software in nios ii has not involved to the file memory operation,only has realized the signal succession.now i am making a topic about the video gathering and return back,needs the video which gathers to save to the sd card ,and reads out the video from it. i did not know how to edit the code about sd card , who has sd  card examples? 

thanks! 

<div align='right'><{post_snapback}> (index.php?act=findpost&pid=16793) 

--- quote end ---  

 

--- Quote End ---  

 

what you need is a file system, may be fat? see this thread, 

http://forum.niosforum.com/forum/index.php?showtopic=4233 (http://forum.niosforum.com/forum/index.php?showtopic=4233

 

or you may try uclinux, there are good file system support. Jdhar had ported a SD driver, and you may port it to your board.
0 Kudos
Altera_Forum
Honored Contributor II
360 Views

 

--- Quote Start ---  

originally posted by hippo+jul 12 2006, 10:55 am--><div class='quotetop'>quote (hippo @ jul 12 2006, 10:55 am)</div> 

--- quote start ---  

<!--quotebegin-william88@Jul 11 2006, 10:54 PM 

hello,everyone 

in the de2_sd_card_audio project, the designs uses a nios ii system to demonstrate how to read from the sd card.but the software in nios ii has not involved to the file memory operation,only has realized the signal succession.now i am making a topic about the video gathering and return back,needs the video which gathers to save to the sd card ,and reads out the video from it. i did not know how to edit the code about sd card , who has sd  card examples? 

thanks! 

<div align='right'><{post_snapback}> (index.php?act=findpost&pid=16793) 

--- quote end ---  

 

--- Quote End ---  

 

what you need is a file system, may be fat? see this thread, 

http://forum.niosforum.com/forum/index.php?showtopic=4233 (http://forum.niosforum.com/forum/index.php?showtopic=4233

 

or you may try uclinux, there are good file system support. Jdhar had ported a SD driver, and you may port it to your board. 

<div align='right'><{post_snapback}> (index.php?act=findpost&pid=16804)</div> 

[/b] 

--- Quote End ---  

 

 

hello!hippo 

i&#39;m going to write a program to write some dato into my sd card by de2, i found it&#39;s not a small project to use most of the useage of a sd card, i haven&#39;t managed to meet the basic write operation yet, is there some already-exist examples for this project? 

my board is de2, and my sd card is made by sandisk.
0 Kudos
Altera_Forum
Honored Contributor II
360 Views

Hello,hippo 

 

Could you tell me how I can contact to Jdhar,could you tell me his E-mail addres,or you can send it to my E-mail ,I am working hard at it and did not get well with it. 

thanks very much! http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/biggrin.gif
0 Kudos
Altera_Forum
Honored Contributor II
360 Views

 

--- Quote Start ---  

originally posted by lizun619@Jul 25 2006, 12:41 AM 

hello,hippo 

 

could you tell me  how  i can contact to  jdhar,could you tell  me his  e-mail addres,or you can send it  to  my e-mail ,i am working hard at it and did not  get well with it. 

thanks very much! http://forum.niosforum.com/work2/style_emoticons/<#emo_dir#>/biggrin.gif  

<div align='right'><{post_snapback}> (index.php?act=findpost&pid=17075) 

--- quote end ---  

 

--- Quote End ---  

 

please search "SD" on nios2 uclinux forum.
0 Kudos
Altera_Forum
Honored Contributor II
360 Views

When I search "SD" on nios2 uclinux forum.An error takes place like this: 

One or all of your search keywords were below 3 characters or you are searched for words which are not allowed, such as &#39;html&#39;, &#39;img&#39;, etc, please go back and increase the length of these search keywords or choose different keywords. 

 

Actually,I can use uc/fs file system,I think it is easier than uclinux.I have already downloaded the uc/fs code,but in the FS\DEVICE folder there has no driver for SD/MMC NAND Flash.Now I need to use the SD card, but I did not know how to write the driver, who can provide this driver? Thanks!
0 Kudos
Altera_Forum
Honored Contributor II
360 Views

 

--- Quote Start ---  

originally posted by william88@Jul 25 2006, 11:49 AM 

when i search "sd" on nios2 uclinux forum.an error takes place like this: 

one or all of your search keywords were below 3 characters or you are searched for words which are not allowed, such as &#39;html&#39;, &#39;img&#39;, etc, please go back and increase the length of these search keywords or choose different keywords. 

 

actually,i can use uc/fs file system,i think it is easier than uclinux.i have already downloaded the uc/fs code,but in the fs\device folder there has no driver for sd/mmc nand flash.now i need to use the sd card, but i did not know how to write the driver, who can provide this driver? thanks! 

<div align='right'><{post_snapback}> (index.php?act=findpost&pid=17085) 

--- quote end ---  

 

--- Quote End ---  

 

http://forum.niosforum.com/forum/index.php...pic=3562&hl=mmc (http://forum.niosforum.com/forum/index.php?showtopic=3562&hl=mmc)
0 Kudos
Reply