beautypg.com

Altera Nios II Embedded Evaluation Kit Cyclone III Edition User Manual

Page 65

background image

B–11

Development Board Version 1.0.

Altera Corporation

Nios II Embedded Evaluation Kit, Cyclone III Edition

July 2010

Modifying the Application Selector

examples/

application_selector/

application_utilities/

app_selector_boot_code/

app_selector_boot_code.s

2.

Edit the line

#define SW_APP_CODE 0x240000

to reflect the flash offset where you would like to put the loadable
application software images. Ensure that there is enough space
allocated at that offset to hold your application software images.

3.

In a text editor, open the file:

examples/

application_selector/

software_examples/

app/

application_selector/

src/

app_selector.h

4.

Edit the line

#define AS_SW_IMAGE_OFFSET 0x240000

to reflect the flash offset where you would like to put the loadable
application software images. Ensure that there is enough space
allocated at that offset to hold your application software images.

1

You will need to rebuild both the boot code and the
application selector utility for these changes to take effect.

Flash Catalog

The flash catalog can be relocated in flash and size-adjusted by
performing the following steps.

1.

In a text editor, open the file: