Application selector hardware image, Application hardware images, Application selector software image – Altera Embedded Systems Development Kit, Cyclone III Edition User Manual

Page 54: Application software image

Advertising
background image

Altera Corporation

Development Board Version 1.0.

8–6

July 2010

Altera Embedded Systems Development Kit, Cyclone III Edition

Application Selector Details

Application Selector Hardware Image

One of the flash layout restrictions with the Application Selector is that
the Application Selector hardware image itself must reside at byte offset
0x2000000

in flash. It cannot be changed. This is because the MAXII

configuration controller always loads its factory image from offset
0x2000000

.

Application Hardware Images

The section of flash which is used to hold and cache loadable application
hardware images can be adjusted. The adjustments can be made by
editing the file:
altera

/80/kits/cycloneIII_3C120_embeddedl/examples/

application_selector/software_examples/app/
application_selector/src/app_selector.h

Edit the lines:

#define AS_APP_HW_IMAGE_OFFSET_START 0x2380000

#define AS_APP_HW_IMAGE_OFFSET_END 0x3BFFFFF

to reflect what section of flash you would like to use to hold and cache
application hardware images. Note that one hardware image consumes
approx 0x380000 bytes (28 flash sectors), so ensure that
AS_HW_IMAGE_OFFSET_END -AS_HW_IMAGE_OFFSET_START is
always greater than or equal to 0x380000. The Application Selector will
cache as many images in this section as it is able to fit. For instance, the
default section is 0x1880000 bytes in size (196 flash sectors), so it is able to
cache up to 7 loadable application hardware images.

Application Selector Software Image

The default location of the Application Selector software image is flash
offset 0x100000. This is necessary because flash offset 0x100000 is the reset
address of the Nios II CPU in the Application Selector hardware image.
It’s recommended that you do not change the location of the Application
Selector software image because it also requires changing the reset vector
of the Nios II CPU in the Application Selector hardware image, and
recompiling that design in Quartus II.

Application Software Image

The application software image can be relocated in flash by performing
the following steps:

Advertising