Altera DE2-115 User Manual page 89

Hide thumbs Also See for DE2-115:
Table of Contents

Advertisement

D
e
m
o
n
s
t
r
a
t
i
o
n
D
e
m
o
n
s
t
r
a
t
i
o
n
 Project directory: DE2_115_SD_CARD
 Bit stream used: DE2_115_SD_CARD.sof
 Nios II Workspace: DE2_115_SD_CARD\Software
D
e
m
o
n
s
t
r
a
t
i
o
n
D
e
m
o
n
s
t
r
a
t
i
o
n
Demo Batch File Folder: DE2_115_SD_CARD \demo_batch
The demo batch file includes the following files:
 Batch File: DE2_115_SD_Card.bat, DE2_115_SD_CARD_bashrc
 FPGA Configure File: DE2_115_SD_CARD.sof
 Nios II Program: DE2_115_SD_CARD.elf
D
e
m
o
n
s
t
r
a
t
i
o
n
D
e
m
o
n
s
t
r
a
t
i
o
n
 Make sure Quartus II and Nios II are installed on your PC.
 Power on the DE2-115 board.
 Connect USB Blaster to the DE2-115 board and install USB Blaster driver if necessary.
 Execute the demo batch file "DE2_115_SD_Card.bat" under the batch file folder,
DE2_115_SD_CARD\demo_batch.
 After Nios II program is downloaded and executed successfully, a prompt message will be
displayed in nios2-terminal.
 Copy test files to the root directory of the SD Card.
 Insert the SD Card into the SD Card socket of DE2-115, as shown in
 Press KEY3 of the DE2-115 board to start reading SD Card.
 The program will display SD Card information, as shown in
Figure 6-10 Software Stack of the SD Card Demonstration
S
o
u
r
c
e
C
o
d
e
S
o
u
r
c
e
C
o
d
e
B
a
t
c
h
F
i
l
e
B
a
t
c
h
F
i
l
e
S
e
t
u
p
S
e
t
u
p
Main
FAT File System
SD Card
Nios II PIO
88
Figure
6-11.
Figure
6-12.

Advertisement

Table of Contents
loading

Table of Contents