Appendix b. application selector details, Sd card, Application files – Altera Nios II Embedded Evaluation Kit Cyclone III Edition User Manual
Page 55: Sd card directory structure, Appendix b, application selector details

Altera Corporation
Development Board Version 1.0.
B–1
July 2010
Appendix B. Application
Selector Details
This section describes some details about the operation of the Application
Selector.
SD Card
The Application Selector uses the SD Card for storing applications and
data used by these applications (such as the pictures used by the picture
viewer or the HTML pages used by the Web Server application). The SD
Card must be formatted with the FAT 16 file system, and can be any
capacity up to 2GB. Long file names are supported.
Application Files
Each loadable application consists of two flash files, and an optional text
file, all stored on an SD Card.
The first flash file represents the software portion of the example and
must be derived from an .ELF file as described in the section of this
document titled
“Creating Your Own Loadable Applications”
. This flash
file can be named anything supported by the FAT16 file system, the only
restriction being that the name must end with _sw.flash.
The second flash file represents the hardware portion of the example and
must be derived from a .SOF file as described in the section of this
document titled
“Creating Your Own Loadable Applications”
. This file
can be named anything supported by the FAT 16 file system, the only
restriction being that the name must end with _hw.flash
The optional info.txt file contains additional information about the
application. In the application selector utility, touching the “Show Info”
button while your application is highlighted, brings up a window
showing the text contained in this file. The name of this text file must be
info.txt, or the application selector will not recognize it.
SD Card
Directory
Structure
All loadable applications on the SD Card must be located in a top-level
directory named Altera_EEK_Applications. Under the
Altera_EEK_Applications directory, each application is located in its own
subdirectory. The name of that subdirectory is important because the
application selector utility uses that name as the title of the application
when displaying it in the main menu. The name of the
subdirectory is the
title that will be displayed
for your application in the menu. The
subdirectory names can be anything so long as they adhere to the FAT file
system long file name rules. Spaces are permitted.