beautypg.com

Application selector details, Hardware images, Software images – Altera Embedded Systems Development Kit, Cyclone III Edition User Manual

Page 49: Cfi flash, Chapter 8. application selector details, Hardware images –1 software images –1 cfi flash –1, Chapter 8, application selector details

background image

Altera Corporation

Development Board Version 1.0.

8–1

July 2010

Preliminary

Altera Embedded Systems Development Kit, Cyclone III Edition

8. Application Selector

Details

This section describes how to rebuild the Application Selector utility from
source code using the Nios II Software Build Tools. If you are new to
developing software on the Nios II processor it is recommended that you
first go through the tutorial My First Nios II Software Tutorial. This will
walk you through compiling a simple project that runs on the Nios.

The Application Selector uses the on-board CFI flash to store several
different things.

Table 8–1

shows a map of how the different sections of

flash are used by the Application Selector.

Hardware
Images

CFI flash is used to store both the hardware image of the Application
Selector itself, as well as up to 10 hardware images of applications which
are being loaded.

The Application Selector hardware image is permanently stored in flash
at offset 0x2000000.

Hardware images for the applications being loaded get written to flash at
load time to an offset between 0x2380000 and 0x3C00000, depending on
caching. Hardware image caching is described in more detail in the
section titled

“Hardware Image Caching ”

.

Software Images

CFI flash is used to store the software images of both the Application
Selector utility itself as well as software images of applications being
loaded. All software images used by the application selector contain a
boot copier which is pre-pended by the elf2flash utility during file
conversion process described in the

“Creating your own Ready-to-Run

Applications” on page 5–5

” section. The boot copier copies the software

code to program memory before running it.

CFI Flash

The Application Selector software image is permanently stored in flash at
offset 0x100000 Software images for the applications being loaded get
written to flash at load time to offset 0x0240000. Software images must be
smaller than approx 24MB, or they will overwrite the reserved flash space
located at offset 0x1C00000.