User guide
26 Altera Corporation
EPXA1 Development Kit Getting Started User Guide Getting Started
– Optimization: High
– Goal: Minimize size
– Additional include directories: type .,..\common
– Generate debug information: turn off
6. Choose the Assembler from the Software Build Settings list and
specify the following:
– Additional include directories: type .
– Generate debug information: turn off
– Keep local symbols in symbol table: turn off
7. Choose the Linker from the Software Build Settings list and specify
the following:
–Under Link type: select Simple
– Entry symbol name/address: turn on and type 0
– Read-only base address: turn on and type 0
– Read/write base address: turn on and type 0x20000
– Command-line options: add
-first armc_startup.o(init)
8. Click Apply and OK.
9. Choose Start Software Build (Processing menu) to build the
software program and create a flash programming file.
1 As an alternative to using the Quartus II software to build the
software application, you can run the provided makefile by
typing make release↵ at a DOS prompt in the ads directory.
Configure the
Development
Board
The EPXA1 device can be configured by a variety of different methods.
The configuration process involves setting up the embedded stripe
registers and the on-chip SRAM in order to boot, in addition to initializing
the PLD array. The processor boots from address 0H; there are two ways
to make code available at this address: boot-from- passive-serial or boot-
from-flash.
Boot-from-Passive-Serial Mode
The BOOT_FLASH pin is tied high on the EPXA1 development board, but
boot_from_serial configuration is still possible using the Quartus II
programmer. This is because JTAG configuration overrides other modes
of configuration. For information on configuring the EPXA1 device using
the Quartus II programmer, see the Quartus II on-line help.