DE2_SD_Card_Audio

所属分类:单片机开发
开发工具:Others
文件大小:1774KB
下载次数:325
上传日期:2009-08-09 16:06:57
上 传 者lgydqy
说明:  在ALTERA的DE2板子上做的一个读写SD卡的例子,基于QUARTUS II ,SOPC BUILDER ,Nios II IDE实现的,从SD卡读写东西
(The DE2 board in ALTERA do an SD card reader example, based on the QUARTUS II, SOPC BUILDER, Nios II IDE achieved something from the SD card reader)

文件列表:
DE2_SD_Card_Audio\.metadata\.lock (0, 2007-06-29)
DE2_SD_Card_Audio\.metadata\.log (1835, 2007-06-29)
DE2_SD_Card_Audio\.metadata\.plugins\org.eclipse.cdt.core\.log (518, 2007-11-21)
DE2_SD_Card_Audio\.metadata\.plugins\org.eclipse.cdt.core\hello_led_0.1181735164796.pdom (49152, 2007-06-29)
DE2_SD_Card_Audio\.metadata\.plugins\org.eclipse.cdt.core\hello_led_0_syslib.1181735165796.pdom (16384, 2007-06-29)
DE2_SD_Card_Audio\.metadata\.plugins\org.eclipse.cdt.make.core\specs.c (1, 2007-06-29)
DE2_SD_Card_Audio\.metadata\.plugins\org.eclipse.cdt.make.core\specs.cpp (1, 2007-06-29)
DE2_SD_Card_Audio\.metadata\.plugins\org.eclipse.core.resources\.projects\hello_led_0\.indexes\properties.index (156, 2007-06-29)
DE2_SD_Card_Audio\.metadata\.plugins\org.eclipse.core.resources\.projects\hello_led_0\.properties (66560, 2007-06-29)
DE2_SD_Card_Audio\.metadata\.plugins\org.eclipse.core.resources\.projects\hello_led_0_syslib\.indexes\properties.index (162, 2007-06-29)
DE2_SD_Card_Audio\.metadata\.plugins\org.eclipse.core.resources\.projects\hello_led_0_syslib\.properties (66560, 2007-06-29)
DE2_SD_Card_Audio\.metadata\.plugins\org.eclipse.core.resources\.root\.indexes\history.version (1, 2007-11-21)
DE2_SD_Card_Audio\.metadata\.plugins\org.eclipse.core.resources\.root\.indexes\properties.index (104, 2007-11-21)
DE2_SD_Card_Audio\.metadata\.plugins\org.eclipse.core.resources\.root\.indexes\properties.version (1, 2007-11-21)
DE2_SD_Card_Audio\.metadata\.plugins\org.eclipse.core.resources\.root\11.tree (53350, 2007-11-21)
DE2_SD_Card_Audio\.metadata\.plugins\org.eclipse.core.resources\.safetable\org.eclipse.core.resources (420, 2007-11-21)
DE2_SD_Card_Audio\.metadata\.plugins\org.eclipse.core.runtime\.settings\org.eclipse.cdt.core.prefs (95, 2007-06-29)
DE2_SD_Card_Audio\.metadata\.plugins\org.eclipse.core.runtime\.settings\org.eclipse.cdt.debug.core.prefs (1251, 2007-11-21)
DE2_SD_Card_Audio\.metadata\.plugins\org.eclipse.core.runtime\.settings\org.eclipse.cdt.managedbuilder.core.prefs (2135, 2007-11-21)
DE2_SD_Card_Audio\.metadata\.plugins\org.eclipse.core.runtime\.settings\org.eclipse.cdt.ui.prefs (118, 2007-06-29)
DE2_SD_Card_Audio\.metadata\.plugins\org.eclipse.core.runtime\.settings\org.eclipse.core.resources.prefs (73, 2007-06-29)
DE2_SD_Card_Audio\.metadata\.plugins\org.eclipse.core.runtime\.settings\org.eclipse.ui.ide.prefs (111, 2007-11-21)
DE2_SD_Card_Audio\.metadata\.plugins\org.eclipse.core.runtime\.settings\org.eclipse.ui.prefs (79, 2007-06-29)
DE2_SD_Card_Audio\.metadata\.plugins\org.eclipse.debug.core\.launches\hello_led_0 Nios II HW configuration.launch (2426, 2007-06-29)
DE2_SD_Card_Audio\.metadata\.plugins\org.eclipse.debug.ui\dialog_settings.xml (685, 2007-06-29)
DE2_SD_Card_Audio\.metadata\.plugins\org.eclipse.debug.ui\launchConfigurationHistory.xml (1003, 2007-06-29)
DE2_SD_Card_Audio\.metadata\.plugins\org.eclipse.ui.ide\dialog_settings.xml (734, 2007-11-21)
DE2_SD_Card_Audio\.metadata\.plugins\org.eclipse.ui.workbench\dialog_settings.xml (80, 2007-11-21)
DE2_SD_Card_Audio\.metadata\.plugins\org.eclipse.ui.workbench\workbench.xml (10444, 2007-11-21)
DE2_SD_Card_Audio\.metadata\version.ini (26, 2007-11-21)
DE2_SD_Card_Audio\.sopc_builder\filters.xml (65, 2009-08-07)
DE2_SD_Card_Audio\.sopc_builder\install.ptf (7441, 2009-08-07)
DE2_SD_Card_Audio\.sopc_builder\install2.ptf (125, 2007-06-29)
DE2_SD_Card_Audio\.sopc_builder\preferences.xml (1159, 2009-08-07)
DE2_SD_Card_Audio\altpllpll_0.ppf (416, 2007-06-29)
DE2_SD_Card_Audio\Audio_0.v (2358, 2007-06-29)
DE2_SD_Card_Audio\Audio_DAC_FIFO\cb_generator.pl (31230, 2007-06-29)
DE2_SD_Card_Audio\Audio_DAC_FIFO\class.ptf (29312, 2007-06-29)
DE2_SD_Card_Audio\Audio_DAC_FIFO\hdl\AUDIO_DAC_FIFO.v (3386, 2007-06-29)
DE2_SD_Card_Audio\Audio_DAC_FIFO\hdl\FIFO_16_256.v (6591, 2007-06-29)
... ...

DE2_SD_Card_Audio ----------------- This designs uses a Nios II system to demonstrate how to read from the SD card. The software reads WAV files from the SD card and plays it through the LINE OUT line. Simply put a SD card into the slot on the board and connect some speakers to the LINE OUT port. Preparing the SD card --------------------- To prepare the SD card for reading by the design, it should be formatted using a FAT16 file system. Then WAV files can be copied on to the card. Note that if you want to add a file after you've removed the card from the computer, you must reformat the card first and then re-add the files. Running the Design ------------------ 1) Launch the Quartus II software. 2) Open the DE2_SD_Card_Audio.qpf project located in the \DE2_SD_Card_Audio folder. (File menu -> Open Project) 3) Open the Programmer window. (Tools menu -> Programmer) 4) The DE2_SD_Card_Audio.sof programming file should be listed. Check the 'Program/Configure' box and set up the JTAG programming hardware connection via the 'Hardware Setup' button. 5) Press 'Start' to start programming. The design should now be programmed. 6) Launch the Nios II IDE. 7) Switch the workspace to the \DE2_SD_Card_Audio folder. 8) Build the project. (Project menu -> Build All) 9) Run the project on the board. (Run menu) User Inputs to the Design ------------------------- None. Compiling the Design -------------------- 1) Launch the Quartus II software. 2) Open the DE2_SD_Card_Audio.qpf project located in the \DE2_SD_Card_Audio folder. (File menu -> Open Project) 3) Start compilation. (Processing -> Start Compilation) 4) After compilation is finished, you can run the design with the generated SOF file. See 'Running the Design' above, which includes steps to build the Nios II project.

近期下载者

相关文件


收藏者